Skip to content

Commit

Permalink
auto merge of #6713 : alexcrichton/rust/llvm-upgrades, r=catamorphism
Browse files Browse the repository at this point in the history
This includes some of @brson's patches, plus one of mine. A multithreaded-llvm is necessary for running `rusti` tests in parallel, and in general is a good idea for running `rustc` in parallel.
  • Loading branch information
bors committed May 24, 2013
2 parents 2f69bb9 + f999b17 commit 59e9ead
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,7 @@ do

# Disable unused LLVM features
LLVM_OPTS="$LLVM_DBG_OPTS --disable-docs \
--enable-bindings=none --disable-threads \
--disable-pthreads"
--enable-bindings=none"

if [ "$CFG_C_COMPILER" = "clang" ]
then
Expand Down
4 changes: 3 additions & 1 deletion mk/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ LLVM_DEPS := $(S)/.gitmodules
else

# This is just a rough approximation of LLVM deps
LLVM_DEPS=$(call rwildcard,$(CFG_LLVM_SRC_DIR),*cpp *hpp)
LLVM_DEPS_SRC=$(call rwildcard,$(CFG_LLVM_SRC_DIR)/src,*cpp *hpp)
LLVM_DEPS_INC=$(call rwildcard,$(CFG_LLVM_SRC_DIR)/include,*cpp *hpp)
LLVM_DEPS=$(LLVM_DEPS_SRC) $(LLVM_DEPS_INC)
endif

define DEF_LLVM_RULES
Expand Down
2 changes: 1 addition & 1 deletion src/llvm
Submodule llvm updated from 2e9f0d to e475c9

0 comments on commit 59e9ead

Please sign in to comment.