[llvm] [libc++] Fix Python selection in the macOS benchmark jobs (PR #211812)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 07:40:59 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

<details>
<summary>Changes</summary>

The macOS benchmark jobs install python 3.14 via Homebrew but added the wrong prefix (<prefix>/libexec/bin) instead of <prefix>/bin to the PATH.

---
Full diff: https://github.com/llvm/llvm-project/pull/211812.diff


2 Files Affected:

- (modified) .github/workflows/libcxx-benchmark-commit.yml (+1-1) 
- (modified) .github/workflows/libcxx-pr-benchmark.yml (+1-1) 


``````````diff
diff --git a/.github/workflows/libcxx-benchmark-commit.yml b/.github/workflows/libcxx-benchmark-commit.yml
index f03e67595eec6..683ff141d060e 100644
--- a/.github/workflows/libcxx-benchmark-commit.yml
+++ b/.github/workflows/libcxx-benchmark-commit.yml
@@ -77,7 +77,7 @@ jobs:
         run: |
           brew update
           brew install ninja cmake python at 3.14
-          echo "$(brew --prefix python at 3.14)/libexec/bin" >> "$GITHUB_PATH"
+          echo "$(brew --prefix python at 3.14)/bin" >> "$GITHUB_PATH"
 
       - name: Diagnose tools in use
         run: |
diff --git a/.github/workflows/libcxx-pr-benchmark.yml b/.github/workflows/libcxx-pr-benchmark.yml
index 14f7bd7d09c43..31bf6ffb224b6 100644
--- a/.github/workflows/libcxx-pr-benchmark.yml
+++ b/.github/workflows/libcxx-pr-benchmark.yml
@@ -133,7 +133,7 @@ jobs:
         run: |
           brew update
           brew install ninja cmake python at 3.14
-          echo "$(brew --prefix python at 3.14)/libexec/bin" >> "$GITHUB_PATH"
+          echo "$(brew --prefix python at 3.14)/bin" >> "$GITHUB_PATH"
 
       - name: Diagnose tools in use
         run: |

``````````

</details>


https://github.com/llvm/llvm-project/pull/211812


More information about the llvm-commits mailing list