From 30d609432fbec7491df69b24cf16e0b93a400569 Mon Sep 17 00:00:00 2001 From: Christopher Milan Date: Fri, 20 Mar 2026 02:58:16 -0700 Subject: [PATCH] ci: only xcode-select for gpuocelot on macos (#15387) --- .github/actions/setup-tinygrad/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-tinygrad/action.yml b/.github/actions/setup-tinygrad/action.yml index d4e7ffe358..f8a67ffa89 100644 --- a/.github/actions/setup-tinygrad/action.yml +++ b/.github/actions/setup-tinygrad/action.yml @@ -279,7 +279,6 @@ runs: if: inputs.ocelot == 'true' && steps.cache-build-pr.outputs.cache-hit != 'true' && steps.cache-build.outputs.cache-hit != 'true' shell: bash run: | - sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer git clone --recurse-submodules https://github.com/gpuocelot/gpuocelot.git ${{ github.workspace }}/gpuocelot cd ${{ github.workspace }}/gpuocelot/ocelot git checkout b16039dc940dc6bc4ea0a98380495769ff35ed99 @@ -288,6 +287,7 @@ runs: CMAKE_ARGS="-Wno-dev -G Ninja -DOCELOT_BUILD_TOOLS=OFF -DCMAKE_BUILD_ALWAYS=0 -DBUILD_TESTS_CUDA=OFF -DCMAKE_POLICY_VERSION_MINIMUM=3.5" if [[ "${{ runner.os }}" == "macOS" ]]; then + sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer CMAKE_ARGS="$CMAKE_ARGS -DBoost_INCLUDE_DIR=$(brew --prefix boost)/include -DBoost_LIBRARY_DIR=$(brew --prefix boost)/lib" fi