[Openmp-commits] [openmp] 20e0bac - [Libomptarget][Fix] Remove duplicate version script for host builds
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Fri Mar 22 17:09:27 PDT 2024
Author: Joseph Huber
Date: 2024-03-22T19:09:16-05:00
New Revision: 20e0bacd0560382a31ad0d4ecc7472bd4a99c659
URL: https://github.com/llvm/llvm-project/commit/20e0bacd0560382a31ad0d4ecc7472bd4a99c659
DIFF: https://github.com/llvm/llvm-project/commit/20e0bacd0560382a31ad0d4ecc7472bd4a99c659.diff
LOG: [Libomptarget][Fix] Remove duplicate version script for host builds
Summary:
This causes an error on some linkers and was mistakenly kept in.
Added:
Modified:
openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
index d30680e1043167..ccbf7d033fd663 100644
--- a/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
+++ b/openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
@@ -31,11 +31,6 @@ else()
target_include_directories(omptarget.rtl.${machine} PRIVATE dynamic_ffi)
endif()
-if(LIBOMP_HAVE_VERSION_SCRIPT_FLAG)
- target_link_libraries(omptarget.rtl.${machine} PRIVATE
- "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../exports")
-endif()
-
# Install plugin under the lib destination folder.
install(TARGETS omptarget.rtl.${machine}
LIBRARY DESTINATION "${OPENMP_INSTALL_LIBDIR}")
More information about the Openmp-commits
mailing list