Skip to content
Snippets Groups Projects
Commit eda39680 authored by Raphaël Rieu-Helft's avatar Raphaël Rieu-Helft
Browse files

Clean up archive

parent 995bd9e5
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@
/bench/encoding/ export-ignore
/examples/in_progress/ export-ignore
/examples/multiprecision/random/ export-ignore
/examples/multiprecision/bench-include/ export-ignore
/examples/multiprecision/mini-gmp/ export-ignore
/misc/ export-ignore
/opam/ export-ignore
/tests/ export-ignore
......
......@@ -252,7 +252,6 @@ module mach.int.UInt64GMP
prelude
"
#include \"config.h\"
#include \"gmp.h\"
#include \"gmp-impl.h\"
#include \"longlong.h\"
......@@ -372,7 +371,6 @@ struct __lsld64_result lsld64(uint64_t x, uint64_t cnt)
interface
"
#include \"config.h\"
#include \"gmp.h\"
#include \"gmp-impl.h\"
#include \"longlong.h\"
......
......@@ -29,13 +29,13 @@ extract: why3 dir cfiles
CFILES = build/uint64gmp.c build/div.c build/logical.c build/mul.c build/sub.c build/add.c build/compare.c build/util.c build/int32.c
tests: extract check-gmp
gcc -O2 -Wall -Wno-unused-function -g -std=gnu99 tests.c $(CFILES) -I$(GMP_DIR) -L$(GMP_LIB) -fomit-frame-pointer -mtune=haswell -march=haswell -fno-tree-vectorize -lgmp -o build/tests
gcc -O2 -Wall -Wno-unused-function -g -std=gnu99 -DCOMPARE_MINI tests.c $(CFILES) -I$(GMP_DIR) -fomit-frame-pointer -mtune=haswell -march=haswell -fno-tree-vectorize -o build/minitests
gcc -O2 -Wall -Wno-unused-function -g -std=gnu99 tests.c $(CFILES) -I$(GMP_DIR) -Irandom -L$(GMP_LIB) -fomit-frame-pointer -mtune=haswell -march=haswell -fno-tree-vectorize -lgmp -o build/tests
gcc -O2 -Wall -Wno-unused-function -g -std=gnu99 -DCOMPARE_MINI tests.c $(CFILES) -I$(GMP_DIR) -Irandom -Imini-gmp -fomit-frame-pointer -mtune=haswell -march=haswell -fno-tree-vectorize -o build/minitests
./build/tests
./build/minitests
bench-tests: extract
gcc -O2 -Wall -g -std=gnu99 tests.c $(CFILES) -Ibench-include -fomit-frame-pointer -fno-tree-vectorize -lgmp -o build/bench-tests
gcc -O2 -Wall -g -std=gnu99 tests.c $(CFILES) -Ibench-include -Irandom -fomit-frame-pointer -fno-tree-vectorize -lgmp -o build/bench-tests
build/why3%bench: extract check-gmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment