aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/monniaux/csmith/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile
index 1e4b5e5f..cb5be771 100644
--- a/test/monniaux/csmith/Makefile
+++ b/test/monniaux/csmith/Makefile
@@ -6,7 +6,7 @@ INCLUDES=-I csmith/include/csmith-2.3.0/
TARGET_CCOMP=../../../ccomp
ifndef TARGET_CC
-TARGET_CC=gcc
+TARGET_CC=gcc # kvx-cos-gcc
endif
ifndef EXECUTE
@@ -23,7 +23,7 @@ CSMITHOPT=--max-funcs 10 --no-packed-struct
MAX=500
PREFIX=ran%06.f
-CCOMPOTS=-static
+# CCOMPOPTS=-Wl,--defsym=USER_STACK_SIZE=0x80000
CCOMPFLAGS+= -fstruct-passing -fbitfields -fno-cse2 -fno-cse -fno-cse3 -stdlib ../../../runtime
TESTS_C=$(shell seq --format $(PREFIX)/source.c 1 $(MAX))
@@ -79,10 +79,11 @@ ran%/source.c:
mkdir -p ran$*
$(CSMITH) $(CSMITHOPT) --seed $* --output ran$*/source.c
-ran%/example.target.cmp : ran%/example.gcc.target.out ran%/example.ccomp.target.out
+ran%/example.target.cmp : ran%/example.ccomp.target.out ran%/example.gcc.target.out
cmp $+ > $@
+ cat $<
-ran%/example.host_target.cmp : ran%/example.gcc.host.out ran%/example.ccomp.target.out
+ran%/example.host_target.cmp : ran%/example.ccomp.target.out ran%/example.gcc.host.out
cmp $+ > $@
.PHONY: all clean tests_c tests_c