[all-commits] [llvm/llvm-project] 700aeb: [libc] Set default CXX_STANDARD to C++17 and let t...
lntue via All-commits
all-commits at lists.llvm.org
Fri Feb 4 07:00:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 700aebaf745f8b0a7c514ca452de1f60779816a1
https://github.com/llvm/llvm-project/commit/700aebaf745f8b0a7c514ca452de1f60779816a1
Author: Tue Ly <lntue at google.com>
Date: 2022-02-04 (Fri, 04 Feb 2022)
Changed paths:
M libc/CMakeLists.txt
M libc/cmake/modules/LLVMLibCObjectRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/logf.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/differential_testing/CMakeLists.txt
M libc/utils/MPFRWrapper/CMakeLists.txt
Log Message:
-----------
[libc] Set default CXX_STANDARD to C++17 and let targets set their own standard if needed.
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.
Reviewed By: gchatelet
Differential Revision: https://reviews.llvm.org/D118871
More information about the All-commits
mailing list