Skip to content

Commit 27dc96f

Browse files
committed
Extend PATH on Darwin for clang
1 parent 8915035 commit 27dc96f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bench_runner/scripts/workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def compile_unix(cpython: PathLike, flags: list[str], pgo: bool, pystats: bool)
141141
env["LLVM_PROFDATA"] = util.safe_which("llvm-profdata-19")
142142
elif sys.platform == "darwin":
143143
llvm_prefix = util.get_brew_prefix("llvm")
144+
env["PATH"] = f"{llvm_prefix}/bin:{env['PATH']}"
144145
env["CC"] = f"{llvm_prefix}/bin/clang"
145146
env["LDFLAGS"] = f"-L{llvm_prefix}/lib"
146147
env["CFLAGS"] = f"-I{llvm_prefix}/include"

0 commit comments

Comments
 (0)