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

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


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

`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

>From 65dd4a225cdead7c63cae62bf86481acb8467d70 Mon Sep 17 00:00:00 2001
From: "Yevhen Babiichuk (DustDFG)" <dfgdust at gmail.com>
Date: Thu, 9 Jan 2025 19:31:28 +0200
Subject: [PATCH] Remove unexisting targets from bolt dockerfile

`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
---
 bolt/utils/docker/Dockerfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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
 



More information about the llvm-commits mailing list