From 85a5be33e5e32862bf5496f8e8334c1c6b158177 Mon Sep 17 00:00:00 2001 From: Ron Rock Date: Thu, 24 Jul 2014 18:58:18 +0200 Subject: [PATCH 1/2] Fix doc typo --- doc/manual/packages.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/packages.rst b/doc/manual/packages.rst index 878bcb90b85b3..203098978d561 100644 --- a/doc/manual/packages.rst +++ b/doc/manual/packages.rst @@ -445,7 +445,7 @@ The ``~/.julia/v0.3/REQUIRE`` file and ``REQUIRE`` files inside of packages use Here's how these files are parsed and interpreted. Everything after a ``#`` mark is stripped from each line as a comment. If nothing but whitespace is left, the line is ignored; -if there are non-whitespace characters remaining, the line is a requirement and the is split on whitespace into words. +if there are non-whitespace characters remaining, the line is a requirement and is split on whitespace into words. The simplest possible requirement is just the name of a package name on a line by itself:: Distributions From bf8e1030f5c1e8813022461b91b8bbae77df4154 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Thu, 24 Jul 2014 14:08:57 -0400 Subject: [PATCH 2/2] Add LLDB_DISABLE_PYTHON flag to build lldb without python --- deps/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/deps/Makefile b/deps/Makefile index 046ac21385e34..6ffc974a6296a 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -210,11 +210,12 @@ LLVM_LIBCXX_TAR= endif endif +LLVM_CXXFLAGS = LLVM_TARGET_FLAGS= --enable-targets=host LLVM_FLAGS += --disable-profiling --enable-shared --enable-static $(LLVM_TARGET_FLAGS) --disable-bindings --disable-docs LLVM_MFLAGS = ifeq ($(LLVM_ASSERTIONS), 1) -LLVM_FLAGS += --enable-assertions +LLVM_FLAGS += --enable-assertions ifeq ($(OS), WINNT) LLVM_FLAGS += --disable-embed-stdcxx endif @@ -246,23 +247,31 @@ ifeq ($(BUILD_LLDB),1) ifeq ($(USECLANG),1) LLVM_FLAGS += --enable-cxx11 else -LLVM_MFLAGS += CXXFLAGS=-std=c++0x +LLVM_CXXFLAGS += -std=c++0x +endif +ifeq ($(LLDB_DISABLE_PYTHON),1) +LLVM_CXXFLAGS += -DLLDB_DISABLE_PYTHON endif endif ifeq ($(ARCH), ppc64) - LLVM_FLAGS += CXXFLAGS=-mminimal-toc - LLVM_MFLAGS += CXXFLAGS=-mminimal-toc +LLVM_CXXFLAGS += -mminimal-toc endif ifeq ($(LLVM_SANITIZE),1) -LLVM_CC = CXXFLAGS="-fsanitize=address" CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" +LLVM_CC = CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" +LLVM_CXXFLAGS += -fsanitize=address LLVM_MFLAGS += TOOL_NO_EXPORTS= HAVE_LINK_VERSION_SCRIPT=0 else LLVM_CC = endif +ifneq ($(LLVM_CXXFLAGS),) +LLVM_FLAGS += CXXFLAGS="$(LLVM_CXXFLAGS)" +LLVM_MFLAGS += CXXFLAGS="$(LLVM_CXXFLAGS)" +endif + ifneq ($(LLVM_CLANG_TAR),) $(LLVM_CLANG_TAR): $(JLDOWNLOAD) $@ http://llvm.org/releases/$(LLVM_VER)/$@