[Openmp-commits] [PATCH] D140419: [OpenMP] Disable libomptarget integration on unsupported platforms
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Dec 20 10:50:20 PST 2022
jhuber6 added inline comments.
================
Comment at: openmp/runtime/src/kmp_config.h.cmake:97
#define KMP_HAVE__ALIGNED_MALLOC LIBOMP_HAVE__ALIGNED_MALLOC
+#cmakedefine01 OPENMP_ENABLE_LIBOMPTARGET
+#define ENABLE_LIBOMPTARGET OPENMP_ENABLE_LIBOMPTARGET
----------------
Is this enough? We need to check the target OS, because even if the user builds on MacOS with `libomptarget` it won't always be included like if the user just passed `-fopenmp`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140419/new/
https://reviews.llvm.org/D140419
More information about the Openmp-commits
mailing list