[llvm] [BOLT] Update Docker to use Ubuntu 24.04 (PR #99421)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 20:00:49 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Tristan Ross (RossComputerGuy)

<details>
<summary>Changes</summary>

Updates the Dockerfile to use Ubuntu 24.04 due to CMake wanting a newer version. Can be tested by trying to build the Docker image currently in main and then try building the Docker image in this PR.

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


1 Files Affected:

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


``````````diff
diff --git a/bolt/utils/docker/Dockerfile b/bolt/utils/docker/Dockerfile
index 722a07e46f9e4..c2108f7aec53c 100644
--- a/bolt/utils/docker/Dockerfile
+++ b/bolt/utils/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:20.04 AS builder
+FROM ubuntu:24.04 AS builder
 
 ARG DEBIAN_FRONTEND=noninteractive
 ENV TZ=UTC
@@ -26,6 +26,6 @@ RUN mkdir build && \
     ninja install-llvm-bolt install-perf2bolt install-merge-fdata \
       install-llvm-boltdiff install-bolt_rt
 
-FROM ubuntu:20.04
+FROM ubuntu:24.04
 
 COPY --from=builder /home/bolt/install /usr/local

``````````

</details>


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


More information about the llvm-commits mailing list