diff --git a/docker/Dockerfile.ci_cpu b/docker/Dockerfile.ci_cpu index c75bf3136121..788838dbe879 100644 --- a/docker/Dockerfile.ci_cpu +++ b/docker/Dockerfile.ci_cpu @@ -47,6 +47,9 @@ RUN bash /install/ubuntu_install_python_package.sh COPY install/ubuntu1804_install_llvm.sh /install/ubuntu1804_install_llvm.sh RUN bash /install/ubuntu1804_install_llvm.sh +COPY install/ubuntu_install_llvm_from_source.sh /install/ubuntu_install_llvm_from_source.sh +RUN bash /install/ubuntu_install_llvm_from_source.sh 15.0.7 8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6 + COPY install/ubuntu_install_dnnl.sh /install/ubuntu_install_dnnl.sh RUN bash /install/ubuntu_install_dnnl.sh diff --git a/docker/install/ubuntu_install_llvm_from_source.sh b/docker/install/ubuntu_install_llvm_from_source.sh index 854e74a4d824..f4e0e937b247 100644 --- a/docker/install/ubuntu_install_llvm_from_source.sh +++ b/docker/install/ubuntu_install_llvm_from_source.sh @@ -60,6 +60,7 @@ cmake \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_OCAMLDOC=OFF \ + -DLLVM_ENABLE_PROJECTS=mlir \ -DLLVM_USE_INTEL_JITEVENTS=ON \ -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \ -DPYTHON_EXECUTABLE="$(cpython_path 3.7)/bin/python" \