From 8e47f8890ddbf5ba233be21ae2aa1fc2a2b4672a Mon Sep 17 00:00:00 2001 From: Takuro Iizuka Date: Tue, 12 Dec 2023 09:31:54 -0800 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27e5a3ff..7ef2fee3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:22.04 # Basic package ENV DEBIAN_FRONTEND=noninteractive @@ -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 \ @@ -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 \