mwageringel / fgb_sage

A Sage interface for FGb (Gröbner basis computations)
MIT License
30 stars 0 forks source link

macOS: compilation fails with clang and openmp #3

Open mwageringel opened 4 years ago

mwageringel commented 4 years ago

Is it possible to use -fopenmp with clang? Currenty compiling this package fails on macOS:

clang: error: unsupported option '-fopenmp'
slel commented 1 year ago

It seems the Apple-provided clang does not support openmp. A workaround is to install an openmp-enabled clang via Homebrew:

brew install llvm libomp

Related: