]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-131895: fix clang `$PATH` on Darwin runners for tail-calling interpreter (#131903)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sun, 30 Mar 2025 18:48:00 +0000 (20:48 +0200)
committerGitHub <noreply@github.com>
Sun, 30 Mar 2025 18:48:00 +0000 (18:48 +0000)
.github/workflows/tail-call.yml

index 3c9098b88ee3b134fd769acb91f2f19ab0de3346..572ff45e51ef000c4c24c71ca455d061fec83f02 100644 (file)
@@ -112,8 +112,8 @@ jobs:
           find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
           brew install llvm@${{ matrix.llvm }}
           export SDKROOT="$(xcrun --show-sdk-path)"
-          export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
-          export PATH="/usr/local/opt/llvm/bin:$PATH"
+          export PATH="/opt/homebrew/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
+          export PATH="/usr/local/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
           CC=clang-19 ./configure --with-tail-call-interp
           make all --jobs 4
           ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3