Commit 86794e45 authored by dbarbera's avatar dbarbera
Browse files

Use gcc instead of clang

parent b9696115
......@@ -20,10 +20,10 @@ test-llvm:
../../../opengeode.py controlflow.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc controlflow.ll
clang -c controlflow.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang controlflow.o dataview-uniq.o test_llvm.o -o testcase
gcc -c controlflow.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc controlflow.o dataview-uniq.o test_llvm.o -o testcase
./testcase | diff expected -
clean:
......
......@@ -19,10 +19,10 @@ test-llvm:
../../../opengeode.py challenge.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc challenge.ll
clang -c challenge.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang challenge.o dataview-uniq.o test_llvm.o -o testcase -lm
gcc -c challenge.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc challenge.o dataview-uniq.o test_llvm.o -o testcase -lm
./testcase | diff expected -
coverage:
......
......@@ -20,10 +20,10 @@ test-llvm:
../../../opengeode.py expressions.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc expressions.ll
clang -c expressions.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang expressions.o dataview-uniq.o test_llvm.o -o testcase
gcc -c expressions.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc expressions.o dataview-uniq.o test_llvm.o -o testcase
./testcase
clean:
......
......@@ -23,10 +23,10 @@ test-llvm:
../../../opengeode.py myfunction.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -equal -typePrefix asn1Scc
llc myfunction.ll
clang -c myfunction.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang myfunction.o dataview-uniq.o test_llvm.o -o testcase
gcc -c myfunction.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc myfunction.o dataview-uniq.o test_llvm.o -o testcase
./testcase | diff expected -
coverage:
......
......@@ -19,10 +19,10 @@ test-llvm:
../../../opengeode.py challenge.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc challenge.ll
clang -c challenge.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang challenge.o dataview-uniq.o test_llvm.o -o testcase -lm
gcc -c challenge.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc challenge.o dataview-uniq.o test_llvm.o -o testcase -lm
./testcase | diff expected -
coverage:
......
......@@ -17,10 +17,10 @@ test-llvm:
../../../opengeode.py myfunction.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc myfunction.ll
clang -c myfunction.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang myfunction.o dataview-uniq.o test_llvm.o -o testcase
gcc -c myfunction.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc myfunction.o dataview-uniq.o test_llvm.o -o testcase
./testcase | diff expected -
coverage:
......
......@@ -20,10 +20,10 @@ test-llvm:
../../../opengeode.py orchestrator.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc orchestrator.ll
clang -c orchestrator.s
clang -c dataview-uniq.c
clang -c test_llvm.c
clang orchestrator.o dataview-uniq.o test_llvm.o -o testcase -lm
gcc -c orchestrator.s
gcc -c dataview-uniq.c
gcc -c test_llvm.c
gcc orchestrator.o dataview-uniq.o test_llvm.o -o testcase -lm
./testcase | diff expected -
coverage:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment