[llvm-dev] Is it possible to build OpenMP without using /usr/bin/cc ? (this breaks my build)
ardi via llvm-dev
llvm-dev at lists.llvm.org
Sun Apr 10 22:41:27 PDT 2016
On Sun, Apr 10, 2016 at 9:58 AM, ardi <ardillasdelmonte at gmail.com> wrote:
> I'm trying to build clang 3.8.0, with openmp support. When it arrives
> to building the openmp code, it tries to use /usr/bin/cc (why is that
> hardcoded?) and it of course completely breaks my build, as my
> /usr/bin/cc doesn't support C++11, and I'm building the llvm 3.8.0
> tree with my own built clang 3.4.2.
>
> Can I tell llvm 3.8.0 to build openmp support honoring the CXX
> compiler specified in cmake options?
You can ignore this, my build script was wrongly configuring cmake
setting CMAKE_CXX_COMPILER twice instead of setting CMAKE_C_COMPILER
and CMAKE_CXX_COMPILER ("copy 'n' paste 'n' forget"-like typo)
ardi
More information about the llvm-dev
mailing list