Skip to content

Commit

Permalink
[Libomptarget][Fix] Remove duplicate version script for host builds
Browse files Browse the repository at this point in the history
Summary:
This causes an error on some linkers and was mistakenly kept in.
  • Loading branch information
jhuber6 committed Mar 23, 2024
1 parent c374788 commit 20e0bac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 20e0bac

Please sign in to comment.