From 6fd1eecf2c2d4932cbb30cbd2ec3995714a6aa27 Mon Sep 17 00:00:00 2001 From: Alex Baden Date: Wed, 6 Sep 2023 03:20:11 +0000 Subject: [PATCH] Update to LLVM 15 in Docker image --- docker/Dockerfile | 12 ++++++------ docker/Dockerfile.l0 | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c1351319e..8395447dc 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -31,15 +31,15 @@ RUN apt-get update && apt-get install -y \ # LLVM RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ apt-add-repository \ - 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main' && \ + 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main' && \ apt-get update && apt-get install -y \ - llvm-14 \ - llvm-14-dev \ - clang-14 \ - libclang-14-dev \ + llvm-15 \ + llvm-15-dev \ + clang-15 \ + libclang-15-dev \ -- -ENV PATH=/usr/lib/llvm-14/bin${PATH:+:${PATH}} +ENV PATH=/usr/lib/llvm-15/bin${PATH:+:${PATH}} # Dependencies RUN apt-get update && apt-get install -y \ diff --git a/docker/Dockerfile.l0 b/docker/Dockerfile.l0 index e626e86ea..09144a66e 100644 --- a/docker/Dockerfile.l0 +++ b/docker/Dockerfile.l0 @@ -12,7 +12,7 @@ RUN mkdir /intel-gpu-drivers && cd /intel-gpu-drivers && \ RUN cd /intel-gpu-drivers && dpkg -i *.deb -RUN git clone -b llvm_release_140 https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git && \ +RUN git clone -b llvm_release_150 https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git && \ mkdir SPIRV-LLVM-Translator/build && cd SPIRV-LLVM-Translator/build && \ cmake -Wno-dev .. && make llvm-spirv -j`nproc` && make install