[Openmp-commits] [PATCH] D134275: [OpenMP] [OMPD] Build gdb-plugin code only when python3 development files are available.
Aaron Puchert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Oct 4 12:40:52 PDT 2022
aaronpuchert accepted this revision.
aaronpuchert added a comment.
This revision is now accepted and ready to land.
Perhaps wait for @mgorny before you submit. Just a minor suggestion from me how you could simplify this.
================
Comment at: openmp/libompd/CMakeLists.txt:11-16
+option(LIBOMP_OMPD_GDB_SUPPORT "Build gdb-plugin code that enables OMPD support in GDB." OFF)
+
+find_package (Python3 COMPONENTS Interpreter Development)
+if (Python3_FOUND)
+ set(LIBOMP_OMPD_GDB_SUPPORT ON)
+endif()
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134275/new/
https://reviews.llvm.org/D134275
More information about the Openmp-commits
mailing list