From ddaf412dd035dbc85d33634d2cfb0b3a8bcdf804 Mon Sep 17 00:00:00 2001 From: "William R. Dieter" Date: Fri, 22 Jan 2021 17:19:16 -0500 Subject: [PATCH] Tests: Skip per file PDBs in PDBDirectoryAndName for IntelLLVM The IntelLLVM C compiler do not yet support PDBs per file with the /Fd option. Disable the parts of PDBDirectoryAndName that tries to generate them so that the test will pass. --- Tests/PDBDirectoryAndName/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/PDBDirectoryAndName/CMakeLists.txt b/Tests/PDBDirectoryAndName/CMakeLists.txt index 95aa35192d..5aa2459f99 100644 --- a/Tests/PDBDirectoryAndName/CMakeLists.txt +++ b/Tests/PDBDirectoryAndName/CMakeLists.txt @@ -9,8 +9,9 @@ endif() # Intel 11.1 does not support /Fd but Intel 14.0 does. # TODO: Did a version in between these add it? -if(CMAKE_C_COMPILER_ID STREQUAL Intel AND - CMAKE_C_COMPILER_VERSION VERSION_LESS 14.0) +if((CMAKE_C_COMPILER_ID STREQUAL Intel AND + CMAKE_C_COMPILER_VERSION VERSION_LESS 14.0) OR + CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM") set(NO_COMPILE_PDB 1) endif()