File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libsyclinterface/cmake/modules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ 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- string (REGEX REPLACE "^.*clang version ([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" IntelSyclCompiler_VERSION "${X } " )
105+ string (REGEX REPLACE "^.*clang version ([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" IntelSyclCompiler_VERSION "${_clang_match } " )
106106 endif ()
107107
108108 # Match 'Intel(R) oneAPI DPC++/C++ Compiler xxxx.x.x (...)'
109109 string (REGEX MATCH "^.*Intel\\ (R\\ ) oneAPI DPC\\ +\\ +\\ /C\\ +\\ + Compiler [0-9]+\\ .[0-9]+\\ .[0-9]+.*$" _oneapi_match "${X} " )
110110 if (_oneapi_match)
111- string (REGEX REPLACE "^.*Intel\\ (R\\ ) oneAPI DPC\\ +\\ +\\ /C\\ +\\ + Compiler ([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" IntelSyclCompiler_VERSION "${X } " )
111+ string (REGEX REPLACE "^.*Intel\\ (R\\ ) oneAPI DPC\\ +\\ +\\ /C\\ +\\ + Compiler ([0-9]+\\ .[0-9]+\\ .[0-9]+).*$" "\\ 1" IntelSyclCompiler_VERSION "${_oneapi_match } " )
112112 endif ()
113113 endif ()
114114 math (EXPR IDX "${IDX} +1" )
You can’t perform that action at this time.
0 commit comments