You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a way to use a different gcc, I can remember which flag you need to set, but it would require you to recompile everything- including ocaml-if I recall correctly.
I ran
opam install eigen
on a laptop running Ubuntu. Opam failed with the following error message:The problem appears to be that opam is using x86_64-linux-gnu-gcc to compile the Eigen library. Also, this issue with the
march
value appears to be fixed in gcc-10 and g++-10 (https://stackoverflow.com/questions/64493692/cc1plus-error-bad-value-tigerlake-for-march-switch-compilation-error). I have both installed (/usr/bin/x86_64-linux-gnu-gcc-10) but opam clearly isn't using this.Is there any way to instruct opam to use a different compiler, march flag, etc?
The text was updated successfully, but these errors were encountered: