Files
concrete/compiler/lib/ClientLib/CMakeLists.txt
Quentin Bourgerie 8cd3a3a599 feat(compiler): First draft to support FHE.eint up to 16bits
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
2022-08-12 16:35:11 +02:00

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
)