[llvm-commits] CVS: llvm/test/Programs/LLVMSource/Makefile

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 1 13:13:26 PDT 2003


Changes in directory llvm/test/Programs/LLVMSource:

Makefile added (r1.1)

---
Log message:

Rules for running .ll programs


---
Diffs of the changes:

Index: llvm/test/Programs/LLVMSource/Makefile
diff -c /dev/null llvm/test/Programs/LLVMSource/Makefile:1.1
*** /dev/null	Tue Jul  1 13:12:06 2003
--- llvm/test/Programs/LLVMSource/Makefile	Tue Jul  1 13:11:55 2003
***************
*** 0 ****
--- 1,27 ----
+ #                  test/Programs/LLVMSource/Makefile
+ #
+ # This directory contains regression tests for LLVM backends written in LLVM
+ # assembly language.
+ #
+ LEVEL = ../../..
+ DISABLE_FOR_LLVM_PROGRAMS := 1
+ PROGRAM_REQUIRED_TO_EXIT_OK := 1
+ PROGRAMS_TO_TEST := $(basename $(wildcard *.ll))
+ include $(LEVEL)/test/Programs/Makefile.programs
+ 
+ LLVM_SOURCE_BYTECODES := $(PROGRAMS_TO_TEST:%=Output/%.llvm.bc)
+ 
+ $(LLVM_SOURCE_BYTECODES): \
+ Output/%.llvm.bc: %.ll $(LAS) Output/.dir
+ 	$(LAS) $< -f -o $@
+ 
+ all:: $(CBEOUTPUT)
+ 
+ ifdef TARGET_HAS_JIT
+ all:: $(JITOUTPUT)
+ endif
+ 
+ ifndef DISABLE_LLC_DIFFS
+ all:: $(LLCOUTPUT)
+ endif
+ 





More information about the llvm-commits mailing list