diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-11 04:15:09 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-11 04:15:09 +0000 |
commit | 07e7a5ec18c097e78899d985390caf2a2f2573cb (patch) | |
tree | 8804659f5afb672a340341d9aa25bb5c5823076a /llvm/projects/Stacker | |
parent | c90a7653689f2796f866147ed52b70b880d3246c (diff) | |
download | bcm5719-llvm-07e7a5ec18c097e78899d985390caf2a2f2573cb.tar.gz bcm5719-llvm-07e7a5ec18c097e78899d985390caf2a2f2573cb.zip |
Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.
llvm-svn: 16276
Diffstat (limited to 'llvm/projects/Stacker')
-rw-r--r-- | llvm/projects/Stacker/test/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/projects/Stacker/test/Makefile b/llvm/projects/Stacker/test/Makefile index f93d211f893..da74872ec2b 100644 --- a/llvm/projects/Stacker/test/Makefile +++ b/llvm/projects/Stacker/test/Makefile @@ -43,13 +43,14 @@ test_each: $(TESTS) @$(ECHO) "Compiling And Optimizing $< to $*.bc" $(VERB)$(STKRC_EXEC) -f -O4 -s 2048 -o $*.bc $(BUILD_SRC_DIR)/$*.st -%.s : %.bc +%.s : %.bc testing.bc @$(ECHO) "Assembling $< to $*.s" - $(VERB)$(LLC) -f -o $*.s $*.bc + $(VERB)$(LLINK) $*.bc testing.bc -o $*.bcl + $(VERB)$(LLC) -f -o $*.s $*.bcl -% : %.s testing.s +% : %.s @$(ECHO) "Linking $*" - $(VERB)$(CC) -ggdb -L$(BUILD_OBJ_ROOT)/lib/$(CONFIGURATION) testing.s -lstkr_runtime -o $* $*.s + $(VERB)$(CC) -ggdb -L$(BUILD_OBJ_ROOT)/lib/$(CONFIGURATION) -lstkr_runtime -o $* $*.s %.ll : %.bc @$(ECHO) "Disassembling $< to $*.ll" |