Hi Everyone,
In case you are still seeking feedback
(Clang 3.7 Release Notes — Clang 3.7 documentation)
:
CXX=clang++ CXXFLAGS="-DNDEBUG -g2 -O3 -fopenmp=libomp" make -j 4
...
clang++ -DNDEBUG -g2 -O3 -fopenmp=libomp -DCRYPTOPP_DISABLE_MIXED_ASM
-fPIC -pthread -pipe -c nbtheory.cpp
nbtheory.cpp:16:11: fatal error: 'omp.h' file not found
# include <omp.h>
^~~~~~~
1 error generated.
make: *** [GNUmakefile:1587: nbtheory.o] Error 1
$ cat nbtheory.cpp
...
#ifdef _OPENMP
# include <omp.h>
#endif
...
Finally,
$ clang++ --version
clang version 6.0.1 (tags/RELEASE_601/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /bin
And:
$ clang++ --version
clang version 6.0.1 (tags/RELEASE_601/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /bin
$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 28 (Twenty Eight)
Release: 28
Codename: TwentyEight
GCC, ICC, MSVC, IBM XLC and SunCC are OK.
Jeff