mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
[Libomptarget][remote] Add OpenMP linker flag to the plugin
The remote offloading server and plugin rely on OpenMP, so this needs to be added as a linker flag. Without this, applications segfault. Differential Revision: https://reviews.llvm.org/D124200
This commit is contained in:
parent
5c3a68d1e2
commit
c44420e90d
@ -28,4 +28,5 @@ target_link_libraries(openmp-offloading-server
|
||||
protobuf
|
||||
absl::synchronization
|
||||
${OPENMP_PTHREAD_LIB}
|
||||
omp
|
||||
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../../exports")
|
||||
|
@ -36,6 +36,7 @@ target_link_libraries(omptarget.rtl.rpc
|
||||
protobuf
|
||||
absl::synchronization
|
||||
${OPENMP_PTHREAD_LIB}
|
||||
omp
|
||||
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../../exports")
|
||||
|
||||
# Report to the parent scope that we are building a plugin for RPC.
|
||||
|
Loading…
Reference in New Issue
Block a user