Add 'projects/rccl-tests/' from commit '6405c76e6826663bbb67bd40aeee8c70aa5d3094'
git-subtree-dir: projects/rccl-tests git-subtree-mainline:42d84317cfgit-subtree-split:6405c76e68
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
|
||||
# This Dockerfile provides a starting point for a ROCm installation of rccl
|
||||
|
||||
# Parameters related to building rccl
|
||||
ARG base_image
|
||||
|
||||
FROM ${base_image}
|
||||
LABEL maintainer="rccl-maintainer@amd.com"
|
||||
|
||||
USER root
|
||||
ARG user_uid
|
||||
|
||||
# Install dependent packages
|
||||
RUN yum install -y --nogpgcheck \
|
||||
sudo \
|
||||
chrpath \
|
||||
rock-dkms \
|
||||
rocm-cmake \
|
||||
centos-release-scl \
|
||||
devtoolset-7 \
|
||||
ca-certificates \
|
||||
git \
|
||||
cmake3 \
|
||||
make \
|
||||
libgomp \
|
||||
clang \
|
||||
clang-devel \
|
||||
gcc-c++ \
|
||||
pkgconfig \
|
||||
numactl-libs
|
||||
|
||||
RUN echo '#!/bin/bash' | tee /etc/profile.d/devtoolset7.sh && echo \
|
||||
'source scl_source enable devtoolset-7' >>/etc/profile.d/devtoolset7.sh
|
||||
|
||||
# docker pipeline runs containers with particular uid
|
||||
# create a jenkins user with this specific uid so it can use sudo priviledges
|
||||
# Grant any member of sudo group password-less sudo privileges
|
||||
RUN useradd --create-home -u ${user_uid} -o -G video --shell /bin/bash jenkins && \
|
||||
echo '%video ALL=(ALL) NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd && \
|
||||
chmod 400 /etc/sudoers.d/sudo-nopasswd
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
# Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
|
||||
# Parameters related to building rccl
|
||||
ARG base_image
|
||||
|
||||
FROM ${base_image}
|
||||
LABEL maintainer="rccl-maintainer@amd.com"
|
||||
|
||||
ARG user_uid
|
||||
|
||||
# Install dependent packages
|
||||
# Dependencies:
|
||||
# * hcc-config.cmake: pkg-config
|
||||
# * tensile: python2.7, python-yaml
|
||||
# * rocblas-test: gfortran, googletest
|
||||
# * rocblas-bench: libboost-program-options-dev
|
||||
# * libhsakmt.so: libnuma1
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
rock-dkms \
|
||||
sudo \
|
||||
ca-certificates \
|
||||
chrpath \
|
||||
git \
|
||||
make \
|
||||
cmake \
|
||||
pkg-config \
|
||||
python2.7 \
|
||||
python-yaml \
|
||||
python3-pytest \
|
||||
rocm-cmake \
|
||||
libboost-program-options-dev \
|
||||
libnuma1 \
|
||||
libomp-dev \
|
||||
&& \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# docker pipeline runs containers with particular uid
|
||||
# create a jenkins user with this specific uid so it can use sudo priviledges
|
||||
# Grant any member of sudo group password-less sudo privileges
|
||||
RUN useradd --create-home -u ${user_uid} -o -G video --shell /bin/bash jenkins && \
|
||||
mkdir -p /etc/sudoers.d/ && \
|
||||
echo '%video ALL=(ALL) NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
|
||||
# Parameters related to building rccl
|
||||
ARG base_image
|
||||
|
||||
FROM ${base_image}
|
||||
LABEL maintainer="rccl-maintainer@amd.com"
|
||||
|
||||
#empty for now
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
|
||||
# Parameters related to building rccl
|
||||
ARG base_image
|
||||
|
||||
FROM ${base_image}
|
||||
LABEL maintainer="rccl-maintainer@amd.com"
|
||||
|
||||
#empty for now
|
||||
Reference in New Issue
Block a user