mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
For now what it works are only levelled ops with user parameters. (take a look to the tests) Done: - Add parameters to the fhe parameters to support CRT-based large integers - Add command line options and tests options to allows the user to give those new parameters - Update the dialects and pipeline to handle new fhe parameters for CRT-based large integers - Update the client parameters and the client library to handle the CRT-based large integers Todo: - Plug the optimizer to compute the CRT-based large interger parameters - Plug the pbs for the CRT-based large integer
30 lines
680 B
CMake
30 lines
680 B
CMake
add_compile_options(-Werror)
|
|
|
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
# using Clang
|
|
add_compile_options(-Wno-error=pessimizing-move -Wno-pessimizing-move)
|
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
# using GCC
|
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.0)
|
|
add_compile_options(-Werror -Wno-error=pessimizing-move -Wno-pessimizing-move)
|
|
endif()
|
|
endif()
|
|
|
|
add_mlir_library(
|
|
ConcretelangClientLib
|
|
ClientLambda.cpp
|
|
ClientParameters.cpp
|
|
CRT.cpp
|
|
EncryptedArguments.cpp
|
|
KeySet.cpp
|
|
KeySetCache.cpp
|
|
PublicArguments.cpp
|
|
Serializers.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/concretelang/ClientLib
|
|
|
|
LINK_LIBS PUBLIC
|
|
Concrete
|
|
)
|