Skip to content

Commit feaf007

Browse files
authored
FastPathAlloc: Skip if below clang 18.1.x (#304)
* FastPathAlloc: Skip if below clang 18.1.x * Remove AArch64 Android Emulator
1 parent a9fa115 commit feaf007

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -265,22 +265,12 @@ jobs:
265265
# Build each combination of OS and release/debug variants
266266
os: [ ubuntu-20.04 ]
267267
build-type: [ Release, Debug ]
268+
# TODO(hugo): Add AArch64 configuration when GitHub AArch64 CI runners are available.
268269
arch:
269270
- name: x86_64
270271
triple: x86_64-linux-android
271272
emu-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
272-
- name: arm64-v8a
273-
triple: aarch64-linux-android
274-
# Google broke ARM64 emulation on x86_64 hosts. A workaround is to overwrite the qemu machine type.
275-
emu-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -accel off -qemu -machine virt
276273
api-level: [ 27, 33 ]
277-
# Please note that:
278-
# - arm64-v8a emulation on a x86_64 host currently is only possible up to API level 27 Oreo
279-
# - armeabi-v7a is only supported up to API level 24
280-
exclude:
281-
- api-level: 33
282-
arch:
283-
name: arm64-v8a
284274
# Don't abort runners if a single one fails
285275
fail-fast: false
286276
runs-on: ${{ matrix.os }}

Test/FastPathAlloc.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if __clang_major__ < 18
1+
#if __clang_major__ < 18 || (__clang_major__ == 18 && __clang_minor__ < 1)
22
// Skip this test if clang is too old to support it.
33
int main(void)
44
{

0 commit comments

Comments
 (0)