From 372ef708e0282e215af8e83f53108a3cab2bf85b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20Pep=C3=A8=20Sciarria?= Date: Mon, 16 Jun 2025 11:41:39 +0200 Subject: [PATCH] hot fix: now it build cbind with the right source files --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e5e9e8e..a1f0648f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,7 +265,8 @@ else() set(CSERIALMPI "#define PSB_SERIAL_MPI") endif() - +add_compile_options(-O3) +add_compile_options($<$:-frecursive>) if(MPI_FOUND) execute_process(COMMAND ${MPIEXEC} --version @@ -350,7 +351,7 @@ target_link_libraries(amgprec_CPP stdc++ ${MPI_CXX_LIBRARIES}) #TODO check actual libraries needed -add_library(amgprec ${amgprec_source_files} $ $) +add_library(amgprec ${amgprec_source_files} $ $ ) set_target_properties(amgprec PROPERTIES @@ -391,14 +392,14 @@ foreach(path IN LISTS amgcbind_header_C_files) endforeach() -add_library(amgcbind_C OBJECT ${amgprec_source_C_files}) +add_library(amgcbind_C OBJECT ${amgcbind_source_C_files}) target_link_libraries(amgcbind_C #PUBLIC ${LAPACK_LINKER_FLAGS} ${LAPACK_LIBRARIES} ${LAPACK95_LIBRARIES} #PUBLIC ${BLAS_LINKER_FLAGS} ${BLAS_LIBRARIES} ${BLAS95_LIBRARIES} psblas::util psblas::linsolve psblas::prec psblas::ext psblas::cbind psblas::base) #TODO check actual libraries needed -add_library(amgcbind ${amgprec_source_files} $) +add_library(amgcbind ${amgcbind_source_files} $) set_target_properties(amgcbind PROPERTIES