Skip to content

Commit e28b884

Browse files
authored
Add ubuntu-arm clang configuration (#1701)
1 parent dceb921 commit e28b884

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ jobs:
171171
std: 20
172172
build_type: debug
173173
preview: 'ON'
174+
- os: ubuntu-24.04-arm
175+
c_compiler: clang
176+
cxx_compiler: clang++
177+
std: 20
178+
build_type: release
179+
preview: 'ON'
174180
- os: ubuntu-22.04-arm
175181
c_compiler: gcc
176182
cxx_compiler: g++

cmake/compilers/Clang.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ endif()
6565
# Clang flags to prevent compiler from optimizing out security checks
6666
set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security -fPIC $<$<NOT:$<BOOL:${EMSCRIPTEN}>>:-fstack-protector-strong>)
6767

68-
if (NOT APPLE AND NOT ANDROID_PLATFORM)
68+
if (NOT APPLE AND NOT ANDROID_PLATFORM AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
6969
set(TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} -fstack-clash-protection $<$<NOT:$<BOOL:${EMSCRIPTEN}>>:-fcf-protection=full>)
7070
endif()
7171

0 commit comments

Comments
 (0)