From 0239f798a9a19f8d0bad98b55c7f313a5140ad32 Mon Sep 17 00:00:00 2001 From: Tristan Brindle Date: Mon, 22 Sep 2025 16:09:03 +0100 Subject: [PATCH 1/2] Revert "Temporarily disable LLVM/MacOS modules builds" This reverts commit 778ad8459842ab621ee5f9586abb665f6d346289. --- .github/workflows/macos.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cd91a70..d5ae841 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -37,19 +37,19 @@ jobs: brew install llvm@18 ninja - compiler: LLVM-Clang-19 cxx: $(brew --prefix llvm@19)/bin/clang++ - build_module: false + build_module: true install: | brew install llvm@19 ninja - compiler: LLVM-Clang-20 cxx: $(brew --prefix llvm@20)/bin/clang++ - build_module: false + build_module: true install: | brew update brew install llvm@20 ninja - compiler: LLVM-Clang-21 cxx: $(brew --prefix llvm@21)/bin/clang++ ldflags: -L$(brew --prefix llvm@21)/lib/c++ - build_module: false + build_module: true install: | brew update brew install llvm@21 ninja From 1d1722427a2cf88c2d67ae4b1ce27975e4b49422 Mon Sep 17 00:00:00 2001 From: Tristan Brindle Date: Fri, 3 Oct 2025 12:21:45 +0100 Subject: [PATCH 2/2] Set SDK root in MacOS CI config As suggested in https://github.com/Homebrew/homebrew-core/issues/221782#issuecomment-3359033887 --- .github/workflows/macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d5ae841..118c4ca 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -71,6 +71,7 @@ jobs: -DCMAKE_CXX_EXTENSIONS=Off \ -DCMAKE_COMPILE_WARNING_AS_ERROR=On \ -DCMAKE_LINK_WARNING_AS_ERROR=On \ + -DCMAKE_OSX_SYSROOT=$(xcrun --sdk macosx --show-sdk-path) \ -DTCB_POINTER_BUILD_MODULE=${{matrix.build_module}} - name: Build