google / google/autofdo

Can't build with LLVM support

Open
#71 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
619
Forks
127
PR merge metrics
No merged PRs in 30d

Description

Build steps:
```sh
$ git clone --recursive https://github.com/google/autofdo.git
$ cd autofdo
$ git checkout 0.18 # missing "perf_data.pb.h" on master
$ aclocal -I .; autoheader; autoconf; automake --add-missing -c
$ ./configure --with-llvm=/bin/llvm-config
checking whether we can compile and link with llvm(ProfileData)... no
configure: Using static LLVM libraries.
configure: WARNING: could not detect the LLVM libraries. Support for LLVM profiles disabled.
$ make -j$(nproc)
```
Runtime error:
```
ERROR: LLVM support was not enabled in this configuration.
Please configure and rebuild with:

$ ./configure --with-llvm=
```
LLVM config:
```sh
$ ./bin/llvm-config --libs profiledata
-lLLVMProfileData -lLLVMCore -lLLVMBinaryFormat -lLLVMSupport -lLLVMDemangle
```
Thanks for looking into it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.