bigstatsr icon indicating copy to clipboard operation
bigstatsr copied to clipboard

OpenMP flag is not passed

Open barracuda156 opened this issue 1 year ago • 8 comments

Makevars has $(SHLIB_OPENMP_CXXFLAGS), but it does nothing, apparently because there is no configure to determine correct flags. To make it work, there should be a test for support for OpenMP, conditional on compiler used, and then GCC needs -fopenmp, while Clang also needs -lomp in addition to the former.

barracuda156 avatar Apr 09 '23 00:04 barracuda156