mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix: link runtime lib with dfruntime
there is no symbol referenced in the runtime lib that is in dfruntime, but it is needed during execution when code gets generated using dfruntime functions
This commit is contained in:
@@ -10,10 +10,20 @@ if(CONCRETELANG_PARALLEL_EXECUTION_ENABLED)
|
||||
install(TARGETS DFRuntime EXPORT DFRuntime)
|
||||
install(EXPORT DFRuntime DESTINATION "./")
|
||||
|
||||
target_link_libraries(ConcretelangRuntime Concrete pthread m dl HPX::hpx $<TARGET_OBJECTS:mlir_c_runner_utils>)
|
||||
|
||||
target_link_libraries(ConcretelangRuntime
|
||||
Concrete
|
||||
pthread
|
||||
m
|
||||
dl
|
||||
$<TARGET_OBJECTS:mlir_c_runner_utils>
|
||||
-Wl,--no-as-needed
|
||||
DFRuntime
|
||||
omp
|
||||
)
|
||||
else()
|
||||
target_link_libraries(ConcretelangRuntime Concrete pthread m dl $<TARGET_OBJECTS:mlir_c_runner_utils>)
|
||||
endif()
|
||||
|
||||
install(TARGETS ConcretelangRuntime EXPORT ConcretelangRuntime)
|
||||
install(TARGETS ConcretelangRuntime omp EXPORT ConcretelangRuntime)
|
||||
install(EXPORT ConcretelangRuntime DESTINATION "./")
|
||||
|
||||
@@ -17,7 +17,6 @@ target_link_libraries(
|
||||
support_unit_test
|
||||
gtest_main
|
||||
ConcretelangClientLib
|
||||
ConcretelangSupport
|
||||
)
|
||||
|
||||
include(GoogleTest)
|
||||
|
||||
Reference in New Issue
Block a user