mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix(cmake): fix cmake dependencies
This commit is contained in:
@@ -23,8 +23,8 @@ add_mlir_library(
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${PROJECT_SOURCE_DIR}/include/concretelang/ClientLib
|
||||
|
||||
LINK_LIBS
|
||||
ConcretelangRuntime
|
||||
ConcretelangSupportLib
|
||||
LINK_LIBS PUBLIC
|
||||
Concrete
|
||||
)
|
||||
|
||||
@@ -10,6 +10,5 @@ add_mlir_library(FHEDialectAnalysis
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
FHEDialect)
|
||||
|
||||
target_link_libraries(FHEDialectAnalysis PUBLIC MLIRIR)
|
||||
FHEDialect
|
||||
)
|
||||
|
||||
@@ -10,6 +10,5 @@ add_mlir_library(FHELinalgDialectTransforms
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
FHELinalgDialect)
|
||||
|
||||
target_link_libraries(FHELinalgDialectTransforms PUBLIC MLIRIR)
|
||||
FHELinalgDialect
|
||||
)
|
||||
|
||||
@@ -13,6 +13,6 @@ add_mlir_library(RTDialectAnalysis
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
RTDialect)
|
||||
RTDialect
|
||||
)
|
||||
|
||||
target_link_libraries(RTDialectAnalysis PUBLIC MLIRIR)
|
||||
|
||||
@@ -21,7 +21,7 @@ add_mlir_library(
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${PROJECT_SOURCE_DIR}/include/concretelang/ServerLib
|
||||
|
||||
LINK_LIBS
|
||||
ConcretelangRuntime
|
||||
ConcretelangSupportLib
|
||||
ConcretelangClientLib
|
||||
)
|
||||
)
|
||||
|
||||
@@ -33,4 +33,5 @@ add_mlir_library(ConcretelangSupport
|
||||
ConcretelangRuntime
|
||||
ConcretelangClientLib
|
||||
ConcretelangServerLib
|
||||
Concrete
|
||||
)
|
||||
|
||||
@@ -9,8 +9,7 @@ add_mlir_library(ConcretelangTransforms
|
||||
mlir-headers
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
MLIRMemRef
|
||||
MLIRTransforms
|
||||
)
|
||||
|
||||
target_link_libraries(FHELinalgDialectTransforms PUBLIC MLIRIR)
|
||||
|
||||
@@ -17,17 +17,8 @@ target_link_libraries(
|
||||
testlib_unit_test
|
||||
ConcretelangRuntime
|
||||
ConcretelangSupport
|
||||
ConcretelangClientLib
|
||||
ConcretelangServerLib
|
||||
gtest_main
|
||||
)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
target_link_libraries(
|
||||
testlib_unit_test
|
||||
Concrete
|
||||
)
|
||||
endif()
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(testlib_unit_test)
|
||||
|
||||
@@ -113,39 +113,6 @@ target_link_libraries(
|
||||
ConcretelangSupport
|
||||
)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
|
||||
target_link_libraries(
|
||||
end_to_end_jit_test
|
||||
Concrete
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
end_to_end_jit_clear_tensor
|
||||
Concrete
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
end_to_end_jit_encrypted_tensor
|
||||
Concrete
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
end_to_end_jit_fhe
|
||||
Concrete
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
end_to_end_jit_fhelinalg
|
||||
Concrete
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
end_to_end_jit_lambda
|
||||
Concrete
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(end_to_end_jit_test)
|
||||
|
||||
Reference in New Issue
Block a user