[PATCH] D60399: [CMake] Replace LLVM_ENABLE_CXX1Y and friends with LLVM_CXX_STD
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 23:25:03 PDT 2019
phosek added a comment.
This broke all our builders that use the LLVM runtimes build with the following error:
-- Performing Test CXX_SUPPORTS_CXX_STD
-- Performing Test CXX_SUPPORTS_CXX_STD - Failed
CMake Error at /b/s/w/ir/k/llvm-project/llvm/cmake/modules/HandleLLVMOptions.cmake:451 (message):
The host compiler does not support '-std='.
Call Stack (most recent call first):
CMakeLists.txt:111 (include)
-- Configuring incomplete, errors occurred!
The full log is here: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket.appspot.com/8916679531057446976/+/steps/clang/0/steps/build/0/stdout
I suspect it's because we include `HandleLLVMOptions` at https://github.com/llvm/llvm-project/blob/master/llvm/runtimes/CMakeLists.txt#L111, but at that point we haven't yet compiled libc++, so any attempt to use is going to fail which is why this check is failing.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60399/new/
https://reviews.llvm.org/D60399
More information about the llvm-commits
mailing list