Does OpenMP (iomp5) work for clang-devel?

Dennis Glatting freebsd at pki2.com
Tue Jul 21 00:49:10 UTC 2015


I can't seem to get this working and it appears not to emit code. I have
libiomp5 installed and I compile specifying:

 clang++-devel -fopenmp=libiomp5 ...

And the compiler says:

 clang: warning: argument unused during compilation: '-fopenmp=libiomp5'


Is there a compile-time test involved somewhere, perhaps in llvm build?
Should /usr/local/llvm-devel/lib/ be in /etc/ld.so.conf? (That doesn't
seem to help).






More information about the freebsd-ports mailing list