mirror of
https://github.com/intel/intel-graphics-compiler.git
synced 2025-10-30 08:18:26 +08:00
Removed a space from CMake regex match
Change-Id: Icf72df4ef3baa2ea7066c001cd5b01ad13f41656
This commit is contained in:
committed by
sys_zuul
parent
2e257d4149
commit
7d11ff43f4
@ -131,7 +131,7 @@ elseif(${CCLANG_BUILD_PREBUILDS})
|
||||
execute_process(
|
||||
COMMAND ${CLANG_TOOL_PATH} -v
|
||||
ERROR_VARIABLE CLANG_TOOL_V_CALL)
|
||||
string(REGEX MATCH "clang version ([0-9]*\\.[0-9]*\\.[0-9]*[a-zA-Z0-9]*) " CLANG_TOOL_VERSION "${CLANG_TOOL_V_CALL}")
|
||||
string(REGEX MATCH "clang version ([0-9]*\\.[0-9]*\\.[0-9]*[a-zA-Z0-9]*)" CLANG_TOOL_VERSION "${CLANG_TOOL_V_CALL}")
|
||||
set(CLANG_TOOL_VERSION "${CMAKE_MATCH_1}")
|
||||
|
||||
# Check if llvm version for IGC is newer or equal with the clang-tool version
|
||||
|
||||
Reference in New Issue
Block a user