diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 861b1d971b9d78..7b7158c567af70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -370,6 +370,9 @@ jobs: if clang --version | grep -qs 'Apple clang version \(1[3-9]\|[2-9]\)\.'; then sed -i.bak -f ci/config.mk.clang-12.sed ${SRCDIR}/auto/config.mk fi + if clang --version | grep -qs 'Apple clang version 16\.'; then + sed -i.bak -f ci/config.mk.apple-clang-16.sed ${SRCDIR}/auto/config.mk + fi - name: Build env: diff --git a/ci/config.mk.apple-clang-16.sed b/ci/config.mk.apple-clang-16.sed new file mode 100644 index 00000000000000..5d4d7d7c84c733 --- /dev/null +++ b/ci/config.mk.apple-clang-16.sed @@ -0,0 +1 @@ +/^CFLAGS[[:blank:]]*=/s/$/ -mllvm -enable-constraint-elimination=0/