[Openmp-commits] [openmp] 248342b - [OpenMP][OMPD] Fix compile error when OMPD is not supported

Usman Nadeem via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 21 12:46:14 PDT 2021


Author: Usman Nadeem
Date: 2021-09-21T12:45:15-07:00
New Revision: 248342b7c72916ce95fce91fbf6c40ea5417860c

URL: https://github.com/llvm/llvm-project/commit/248342b7c72916ce95fce91fbf6c40ea5417860c
DIFF: https://github.com/llvm/llvm-project/commit/248342b7c72916ce95fce91fbf6c40ea5417860c.diff

LOG: [OpenMP][OMPD] Fix compile error when OMPD is not supported

Differential Revision: https://reviews.llvm.org/D110120

Change-Id: I9d39dacfab5b7fbab37ee4b4d960d51e0892b24d

Added: 
    

Modified: 
    openmp/runtime/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt
index 7080f92495b8a..44a1095c4ed32 100644
--- a/openmp/runtime/CMakeLists.txt
+++ b/openmp/runtime/CMakeLists.txt
@@ -411,3 +411,4 @@ set(LIBOMP_LIBRARY_DIR ${LIBOMP_LIBRARY_DIR} PARENT_SCOPE)
 set(LIBOMP_INCLUDE_DIR ${LIBOMP_INCLUDE_DIR} PARENT_SCOPE)
 # make these variables available for tools/libompd:
 set(LIBOMP_SRC_DIR ${LIBOMP_SRC_DIR} PARENT_SCOPE)
+set(LIBOMP_OMPD_SUPPORT ${LIBOMP_OMPD_SUPPORT} PARENT_SCOPE)


        


More information about the Openmp-commits mailing list