Skip to content

Commit 59e9ead

Browse files
committed
auto merge of #6713 : alexcrichton/rust/llvm-upgrades, r=catamorphism
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.
2 parents 2f69bb9 + f999b17 commit 59e9ead

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

configure

+1-2
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,7 @@ do
818818

819819
# Disable unused LLVM features
820820
LLVM_OPTS="$LLVM_DBG_OPTS --disable-docs \
821-
--enable-bindings=none --disable-threads \
822-
--disable-pthreads"
821+
--enable-bindings=none"
823822

824823
if [ "$CFG_C_COMPILER" = "clang" ]
825824
then

mk/llvm.mk

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ LLVM_DEPS := $(S)/.gitmodules
1414
else
1515

1616
# This is just a rough approximation of LLVM deps
17-
LLVM_DEPS=$(call rwildcard,$(CFG_LLVM_SRC_DIR),*cpp *hpp)
17+
LLVM_DEPS_SRC=$(call rwildcard,$(CFG_LLVM_SRC_DIR)/src,*cpp *hpp)
18+
LLVM_DEPS_INC=$(call rwildcard,$(CFG_LLVM_SRC_DIR)/include,*cpp *hpp)
19+
LLVM_DEPS=$(LLVM_DEPS_SRC) $(LLVM_DEPS_INC)
1820
endif
1921

2022
define DEF_LLVM_RULES

src/llvm

Submodule llvm updated from 2e9f0d2 to e475c91

0 commit comments

Comments
 (0)