Skip to content

Commit

Permalink
Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-iizuka committed Dec 12, 2023
1 parent 3fdd2b5 commit 8e47f88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

# Basic package
ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -22,8 +22,8 @@ RUN apt-get update && apt-get install -y \
RUN pip3 install scikit-build
RUN pip3 install cmake

# LLVM 12
RUN git clone https://github.com/llvm/llvm-project.git -b release/12.x --depth=1
# LLVM 16
RUN git clone https://github.com/llvm/llvm-project.git -b release/16.x --depth=1
RUN mkdir llvm-project/build && cd llvm-project/build && \
cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -37,10 +37,10 @@ RUN mkdir llvm-project/build && cd llvm-project/build && \
../llvm && \
cmake --build . --target install

# Halide 12
# Halide 16
ARG HALIDE_GIT_URL=invalid
ARG HALIDE_GIT_BRANCH=invalid
RUN git clone ${HALIDE_GIT_URL} -b ${HALIDE_GIT_BRANCH} --depth=1
RUN git clone https://github.com/halide/Halide.git -b v16.0.0 --depth=1
RUN mkdir -p Halide/build && cd Halide/build && \
cmake -GNinja \
-DHALIDE_ENABLE_RTTI=ON \
Expand Down

0 comments on commit 8e47f88

Please sign in to comment.