File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -371,6 +371,9 @@ DRIVER_CRATE := $(S)src/driver/driver.rs
371
371
LLVM_COMPONENTS =x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \
372
372
interpreter instrumentation
373
373
374
+ # Only build these LLVM tools
375
+ LLVM_TOOLS =bugpoint llc llvm-ar llvm-as llvm-dis llvm-mc opt
376
+
374
377
define DEF_LLVM_VARS
375
378
# The configure script defines these variables with the target triples
376
379
# separated by Z. This defines new ones with the expected format.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ LLVM_STAMP_$(1) = $$(CFG_LLVM_BUILD_DIR_$(1))/llvm-auto-clean-stamp
28
28
29
29
$$(LLVM_CONFIG_$(1 ) ) : $$(LLVM_DEPS ) $$(LLVM_STAMP_$(1 ) )
30
30
@$$(call E, make: llvm)
31
- $$(Q )$$(MAKE ) -C $$(CFG_LLVM_BUILD_DIR_$(1 ) ) $$(CFG_LLVM_BUILD_ENV_$(1 ) )
31
+ $$(Q )$$(MAKE ) -C $$(CFG_LLVM_BUILD_DIR_$(1 ) ) $$(CFG_LLVM_BUILD_ENV_$(1 ) ) ONLY_TOOLS= " $$ (LLVM_TOOLS) "
32
32
$$(Q ) touch $$(LLVM_CONFIG_$(1 ) )
33
33
endif
34
34
You can’t perform that action at this time.
0 commit comments