]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-138042: Fix homebrew for tail-calling macOS CI (GH-138043) (#138060)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Aug 2025 14:07:38 +0000 (16:07 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Aug 2025 14:07:38 +0000 (17:07 +0300)
Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.github/workflows/tail-call.yml

index e32cbf0aaa3c3ecd76c15cc01c9dc3abcfe9b60c..57c92e193a9aec27577b29ec774c6db43248df22 100644 (file)
@@ -114,8 +114,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="/usr/local/opt/llvm/bin:$PATH"
-          export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
+          export PATH="/usr/local/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
+          export PATH="/opt/homebrew/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
           CC=clang-20 ./configure --with-tail-call-interp
           make all --jobs 4
           ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3