[llvm-commits] CVS: llvm-test/Makefile.programs
Chris Lattner
lattner at persephone.cs.uiuc.edu
Tue Jul 26 23:23:40 PDT 2005
Changes in directory llvm-test:
Makefile.programs updated: 1.157 -> 1.158
---
Log message:
On darwin, pass a special flag to make the assembler happy with G5-specific
instructions
---
Diffs of the changes: (+6 -6)
Makefile.programs | 12 ++++++------
1 files changed, 6 insertions, 6 deletions
Index: llvm-test/Makefile.programs
diff -u llvm-test/Makefile.programs:1.157 llvm-test/Makefile.programs:1.158
--- llvm-test/Makefile.programs:1.157 Wed Jul 20 17:43:51 2005
+++ llvm-test/Makefile.programs Wed Jul 27 01:23:17 2005
@@ -285,20 +285,20 @@
Output/%.llc-beta.s: Output/%.llvm.bc $(LLC)
-$(LLC) $(LLCFLAGS) -f $(LLCBETAOPTION) $< -o $@
+# On darwin, pass -force_cpusubtype_ALL to allow all ppc instructions.
+ifeq ($(ARCH),PowerPC)
+LLCASSEMBLERFLAGS = -force_cpusubtype_ALL
+endif
-## Alternative command to run llc remotely on another machine:
-## This is very useful when debugging:
-## -rsh psmith "cd `/bin/pwd`; llc $(LLCFLAGS) -f $< -o $@"
-
# Assemble (and link) an LLVM-linked program using the system assembler...
#
$(PROGRAMS_TO_TEST:%=Output/%.llc): \
Output/%.llc: Output/%.llc.s
- -$(CC) $(CFLAGS) $< $(LLCLIBS) $(LDFLAGS) -o $@
+ -$(CC) $(CFLAGS) $< $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(LDFLAGS) -o $@
$(PROGRAMS_TO_TEST:%=Output/%.llc-beta): \
Output/%.llc-beta: Output/%.llc-beta.s
- -$(CC) $(CFLAGS) $< $(LLCLIBS) $(LDFLAGS) -o $@
+ -$(CC) $(CFLAGS) $< $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(LDFLAGS) -o $@
#
More information about the llvm-commits
mailing list