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

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


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

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.

>From ea3c2e227d5099945a71b83a90a64e17311d362a Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Fri, 24 Jul 2026 10:33:57 -0400
Subject: [PATCH] [libc++] Fix Python selection in the macOS benchmark jobs

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.
---
 .github/workflows/libcxx-benchmark-commit.yml | 2 +-
 .github/workflows/libcxx-pr-benchmark.yml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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: |



More information about the llvm-commits mailing list