[libc-commits] [PATCH] D118871: [libc] Properly setting -std=c++17 for targets that requires C++17.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Feb 2 21:07:46 PST 2022
lntue created this revision.
lntue added reviewers: michaelrj, sivachandra.
Herald added subscribers: ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
lntue requested review of this revision.
CMAKE_CXX_STANDARD 14 is set in the llvm-project/llvm folder overriding all COMPILE_OPTIONS -std=c++17. We need to override the CXX_STANDARD property of the target in order to set the correct C++ standard flags.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118871
Files:
libc/cmake/modules/LLVMLibCObjectRules.cmake
libc/cmake/modules/LLVMLibCTestRules.cmake
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/logf.cpp
libc/test/src/math/CMakeLists.txt
libc/test/src/math/differential_testing/CMakeLists.txt
libc/utils/MPFRWrapper/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118871.405518.patch
Type: text/x-patch
Size: 8699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220203/5e46a50b/attachment.bin>
More information about the libc-commits
mailing list