Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ed85d363 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'disable-mpi-example-no-prec-d' into 'master'

Do not build example/mpi if CHAMELEON_PREC_D is OFF

See merge request !537
parents 0752cdf6 2f97886f
No related branches found
No related tags found
1 merge request!537Do not build example/mpi if CHAMELEON_PREC_D is OFF
...@@ -28,16 +28,17 @@ endif() ...@@ -28,16 +28,17 @@ endif()
if (CHAMELEON_PREC_D) if (CHAMELEON_PREC_D)
add_subdirectory(lapack_to_chameleon) add_subdirectory(lapack_to_chameleon)
if(CHAMELEON_USE_MPI AND MPI_C_FOUND AND CHAMELEON_SCHED_STARPU)
add_subdirectory(mpi)
endif()
else() else()
message(WARNING "CHAMELEON_PREC_D is set to OFF so that lapack_to_chameleon " message(WARNING "CHAMELEON_PREC_D is set to OFF so that lapack_to_chameleon, "
"and out_core tutorials cannot be built (use only double arithmetic " "out_core and mpi tutorials cannot be built (use only double arithmetic "
"precision).\n Please set CHAMELEON_PREC_D to ON if you want to build " "precision).\n Please set CHAMELEON_PREC_D to ON if you want to build "
"executables of this tutorial.") "executables of these tutorials.")
endif() endif()
if(CHAMELEON_USE_MPI AND MPI_C_FOUND AND CHAMELEON_SCHED_STARPU)
add_subdirectory(mpi)
endif()
### ###
### END CMakeLists.txt ### END CMakeLists.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment