From: Augustin Degomme Date: Sat, 7 Aug 2021 23:56:20 +0000 (+0200) Subject: So Intel compiler is now detected as IntelLLVM and no longer as Clang12. X-Git-Tag: v3.29~148 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/47da8bc6bc0265ece92ca7b397e13306516ca82a So Intel compiler is now detected as IntelLLVM and no longer as Clang12. --- diff --git a/teshsuite/smpi/CMakeLists.txt b/teshsuite/smpi/CMakeLists.txt index 35b250ae9c..c0716f82c8 100644 --- a/teshsuite/smpi/CMakeLists.txt +++ b/teshsuite/smpi/CMakeLists.txt @@ -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()