Adding installer for Ubuntu 24.04 (#14)
* Add installers for ubuntu 24.04
* Formatting change to the ubuntu-focal and ubuntu-jammy workflows
* Initial Ubuntu 24.04 workflow - just build test
[ROCm/rocprofiler-systems commit: 398ea62629]
This commit is contained in:
@@ -25,10 +25,15 @@ ENV PATH ${HOME}/.local/bin:${PATH}
|
||||
RUN apt-get update && \
|
||||
apt-get dist-upgrade -y && \
|
||||
apt-get install -y apt-utils autoconf autotools-dev bash-completion bison \
|
||||
build-essential cmake curl git-core gnupg2 libnuma1 libopenmpi-dev \
|
||||
build-essential cmake curl flex gettext git-core gnupg2 libnuma1 libopenmpi-dev \
|
||||
libpapi-dev libpfm4-dev librpm-dev libtool libudev1 lsb-release m4 \
|
||||
python3-pip rpm texinfo wget && \
|
||||
python3 -m pip install 'cmake==3.18.4'
|
||||
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.18.4'; \
|
||||
else \
|
||||
python3 -m pip install 'cmake==3.18.4'; \
|
||||
fi
|
||||
|
||||
RUN if [ "${ROCM_VERSION}" != "0.0" ]; then \
|
||||
wget https://repo.radeon.com/amdgpu-install/${ROCM_VERSION}/ubuntu/${ROCM_REPO_DIST}/${AMDGPU_DEB} && \
|
||||
|
||||
@@ -26,11 +26,15 @@ ENV CMAKE_PREFIX_PATH /usr/local:${CMAKE_PREFIX_PATH}
|
||||
RUN apt-get update && \
|
||||
apt-get dist-upgrade -y && \
|
||||
apt-get install -y autoconf autotools-dev bash-completion bison build-essential \
|
||||
bzip2 cmake curl environment-modules git-core gnupg2 gzip libiberty-dev \
|
||||
libpapi-dev libpfm4-dev libtool locales lsb-release m4 python3-pip texinfo \
|
||||
unzip wget zip zlib1g-dev && \
|
||||
bzip2 cmake curl environment-modules flex gettext git-core gnupg2 gzip \
|
||||
libiberty-dev libpapi-dev libpfm4-dev libtool locales lsb-release m4 \
|
||||
python3-pip texinfo unzip wget zip zlib1g-dev && \
|
||||
apt-get autoclean && \
|
||||
python3 -m pip install 'cmake==3.18.4'
|
||||
if [ "${OS_VERSION}" == "24.04" ]; then \
|
||||
python3 -m pip install --break-system-packages 'cmake==3.18.4' \
|
||||
else \
|
||||
python3 -m pip install 'cmake==3.18.4'; \
|
||||
fi
|
||||
|
||||
COPY ./dyninst-source /tmp/dyninst
|
||||
|
||||
|
||||
@@ -176,6 +176,9 @@ do
|
||||
case "${ROCM_VERSION}" in
|
||||
6.*)
|
||||
case "${VERSION}" in
|
||||
24.04)
|
||||
ROCM_REPO_DIST="noble"
|
||||
;;
|
||||
22.04)
|
||||
ROCM_REPO_DIST="jammy"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user