Commit 7c9b10a6 authored by dbarbera's avatar dbarbera
Browse files

Added llvm generation rule

parent 049ec699
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda og.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm og.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda challenge.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm challenge.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......@@ -13,7 +15,6 @@ compile: generate-code
./testcase > result
diff result expected && echo 'All OK!'
parse:
../../../opengeode.py challenge.pr system_structure.pr --check
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda og.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm og.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......@@ -12,7 +14,6 @@ compile: generate-code
gnatlink -o testcase test.o og.ali -lgnat
./testcase > result
diff result expected && echo 'All OK!'
parse:
../../../opengeode.py og.pr system_structure.pr --check
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda trafficlight.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm trafficlight.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......@@ -11,7 +13,6 @@ compile: generate-code
gnatbind -n trafficlight.ali
#gnatlink -o testcase test.o trafficlight.ali -lgnat -lm
parse:
../../../opengeode.py trafficlight.pr system_structure.pr --check
......
......@@ -3,6 +3,9 @@ all: compile
generate-ada:
../../../opengeode.py basic.pr system_structure.pr --check --toAda
generate-llvm:
../../../opengeode.py basic.pr system_structure.pr --check --llvm
compile-ada: generate-ada
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
gnatmake -c *.adb
......@@ -11,9 +14,6 @@ compile-ada: generate-ada
gnatlink -o testcase test.o basic.ali -lgnat -lm
./testcase && echo 'All OK!'
generate-llvm:
../../../opengeode.py basic.pr system_structure.pr --check --llvm
parse:
../../../opengeode.py basic.pr system_structure.pr --check
......
......@@ -3,6 +3,9 @@ all: compile
generate-code:
../../../opengeode.py --toAda orchestrator.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm orchestrator.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
gnatmake -c orchestrator.adb && echo 'All OK!'
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda fce.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm fce.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda orchestrator.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm orchestrator.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda function0.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm function0.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda myfunction.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm myfunction.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda orchestrator.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm orchestrator.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda orchestrator.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm orchestrator.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
......@@ -3,6 +3,8 @@ all: compile
generate-code:
../../../opengeode.py --toAda challenge.pr system_structure.pr
generate-llvm:
../../../opengeode.py --llvm challenge.pr system_structure.pr
compile: generate-code
asn1.exe -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
......
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