-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Build https://travis-ci.org/verifast/vfdeps-win/builds/562820769 fails here:
ocamlmklib -o api/ml/z3ml -I api/ml api/ml/z3native_stubs.o api/ml/z3enums.cmo api/ml/z3native.cmo api/ml/z3.cmo -cclib -lz3 -cclib -fopenmp -cclib -static-libgcc -cclib -static-libstdc++
ocamlfind ocamlopt -package num -I api/ml -o api/ml/z3enums.cmx -c ../src/api/ml/z3enums.ml
ocamlfind ocamlopt -package num -I api/ml -o api/ml/z3native.cmx -c ../src/api/ml/z3native.ml
ocamlfind ocamlopt -package num -I api/ml -o api/ml/z3.cmx -c ../src/api/ml/z3.ml
ocamlmklib -o api/ml/z3ml -I api/ml api/ml/z3native_stubs.o api/ml/z3enums.cmx api/ml/z3native.cmx api/ml/z3.cmx -cclib -lz3 -cclib -fopenmp -cclib -static-libgcc -cclib -static-libstdc++
ocamlfind ocamlopt -package num -linkall -shared -o api/ml/z3ml.cmxs -I . -I api/ml api/ml/z3ml.cmxa
make[1]: Leaving directory '/cygdrive/c/Users/travis/build/verifast/vfdeps-win/z3-Z3-4.8.5/build'
flexlink: unknown option '-fopenmp'.
File "caml_startup", line 1:
Error: Error during linking
make[1]: *** [Makefile:4464: api/ml/z3ml.cmxs] Error 2
I'm guessing that the -cclib -fopenmp
arguments to ocamlmklib
should be -cclib -link -cclib -fopenmp
to ensure the -fopenmp
is passed to the actual linker. Of course, the question is whether the -fopenmp
flag is compatible with Cygwin at all.
Metadata
Metadata
Assignees
Labels
No labels