[Openmp-commits] [PATCH] D134275: [OpenMP] [OMPD] Build gdb-plugin code only when python3 development files are available.
Michał Górny via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Oct 5 22:34:39 PDT 2022
mgorny accepted this revision.
mgorny added inline comments.
================
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()
----------------
aaronpuchert wrote:
>
I think it should be good to go once you implement this suggestion.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134275/new/
https://reviews.llvm.org/D134275
More information about the Openmp-commits
mailing list