[llvm-bugs] [Bug 35912] New: Warning on CMake "cant' specify libc++ with '-stdlib='"
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 11 09:45:12 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35912
Bug ID: 35912
Summary: Warning on CMake "cant' specify libc++ with
'-stdlib='"
Product: clang
Version: trunk
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: macdo226 at msu.edu
CC: llvm-bugs at lists.llvm.org
When trying to run CMake on the trunk version of llvm, I get the error
Performing Test CXX_SUPPORTS_STDLIB
-- Performing Test CXX_SUPPORTS_STDLIB - Failed
CMake Warning at cmake/modules/HandleLLVMStdlib.cmake:24 (message):
Can't specify libc++ with '-stdlib='
Call Stack (most recent call first):
cmake/config-ix.cmake:16 (include)
CMakeLists.txt:578 (include)
I am using rhel and am following the instructions on this page
http://clang.llvm.org/get_started.html
The previous install had an issue with trying to compile a c++ file that was
using libc++ <atomic> header. so trying to reinstall llvm and clang and adding
in the options in llvm/CMakelists.txt
option(LLVM_ENABLE_CXX1Y "Compile with C++1y enabled." ON)
option(LLVM_ENABLE_CXX1Z "Compile with C++1z enabled." ON)
option(LLVM_ENABLE_LIBCXX "Use libc++ if available." ON)
the warning only appears if the LLVM_ENABLE_LIBCX is turned on.
let me know if i can supply any more information to help
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180111/1874d4c6/attachment.html>
More information about the llvm-bugs
mailing list