Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JuliaLang/julia
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jul 24, 2014
2 parents 37ef7dc + bf8e103 commit 6ef658a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)/$@
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ef658a

Please sign in to comment.