Skip to content

Commit cee1705

Browse files
16bit-ykikoclaude
andcommitted
fix(ci): fix aarch64-linux-gnu regex in toolchain.cmake
The regex `^aarch64-.*-linux` requires a vendor segment between arch and os (e.g. aarch64-unknown-linux-gnu) but the triple `aarch64-linux-gnu` has no vendor. Change to `^aarch64-.*linux` to match both forms. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d5e5ee8 commit cee1705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.30)
88
if(DEFINED CLICE_TARGET_TRIPLE)
99
if(CLICE_TARGET_TRIPLE MATCHES "^x86_64-apple-darwin")
1010
set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "")
11-
elseif(CLICE_TARGET_TRIPLE MATCHES "^aarch64-.*-linux")
11+
elseif(CLICE_TARGET_TRIPLE MATCHES "^aarch64-.*linux")
1212
set(CMAKE_SYSTEM_NAME Linux)
1313
set(CMAKE_SYSTEM_PROCESSOR aarch64)
1414
set(CMAKE_C_COMPILER_TARGET "aarch64-linux-gnu" CACHE STRING "")

0 commit comments

Comments
 (0)