You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make #72170
bpo-26359: CPython build options for out-of-the box performance
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/gpshead'closed_at=<Date2016-09-08.07:10:26.145>created_at=<Date2016-09-06.23:01:40.382>labels= []
title='"Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make'updated_at=<Date2016-09-08.07:10:26.144>user='https://github.com/gpshead'
patch in bpo-26307 (which should be in soon) and do the following:
$ CC=clang ../3.6/configure --with-optimizations
$ make profile-opt
Error: Cannot perform PGO build because llvm-profdata was not found in PATH
Please add it to PATH and run ./configure again
Makefile:481: recipe for target 'profile-opt' failed
We can make this experience better. It needs to
(1) Become a configure time error, and
(2) Do a better job of finding llvm-profdata (which exists in ${PATH} as "llvm-profdata-3.8" on Ubuntu 16.04).
Activity
gpshead commentedon Sep 6, 2016
patch in bpo-26307 (which should be in soon) and do the following:
We can make this experience better. It needs to
(1) Become a configure time error, and
(2) Do a better job of finding llvm-profdata (which exists in ${PATH} as "llvm-profdata-3.8" on Ubuntu 16.04).
gpshead commentedon Sep 6, 2016
i meant bpo-26359 above, not 26307.
python-dev commentedon Sep 7, 2016
New changeset 279450d88fb0 by Gregory P. Smith in branch '3.5':
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
https://hg.python.org/cpython/rev/279450d88fb0
New changeset 9f2467e13c98 by Gregory P. Smith in branch 'default':
Fixes Issue bpo-27983: Cause lack of llvm-profdata tool when using clang as
https://hg.python.org/cpython/rev/9f2467e13c98
python-dev commentedon Sep 8, 2016
New changeset 3f04287e7bea by Gregory P. Smith in branch '2.7':
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
https://hg.python.org/cpython/rev/3f04287e7bea