Skip to content

Commit a95056e

Browse files
committed
debug: messages for cmake variables when finding compiler
1 parent 3b0bfd6 commit a95056e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libsyclinterface/cmake/modules/FindIntelSyclCompiler.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,12 @@ if(${clangxx_result} MATCHES "0")
108108
${VERSION_STRING}
109109
)
110110

111+
message(STATUS "IntelSyclCompiler version: ${IntelSyclCompiler_VERSION}")
112+
message(STATUS "IntelSyclCompiler_VERSION_LIST: ${IntelSyclCompiler_VERSION_LIST}")
113+
111114
# Split out the version into major, minor an patch
112115
string(REPLACE "." ";" IntelSyclCompiler_VERSION_LIST1 "${IntelSyclCompiler_VERSION}")
116+
message(STATUS "IntelSyclCompiler_VERSION_LIST1: ${IntelSyclCompiler_VERSION_LIST1}")
113117
list(GET IntelSyclCompiler_VERSION_LIST1 0 IntelSyclCompiler_VERSION_MAJOR)
114118
list(GET IntelSyclCompiler_VERSION_LIST1 1 IntelSyclCompiler_VERSION_MINOR)
115119
list(GET IntelSyclCompiler_VERSION_LIST1 2 IntelSyclCompiler_VERSION_PATCH)

0 commit comments

Comments
 (0)