[llvm] [BOLT] Enable standalone build (PR #87196)

Tomasz Kłoczko via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 03:52:20 PDT 2024


kloczek wrote:

> @kloczek it is weird that the system tries to link directly in `/usr/lib64`. I think typically it should build in `/home/tkloczko/rpmbuild/BUILD/bolt-18.1.2.src/x86_64-redhat-linux-gnu`, linked, and then copied to `/usr/lib64` _only when you attempt to install it_. What cmake arguments are you using?

Below is after run `make -k` in build tree
```console
[tkloczko at pers-jacek x86_64-redhat-linux-gnu]$ find . -name lib\*.a
./lib64/libLLVMBOLTUtils.a
./lib64/libLLVMBOLTCore.a
./lib64/libLLVMBOLTPasses.a
./lib64/libLLVMBOLTRuntimeLibs.a
./lib64/libLLVMBOLTProfile.a
```
As you may see there is no here on that list libbolt_rt_instr.a and libbolt_rt_hugify.a

https://github.com/llvm/llvm-project/pull/87196


More information about the llvm-commits mailing list