[New-bugs-announce] [issue27983] "Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make

Gregory P. Smith report at bugs.python.org
Tue Sep 6 19:01:40 EDT 2016


New submission from Gregory P. Smith:

patch in issue26307 (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).

----------
messages: 274657
nosy: alecsandru.patrascu, brett.cannon, gregory.p.smith
priority: normal
severity: normal
status: open
title: "Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make
versions: Python 2.7, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27983>
_______________________________________


More information about the New-bugs-announce mailing list