X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4ac44d0117144a8f461c97dd2be47c88780860c9..60b4fdc04b505bd0b4d2a58073407d9d02054dc7:/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt diff --git a/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt b/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt index d75ca355fc..6b23c01b1a 100644 --- a/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/coll/CMakeLists.txt @@ -1,19 +1,17 @@ -if(enable_smpi AND enable_smpi_MPICH3_testsuite) - if(WIN32) - set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h") - else() - set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") - set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpiff") - endif() +if(enable_smpi AND enable_testsuite_smpi_MPICH3) + set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") + set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpiff") + # There are too many warnings with these programs + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-sign-compare") include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi") include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/") foreach(test allgather2 allgather3 allgather_struct allgatherv2 allgatherv3 - allred2 allred3 allred4 allred5 allred6 allredmany alltoall1 + allred2 allred3 allred4 allred5 allred6 allredmany allred_derived allred_float alltoall1 alltoallv0 alltoallv alltoallw1 alltoallw2 alltoallw_zeros bcasttest bcastzerotype coll2 coll3 coll4 coll5 coll6 coll7 coll8 - coll9 coll10 coll11 coll12 coll13 exscan exscan2 gather gather2 + coll9 coll10 coll11 coll12 coll13 exscan exscan2 gather gather2 gatherv gather_big ibarrier longuser nonblocking nonblocking2 nonblocking3 iallred # icallgather icallgatherv icallreduce # icalltoall icalltoallv icalltoallw icbarrier icbcast @@ -96,6 +94,8 @@ set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/allred6.c ${CMAKE_CURRENT_SOURCE_DIR}/allred.c ${CMAKE_CURRENT_SOURCE_DIR}/allredmany.c + ${CMAKE_CURRENT_SOURCE_DIR}/allred_derived.c + ${CMAKE_CURRENT_SOURCE_DIR}/allred_float.c ${CMAKE_CURRENT_SOURCE_DIR}/alltoall1.c ${CMAKE_CURRENT_SOURCE_DIR}/alltoallv0.c ${CMAKE_CURRENT_SOURCE_DIR}/alltoallv.c @@ -122,6 +122,7 @@ set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/gather2.c ${CMAKE_CURRENT_SOURCE_DIR}/gather_big.c ${CMAKE_CURRENT_SOURCE_DIR}/gather.c + ${CMAKE_CURRENT_SOURCE_DIR}/gatherv.c ${CMAKE_CURRENT_SOURCE_DIR}/iallred.c ${CMAKE_CURRENT_SOURCE_DIR}/ibarrier.c ${CMAKE_CURRENT_SOURCE_DIR}/icallgather.c