Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
So Intel compiler is now detected as IntelLLVM and no longer as Clang12.
[simgrid.git] / teshsuite / smpi / CMakeLists.txt
index 35b250a..c0716f8 100644 (file)
@@ -44,7 +44,7 @@ foreach(x coll-allgather coll-allgatherv coll-allreduce coll-allreduce-with-leak
   set(teshsuite_src ${teshsuite_src} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.c)
 endforeach()
 
-if (CMAKE_C_COMPILER_ID MATCHES "Clang")
+if (CMAKE_C_COMPILER_ID MATCHES "Clang|LLVM")
     set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/replay-ti-colls/replay-ti-colls.c PROPERTIES COMPILE_FLAGS "-Wno-sometimes-uninitialized")
 endif()