[Openmp-commits] [openmp] 3d2aa54 - [OpenMP][NFC] Fix message to recommend C++17 instead of C++14
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Tue Dec 20 11:40:42 PST 2022
Author: Joseph Huber
Date: 2022-12-20T13:39:44-06:00
New Revision: 3d2aa5473ca55d611ed63bd6cc882f26e87eb658
URL: https://github.com/llvm/llvm-project/commit/3d2aa5473ca55d611ed63bd6cc882f26e87eb658
DIFF: https://github.com/llvm/llvm-project/commit/3d2aa5473ca55d611ed63bd6cc882f26e87eb658.diff
LOG: [OpenMP][NFC] Fix message to recommend C++17 instead of C++14
Summary:
This was changed in LLVM 16.0.
Added:
Modified:
openmp/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt
index b6e159cee009..040464763f4d 100644
--- a/openmp/CMakeLists.txt
+++ b/openmp/CMakeLists.txt
@@ -102,7 +102,7 @@ if (OPENMP_ENABLE_LIBOMPTARGET)
if (APPLE OR WIN32)
message(FATAL_ERROR "libomptarget cannot be built on Windows and MacOS X!")
elseif (NOT OPENMP_HAVE_STD_CPP17_FLAG)
- message(FATAL_ERROR "Host compiler must support C++14 to build libomptarget!")
+ message(FATAL_ERROR "Host compiler must support C++17 to build libomptarget!")
endif()
add_subdirectory(libomptarget)
More information about the Openmp-commits
mailing list