Skip to content

Console Output

+ docker build -t dd28c247c90fe1233834924f8705973a7cba3afa -f scripts/docker/Dockerfile.kokkosllvmproject scripts/docker
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  22.53kB

Step 1/13 : FROM nvcr.io/nvidia/cuda:11.0.3-devel-ubuntu18.04@sha256:02d08888085d98c3c41b4db46e0f6b9e22671a70c1a2ff035ea91023effabff5
 ---> a557740b9093
Step 2/13 : RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
 ---> Using cache
 ---> 49653a4eb868
Step 3/13 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y         bc         git         wget         ccache         python3         python3-distutils         &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 32b832f88ceb
Step 4/13 : RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common &&     add-apt-repository ppa:ubuntu-toolchain-r/test -y &&     apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install -y g++-9 &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 094cc140aeed
Step 5/13 : RUN KEYDUMP_URL=https://cloud.cees.ornl.gov/download &&     KEYDUMP_FILE=keydump &&     wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE} &&     wget --quiet ${KEYDUMP_URL}/${KEYDUMP_FILE}.sig &&     gpg --import ${KEYDUMP_FILE} &&     gpg --verify ${KEYDUMP_FILE}.sig ${KEYDUMP_FILE} &&     rm ${KEYDUMP_FILE}*
 ---> Using cache
 ---> 0d43b31aa9c5
Step 6/13 : ARG CMAKE_VERSION=3.16.8
 ---> Using cache
 ---> 81c288956e56
Step 7/13 : ENV CMAKE_DIR=/opt/cmake
 ---> Using cache
 ---> bb9546216554
Step 8/13 : RUN CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION} &&     CMAKE_SCRIPT=cmake-${CMAKE_VERSION}-Linux-x86_64.sh &&     CMAKE_SHA256=cmake-${CMAKE_VERSION}-SHA-256.txt &&     wget --quiet ${CMAKE_URL}/${CMAKE_SHA256} &&     wget --quiet ${CMAKE_URL}/${CMAKE_SHA256}.asc &&     wget --quiet ${CMAKE_URL}/${CMAKE_SCRIPT} &&     gpg --verify ${CMAKE_SHA256}.asc ${CMAKE_SHA256} &&     grep -i ${CMAKE_SCRIPT} ${CMAKE_SHA256} | sed -e s/linux/Linux/ | sha256sum --check &&     mkdir -p ${CMAKE_DIR} &&     sh ${CMAKE_SCRIPT} --skip-license --prefix=${CMAKE_DIR} &&     rm cmake*
 ---> Using cache
 ---> c4e17c743c74
Step 9/13 : ENV PATH=${CMAKE_DIR}/bin:$PATH
 ---> Using cache
 ---> 1da5842064f3
Step 10/13 : ARG NPROC=8
 ---> Using cache
 ---> ebb7f6b71d4f
Step 11/13 : ENV LLVM_DIR=/opt/llvm
 ---> Using cache
 ---> de98bc00a55d
Step 12/13 : RUN LLVM_VERSION=32413084ecbb5e739c6b35d8bf13ad972985acb3 &&     LLVM_URL=https://github.com/kokkos/llvm-project/archive/${LLVM_VERSION}.tar.gz &&    LLVM_ARCHIVE=llvm.tar.xz &&     SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} &&     wget --quiet ${LLVM_URL} --output-document=${LLVM_ARCHIVE} &&     mkdir llvm-project &&     tar -xf ${LLVM_ARCHIVE} -C llvm-project --strip-components=1 &&     cd llvm-project &&     mkdir build && cd build &&     cmake       -DCMAKE_BUILD_TYPE=Release       -DCMAKE_INSTALL_PREFIX=$LLVM_DIR       -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt"     ../llvm &&     make -j${NPROC} &&     make install &&     echo "${LLVM_DIR}/lib" > /etc/ld.so.conf.d/llvm.conf && ldconfig &&     rm -rf ${SCRATCH_DIR}
 ---> Using cache
 ---> 608f774bc8b2
Step 13/13 : ENV PATH=${LLVM_DIR}/bin:$PATH
 ---> Using cache
 ---> 8e4e8086cb9d
Successfully built 8e4e8086cb9d
Successfully tagged dd28c247c90fe1233834924f8705973a7cba3afa:latest