Skip to content

Console Output

+ docker build -t 36d2b82d4b9323289f86b3250cdc7d7c8e34f688 -f scripts/docker/Dockerfile.openmptarget 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.02kB

Step 1/14 : ARG BASE=nvidia/cuda:11.1.1-devel-ubuntu20.04
Step 2/14 : FROM $BASE
 ---> 9165013c68c2
Step 3/14 : RUN apt-get update && apt-get install -y         bc         git         wget         ccache         python3         libelf-dev         g++-multilib         &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> a5eb9f7712de
Step 4/14 : ARG NPROC=8
 ---> Using cache
 ---> ba7b77433833
Step 5/14 : 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
 ---> bfe644a4cbf4
Step 6/14 : ARG CMAKE_VERSION=3.27.7
 ---> Using cache
 ---> d4a4c1d90d2a
Step 7/14 : ENV CMAKE_DIR=/opt/cmake
 ---> Using cache
 ---> df2f448a0049
Step 8/14 : 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_SCRIPT}
 ---> Using cache
 ---> d17781a95adf
Step 9/14 : ENV PATH=${CMAKE_DIR}/bin:$PATH
 ---> Using cache
 ---> f32121e8f822
Step 10/14 : ARG LLVM_VERSION=llvmorg-17.0.3
 ---> Using cache
 ---> cd37343cc4c7
Step 11/14 : ENV LLVM_DIR=/opt/llvm
 ---> Using cache
 ---> 7420e8ab1930
Step 12/14 : RUN LLVM_URL=https://github.com/llvm/llvm-project/archive &&    LLVM_ARCHIVE=${LLVM_VERSION}.tar.gz &&    SCRATCH_DIR=/scratch && mkdir -p ${SCRATCH_DIR} && cd ${SCRATCH_DIR} &&     wget --quiet ${LLVM_URL}/${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       -DCMAKE_C_COMPILER=gcc       -DCMAKE_CXX_COMPILER=g++       -DLLVM_ENABLE_PROJECTS="clang"       -DLLVM_ENABLE_RUNTIMES="openmp"       -DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=sm_70       -DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=70     ../llvm &&     make -j${NPROC} &&     make install &&     rm -rf ${SCRATCH_DIR}
 ---> Using cache
 ---> e85ae1e97bbe
Step 13/14 : ENV PATH=${LLVM_DIR}/bin:$PATH
 ---> Using cache
 ---> fd5979a96050
Step 14/14 : ENV LD_LIBRARY_PATH=${LLVM_DIR}/lib:$LD_LIBRARY_PATH
 ---> Using cache
 ---> a3149fc95d63
Successfully built a3149fc95d63
Successfully tagged 36d2b82d4b9323289f86b3250cdc7d7c8e34f688:latest