File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
libsyclinterface/cmake/modules Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,14 @@ if(${clangxx_result} MATCHES "0")
102102 # Match 'clang version xx.x.x'
103103 string (REGEX MATCH "^.*clang version [0-9]+\\ .[0-9]+\\ .[0-9]+.*$" _clang_match "${X} " )
104104 if (_clang_match)
105+ message (STATUS "_clang_match: ${_clang_match} " )
105106 string (REGEX REPLACE "^.*clang version ([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" IntelSyclCompiler_VERSION "${_clang_match} " )
106107 endif ()
107108
108109 # Match 'Intel(R) oneAPI DPC++/C++ Compiler xxxx.x.x (...)'
109110 string (REGEX MATCH "^.*Intel\\ (R\\ ) oneAPI DPC\\ +\\ +\\ /C\\ +\\ + Compiler [0-9]+\\ .[0-9]+\\ .[0-9]+.*$" _oneapi_match "${X} " )
110111 if (_oneapi_match)
112+ message (STATUS "_oneapi_match: ${_oneapi_match} " )
111113 string (REGEX REPLACE "^.*Intel\\ (R\\ ) oneAPI DPC\\ +\\ +\\ /C\\ +\\ + Compiler ([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" IntelSyclCompiler_VERSION "${_oneapi_match} " )
112114 endif ()
113115 endif ()
You can’t perform that action at this time.
0 commit comments