[mlpack-git] [mlpack/mlpack] `target_compile_features` from NewCXX11.cmake produce an error with LLVM's clang (#796)
Ivan Georgiev
notifications at github.com
Wed Oct 5 08:57:41 EDT 2016
Trying to build mlpack with OpenMP support on MacOS X (10.11.6) led me to using [llvm](http://www.llvm.org)'s clang (installed via [Homebrew](http://brew.sh) ). With appropriate `cmake` command that almost worked:
```
LDFLAGS=-L/usr/local/opt/llvm/lib CFLAGS=-I/usr/local/opt/llvm/include CPPFLAGS=-I/usr/local/opt/llvm/include\ -std=c++0x cmake -D CMAKE_C_COMPILER=clang-omp -D CMAKE_CXX_COMPILER=clang-omp++ ../
```
(`clang-omp` and `clang-omp++` are symlinks to llvm's binaries).
However, there was an error referring to `target_compile_features` directive in `CMake/NewCXX11.cmake` file:
```
CMake Error at CMake/NewCXX11.cmake:4 (target_compile_features):
target_compile_features no known features for CXX compiler
"Clang"
version 3.8.1.
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20161005/b556e239/attachment.html>
More information about the mlpack-git
mailing list