mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
chore(runtime): link concrete statically with runtime lib
This commit is contained in:
committed by
Quentin Bourgerie
parent
de81ac3f3e
commit
8aee5dd5c3
@@ -30,8 +30,8 @@ add_definitions(${LLVM_DEFINITIONS})
|
||||
# Concrete FFI Configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
include_directories(${CONCRETE_FFI_RELEASE})
|
||||
add_library(Concrete SHARED IMPORTED)
|
||||
set_target_properties(Concrete PROPERTIES IMPORTED_LOCATION ${CONCRETE_FFI_RELEASE}/libconcrete_ffi.so )
|
||||
add_library(Concrete STATIC IMPORTED)
|
||||
set_target_properties(Concrete PROPERTIES IMPORTED_LOCATION ${CONCRETE_FFI_RELEASE}/libconcrete_ffi.a )
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Python Configuration
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
add_library(ZamalangRuntime SHARED
|
||||
context.c
|
||||
wrappers.c
|
||||
)
|
||||
)
|
||||
|
||||
target_link_libraries(ZamalangRuntime Concrete)
|
||||
@@ -19,5 +19,5 @@ add_mlir_library(ZamalangSupport
|
||||
MLIRExecutionEngine
|
||||
${LLVM_PTHREAD_LIB}
|
||||
|
||||
Concrete
|
||||
ZamalangRuntime
|
||||
)
|
||||
|
||||
@@ -18,7 +18,7 @@ add_mlir_python_extension(ZamalangBindingsPythonExtension _zamalang
|
||||
LowLFHEDialect
|
||||
MidLFHEDialect
|
||||
HLFHEDialect
|
||||
Concrete
|
||||
ZamalangRuntime
|
||||
)
|
||||
add_dependencies(ZamalangBindingsPython ZamalangBindingsPythonExtension)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user