I'm trying to build Crypto++ on OpenBSD 5.7 x86_64 with OpenMP support. The compile is failing with the error message:
g++ -DDEBUG -g3 -Os -fPIC -fopenmp -march=native -DCRYPTOPP_DISABLE_SSS3 -c nbtheory.cpp nbtheory.cpp: error: omp.h: No such file or directory
OpenBSD's compiler clearly supports the -fopenmp
option (another 150 files compile OK with the flag), so I'm not sure what I should do.
I have the OpenSBD sources and ports installed, but I'm not able to find the header:
$ find / -name omp.h 2>/dev/null
$
I tried Googling, but it turned up a bunch of evasive answers about OpenMP support. See, for example, OpenMP with gcc4?.
Do I need to install it from somewhere? Or does OpenBSD just not support it?
If I need to compile/install the library proper from somewhere, where do I find it?