[Openmp-commits] [openmp] 8a11c55 - Revert "[OpenMP] Make `libomptarget` link against `libomp`"

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Tue May 2 05:36:33 PDT 2023


Author: Shilei Tian
Date: 2023-05-02T08:35:55-04:00
New Revision: 8a11c5522fcedad83531af914d88e0bd4c538890

URL: https://github.com/llvm/llvm-project/commit/8a11c5522fcedad83531af914d88e0bd4c538890
DIFF: https://github.com/llvm/llvm-project/commit/8a11c5522fcedad83531af914d88e0bd4c538890.diff

LOG: Revert "[OpenMP] Make `libomptarget` link against `libomp`"

This reverts commit dc049a4ea681b1d0a4880bae3e19ae0ef40f6e80.

It causes issue of export target.

Added: 
    

Modified: 
    openmp/libomptarget/src/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/src/CMakeLists.txt b/openmp/libomptarget/src/CMakeLists.txt
index ff5d8c4dd5585..ef3a6270b78a5 100644
--- a/openmp/libomptarget/src/CMakeLists.txt
+++ b/openmp/libomptarget/src/CMakeLists.txt
@@ -31,10 +31,6 @@ add_llvm_library(omptarget
   Support
   Object
 
-  LINK_LIBS
-  PUBLIC
-  omp
-
   NO_INSTALL_RPATH
 )
 target_include_directories(omptarget PRIVATE ${LIBOMPTARGET_INCLUDE_DIR})


        


More information about the Openmp-commits mailing list