Open barracuda156 opened 1 year ago
P. S. Clang will likely need -lomp
in ldflags in addition to -fopenmp
; with GCC it should not be used (otherwise build will be broken, since libomp
is LLVM-specific library).
Hmm, I don't quite remember how did I end up with the current Makevars/configure, which I haven't changed in ages, did the old Makevars work earlier?
@helske Turned out, OpenMP detection does not work, at least in 1.4.3:
Build is fine, but OpenMP is not used, despite being, obviously, supported by GCC.
Makevars
are written like:And then
SHLIB_OPENMP_CFLAGS
are undefined. Should be-fopenmp
there instead for it to work.