diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-04-12 05:23:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 05:23:39 (GMT) |
commit | 396b831850f0f364d584db4407a5d633f33e571c (patch) | |
tree | 639542fff6ea878c1879760f651e44509f27fb29 /configure | |
parent | fd259fdabe95329768eb3e90039c77888c130a4c (diff) | |
download | cpython-396b831850f0f364d584db4407a5d633f33e571c.zip cpython-396b831850f0f364d584db4407a5d633f33e571c.tar.gz cpython-396b831850f0f364d584db4407a5d633f33e571c.tar.bz2 |
gh-117752: Autoconf: store all LLVM profile data in the build directory (#117790)
This prevents spurious 'env changed' and llvm-profdata merge errors.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8828,7 +8828,7 @@ case "$CC_BASENAME" in PGO_PROF_GEN_FLAG="-fprofile-instr-generate" PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd" LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr" - LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\"" + LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"\$(shell pwd)/code-%p.profclangr\"" if test $LLVM_PROF_FOUND = not-found then LLVM_PROF_ERR=yes @@ -8844,7 +8844,7 @@ case "$CC_BASENAME" in PGO_PROF_GEN_FLAG="-fprofile-instr-generate" PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd" LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr" - LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\"" + LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"\$(shell pwd)/code-%p.profclangr\"" if test "${LLVM_PROF_FOUND}" = "not-found" then LLVM_PROF_ERR=yes |