[OpenMP] [OMPD] Build gdb-plugin code only when python3 development files are available.
authorVignesh Balasubramanian <Vignesh.Balasubrmanian@amd.com>
Tue, 20 Sep 2022 12:12:26 +0000 (17:42 +0530)
committerVignesh Balasubramanian <Vignesh.Balasubrmanian@amd.com>
Fri, 7 Oct 2022 09:05:56 +0000 (14:35 +0530)
commit97bb709013a2d9a75fccce41175efd4db486ac89
treeda01e13ddd1d8ab9a2b20f71f8286435bad07dc3
parent333246b48ea4a70842e78c977cc92d365720465f
[OpenMP] [OMPD] Build gdb-plugin code only when python3 development files are available.

gdb-plugin code is a interface between gdb, libompd, gdb and libomp.
Python3 development files are required to build this utility.
This patch will disable the plugin code build when python3 dev files
are not available.

Reviewed By: @mgorny, @aaronpuchert
Differential Revision: https://reviews.llvm.org/D134275
openmp/libompd/CMakeLists.txt
openmp/libompd/gdb-plugin/CMakeLists.txt