Add ninja to all Dockerfiles (#304)
[ROCm/rocprofiler-systems commit: 6f8cb05140]
Šī revīzija ir iekļauta:
revīziju iesūtīja
GitHub
vecāks
e0c8e8a8c8
revīzija
4a677d6506
@@ -24,7 +24,7 @@ RUN zypper --non-interactive update -y && \
|
||||
zypper --non-interactive dist-upgrade -y && \
|
||||
zypper --non-interactive install -y -t pattern devel_basis && \
|
||||
zypper --non-interactive install -y binutils-gold chrpath cmake curl dpkg-devel \
|
||||
gcc-c++ git iproute2 libdrm-devel libnuma-devel openmpi3-devel python3-pip rpm-build \
|
||||
gcc-c++ git iproute2 libdrm-devel libnuma-devel ninja openmpi3-devel python3-pip rpm-build \
|
||||
sqlite3-devel wget && \
|
||||
python3 -m pip install 'cmake==3.21'
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ RUN zypper --non-interactive update -y && \
|
||||
zypper --non-interactive dist-upgrade -y && \
|
||||
zypper --non-interactive install -y -t pattern devel_basis && \
|
||||
zypper --non-interactive install -y binutils-gold chrpath cmake curl dpkg-devel \
|
||||
gcc-c++ git iproute2 libnuma-devel openmpi3-devel papi-devel python3-pip \
|
||||
gcc-c++ git iproute2 libnuma-devel ninja openmpi3-devel papi-devel python3-pip \
|
||||
rpm-build sqlite3-devel vim wget && \
|
||||
zypper --non-interactive clean --all && \
|
||||
python3 -m pip install 'cmake==3.21' perfetto
|
||||
|
||||
@@ -16,7 +16,7 @@ ENV LIBRARY_PATH ${LIBRARY_PATH}:/opt/amdgpu/lib64
|
||||
RUN yum groupinstall -y "Development Tools" && \
|
||||
yum install -y epel-release && crb enable && \
|
||||
yum install -y --allowerasing chrpath cmake curl dpkg-devel iproute libdrm-devel \
|
||||
numactl-devel openmpi-devel papi-devel python3-pip sqlite-devel texinfo \
|
||||
ninja-build numactl-devel openmpi-devel papi-devel python3-pip sqlite-devel texinfo \
|
||||
wget which zlib-devel && \
|
||||
yum clean all && \
|
||||
python3 -m pip install 'cmake==3.21' && \
|
||||
|
||||
@@ -19,7 +19,7 @@ ARG NJOBS="8"
|
||||
|
||||
RUN yum groupinstall -y "Development Tools" && \
|
||||
yum install -y epel-release && crb enable && \
|
||||
yum install -y --allowerasing chrpath cmake curl dpkg-devel iproute numactl-devel \
|
||||
yum install -y --allowerasing chrpath cmake curl dpkg-devel iproute ninja-build numactl-devel \
|
||||
openmpi-devel papi-devel python3-pip sqlite-devel texinfo wget which vim zlib-devel && \
|
||||
yum clean all && \
|
||||
python3 -m pip install 'cmake==3.21' perfetto
|
||||
|
||||
@@ -23,7 +23,7 @@ RUN apt-get update && \
|
||||
apt-get install -y apt-utils autoconf autotools-dev bash-completion bison \
|
||||
build-essential chrpath cmake curl flex gettext git-core gnupg2 iproute2 \
|
||||
libnuma1 libopenmpi-dev libpapi-dev libpfm4-dev librpm-dev libsqlite3-dev \
|
||||
libtool libudev1 lsb-release m4 python3-pip rpm texinfo wget && \
|
||||
libtool libudev1 lsb-release m4 ninja-build python3-pip rpm texinfo wget && \
|
||||
OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | sed 's/=/ /'1 | awk '{print $NF}' | sed 's/"//g') && \
|
||||
if [ "${OS_VERSION}" == "24.04" ]; then \
|
||||
python3 -m pip install --break-system-packages 'cmake==3.21'; \
|
||||
|
||||
@@ -28,7 +28,7 @@ RUN apt-get update && \
|
||||
apt-get install -y autoconf autotools-dev bash-completion bison build-essential \
|
||||
bzip2 chrpath cmake curl environment-modules flex gettext git-core gnupg2 \
|
||||
gzip iproute2 libiberty-dev libpapi-dev libpfm4-dev libsqlite3-dev libtool \
|
||||
locales lsb-release m4 python3-pip texinfo unzip wget vim zip zlib1g-dev && \
|
||||
locales lsb-release m4 ninja-build python3-pip texinfo unzip wget vim zip zlib1g-dev && \
|
||||
apt-get autoclean && \
|
||||
if [ "${OS_VERSION}" == "24.04" ]; then \
|
||||
python3 -m pip install --break-system-packages 'cmake==3.21' perfetto \
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user