Changes in directory llvm-test/SingleSource/UnitTests/Integer:

Makefile added (r1.1)
---
Log message:

Makefile for the integer tests. We need to have a special Makefile here
because the targets don't support code gen of arbitrary precision integers.
This makefile disables LLC and JIT. CBE will be improved to work with
arbitrary precision integers. Also, we need to "fake" the native gcc
output to match what is expected since native gcc doesn't support the
bitwidth attribute.


---
Diffs of the changes:  (+23 -0)

 Makefile |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+)


Index: llvm-test/SingleSource/UnitTests/Integer/Makefile
diff -c /dev/null llvm-test/SingleSource/UnitTests/Integer/Makefile:1.1
*** /dev/null   Tue Jan 16 14:03:13 2007
--- llvm-test/SingleSource/UnitTests/Integer/Makefile   Tue Jan 16 14:03:03 2007
***************
*** 0 ****
--- 1,23 ----
+ # SingleSource/UnitTests/Integer/Makefile
+ LEVEL = ../../..
+ 
+ # You can use this seed value to get a different test
+ # each day, but don't forget to 'make clean' To use it,
+ # change RUN_OPTIONS (below) to be $(SEED)
+ SEED := $(shell date +%j)
+ 
+ # Use a consistent seed value for the tests so they produce
+ # the same results regardless of whether you make clean or not.
+ RUN_OPTIONS := 31415926
+ 
+ # None of these test cases can use a native code generator because
+ # those targets are not set up to deal with arbitrary precision
+ # integer types. Consequently, we must disable the LLI, LLC, 
+ # LLC-BETA, and JIT test cases. This leaves the CBE which can
+ # handle the arbitrary precision integers.
+ #
+ DISABLE_LLC := 1
+ DISABLE_JIT := 1
+ 
+ include $(LEVEL)/Makefile.config
+ include $(LEVEL)/SingleSource/Makefile.singlesrc



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to