[Openmp-commits] [openmp] 9ddf38b - [OpenMP] Include the cmake policy file (#186031)
via Openmp-commits
openmp-commits at lists.llvm.org
Thu Mar 12 08:54:17 PDT 2026
Author: Kelvin Li
Date: 2026-03-12T11:54:11-04:00
New Revision: 9ddf38b008c3d87dd5fec47565fcde56180c92f6
URL: https://github.com/llvm/llvm-project/commit/9ddf38b008c3d87dd5fec47565fcde56180c92f6
DIFF: https://github.com/llvm/llvm-project/commit/9ddf38b008c3d87dd5fec47565fcde56180c92f6.diff
LOG: [OpenMP] Include the cmake policy file (#186031)
This patch is to enforce building shared library archive by default on
AIX as described in CMP0182.
Added:
Modified:
openmp/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt
index 94152f98d30f6..7c0d3b222ddc0 100644
--- a/openmp/CMakeLists.txt
+++ b/openmp/CMakeLists.txt
@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.20.0)
set(LLVM_SUBPROJECT_TITLE "OpenMP")
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
+include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
+ NO_POLICY_SCOPE)
# Add path for custom modules
list(INSERT CMAKE_MODULE_PATH 0
More information about the Openmp-commits
mailing list