[llvm] Remove unexisting targets from bolt dockerfile (PR #122321)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 09:32:55 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Yevhen Babiichuk (DustDFG) (dustdfg)

<details>
<summary>Changes</summary>

`perf2bolt` and `llvm-boltdiff` are now not separate targets but just symlinks to `llvm-bolt` created when you install `llvm-bolt` itself so when you try to build it ninja reports there are no targets for both of them

---
Full diff: https://github.com/llvm/llvm-project/pull/122321.diff


1 Files Affected:

- (modified) bolt/utils/docker/Dockerfile (+1-2) 


``````````diff
diff --git a/bolt/utils/docker/Dockerfile b/bolt/utils/docker/Dockerfile
index c2108f7aec53c0..c58e1a533df94b 100644
--- a/bolt/utils/docker/Dockerfile
+++ b/bolt/utils/docker/Dockerfile
@@ -23,8 +23,7 @@ RUN mkdir build && \
       -DCMAKE_EXE_LINKER_FLAGS="-Wl,--push-state -Wl,-whole-archive -ljemalloc_pic -Wl,--pop-state -lpthread -lstdc++ -lm -ldl" \
       -DCMAKE_INSTALL_PREFIX=/home/bolt/install && \
     ninja check-bolt && \
-    ninja install-llvm-bolt install-perf2bolt install-merge-fdata \
-      install-llvm-boltdiff install-bolt_rt
+    ninja install-llvm-bolt install-merge-fdata install-bolt_rt
 
 FROM ubuntu:24.04
 

``````````

</details>


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


More information about the llvm-commits mailing list