auto merge of #11590 : vadimcn/rust/llvm-tools, r=alexcrichton

Closes #10893 - because we'll no longer build llvm-c-test
This commit is contained in:
bors 2014-01-16 04:31:52 -08:00
commit e6a27424ad
2 changed files with 4 additions and 1 deletions

View File

@ -371,6 +371,9 @@ DRIVER_CRATE := $(S)src/driver/driver.rs
LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \ LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \
interpreter instrumentation interpreter instrumentation
# Only build these LLVM tools
LLVM_TOOLS=bugpoint llc llvm-ar llvm-as llvm-dis llvm-mc opt
define DEF_LLVM_VARS define DEF_LLVM_VARS
# The configure script defines these variables with the target triples # The configure script defines these variables with the target triples
# separated by Z. This defines new ones with the expected format. # separated by Z. This defines new ones with the expected format.

View File

@ -28,7 +28,7 @@ LLVM_STAMP_$(1) = $$(CFG_LLVM_BUILD_DIR_$(1))/llvm-auto-clean-stamp
$$(LLVM_CONFIG_$(1)): $$(LLVM_DEPS) $$(LLVM_STAMP_$(1)) $$(LLVM_CONFIG_$(1)): $$(LLVM_DEPS) $$(LLVM_STAMP_$(1))
@$$(call E, make: llvm) @$$(call E, make: llvm)
$$(Q)$$(MAKE) -C $$(CFG_LLVM_BUILD_DIR_$(1)) $$(CFG_LLVM_BUILD_ENV_$(1)) $$(Q)$$(MAKE) -C $$(CFG_LLVM_BUILD_DIR_$(1)) $$(CFG_LLVM_BUILD_ENV_$(1)) ONLY_TOOLS="$$(LLVM_TOOLS)"
$$(Q)touch $$(LLVM_CONFIG_$(1)) $$(Q)touch $$(LLVM_CONFIG_$(1))
endif endif