[Openmp-commits] [PATCH] D104710: [OpenMP] Introduce an CMake find module for OpenMP Target support
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jun 22 10:08:09 PDT 2021
tianshilei1992 added inline comments.
================
Comment at: openmp/tools/Modules/FindOpenMPTarget.cmake:87
+cmake_policy(PUSH)
+cmake_policy(VERSION 3.17)
+
----------------
jhuber6 wrote:
> tianshilei1992 wrote:
> > Not sure if it is too strict. LLVM and OpenMP both require CMake 3.13.4 and above.
> I think the only things preventing me from using 3.13.4 is that the OpenMP module doesn't seem to return the version correctly, and it doesn't support the "NAME_MISMATCHED" which means that newer CMake will emit a warning for finding a package with a different name than the one specified.
The feature is good for sure, but since we require only 3.13+ to build OpenMP, I think it's better to keep it consistent; otherwise it might be confusing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104710/new/
https://reviews.llvm.org/D104710
More information about the Openmp-commits
mailing list