From 47da8bc6bc0265ece92ca7b397e13306516ca82a Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Sun, 8 Aug 2021 01:56:20 +0200 Subject: [PATCH] So Intel compiler is now detected as IntelLLVM and no longer as Clang12. --- teshsuite/smpi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.20.1