Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Update to LLVM 15 in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbaden committed Sep 6, 2023
1 parent a75f540 commit 6fd1eec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.l0
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6fd1eec

Please sign in to comment.