Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ jobs:
id: submods
shell: bash
run: |
git --version
git config --global --add safe.directory '*'
git submodule status --recursive | awk '{print $1,$2}' > .git-submodules-status
echo "hash=$(sha256sum .git-submodules-status | cut -d' ' -f1)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -449,6 +450,7 @@ jobs:
id: submods
shell: bash
run: |
git --version
git config --global --add safe.directory '*'
git submodule status --recursive | awk '{print $1,$2}' > .git-submodules-status
echo "hash=$(sha256sum .git-submodules-status | cut -d' ' -f1)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -693,6 +695,7 @@ jobs:
id: submods
shell: bash
run: |
git --version
git config --global --add safe.directory '*'
git submodule status --recursive | awk '{print $1,$2}' > .git-submodules-status
echo "hash=$(sha256sum .git-submodules-status | cut -d' ' -f1)" >> "$GITHUB_OUTPUT"
Expand Down
16 changes: 8 additions & 8 deletions projects/rocprofiler-sdk/docker/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
ENV LLVM_PATH=/opt/rocm/llvm
ENV CMAKE_PREFIX_PATH=/opt/rocm
ENV PATH=/opt/rh/gcc-toolset-11/root/usr/bin:/opt/rocm/bin:/opt/rocm/llvm/bin:/usr/local/bin:~/.local/bin:${PATH}
ENV LD_LIBRARY_PATH=/opt/rocm/lib:/opt/rocm/llvm/lib:${LD_LIBRARY_PATH}

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx950 • ubuntu-22.04

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx950 • rhel-8.8

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx94X • rhel-9.5

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx110X • rhel-8.8

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx120X • ubuntu-22.04

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx94X • ubuntu-22.04

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx110X • rhel-9.5

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx120X • rhel-8.8

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx110X • ubuntu-22.04

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx94X • rhel-8.8

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx950 • rhel-9.5

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx950 • sles-15.6

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx110X • sles-15.6

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx120X • rhel-9.5

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx94X • sles-15.6

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 18 in projects/rocprofiler-sdk/docker/Dockerfile.ci

View workflow job for this annotation

GitHub Actions / Build CI Base Image • gfx120X • sles-15.6

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# Debian/Ubuntu
RUN set-euo pipefail; \
if [ -f /etc/debian_version ]; then \
apt-get update && \
apt-get install -y curl wget gpg python3 python3-pip build-essential coreutils software-properties-common git cmake g++-11 g++-12 libdw-dev libsqlite3-dev libdrm-dev file autoconf pkg-config rpm libzstd-dev && \
apt-get install -y curl wget gpg python3 python3-pip build-essential coreutils software-properties-common cmake g++-11 g++-12 libdw-dev libsqlite3-dev libdrm-dev file autoconf pkg-config rpm libzstd-dev && \
add-apt-repository ppa:git-core/ppa && \
mkdir -p /etc/apt/keyrings && \
wget -N -P /tmp/ https://repo.radeon.com/amdgpu-install/latest/ubuntu/jammy/amdgpu-install_7.1.1.70101-1_all.deb && \
Expand All @@ -38,16 +38,16 @@
dnf clean all || true; \
dnf install -y perl-ExtUtils-MakeMaker python3-pip || true; \
if [ $(grep -i "VERSION_ID=\"8.8\"" /etc/os-release | wc -l) -gt 0 ]; then \
wget https://www.kernel.org/pub/software/scm/git/git-2.51.0.tar.xz; \
tar -xf git-2.51.0.tar.xz; \
cd git-2.51.0; \
wget https://www.kernel.org/pub/software/scm/git/git-2.52.0.tar.xz; \
tar -xf git-2.52.0.tar.xz; \
cd git-2.52.0; \
rm -rf /etc/yum.repos.d/redhat-partner.repo || true; \
dnf clean all; \
dnf install -y perl-ExtUtils-MakeMaker || true; \
export PATH=/opt/rh/gcc-toolset-11/root/usr/bin:$PATH; \
make prefix=/usr all -j 32; \
make prefix=/usr install; \
cd ..; rm -rf git-2.51.0*; \
cd ..; rm -rf git-2.52.0*; \
echo -e "[ROCm-latest]\nname=ROCm\nbaseurl=https://repo.radeon.com/rocm/el8/latest/main\nenabled=1\npriority=50\ngpgcheck=1\ngpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/rocm.repo; \
echo -e "[amdgpu]\nname=amdgpu\nbaseurl=https://repo.radeon.com/amdgpu/latest/rhel/8.10/main/x86_64/\nenabled=1\npriority=50\ngpgcheck=1\ngpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/amdgpu.repo; \
else \
Expand Down Expand Up @@ -81,9 +81,9 @@
source ~/.bashrc; \
python3 -m pip install --upgrade pip || true; \
python3 -m pip install --upgrade -r /root/requirements.txt || true; \
cd /tmp; wget https://www.kernel.org/pub/software/scm/git/git-2.51.0.tar.xz; \
tar -xf git-2.51.0.tar.xz; cd git-2.51.0; make prefix=/usr all -j 32; make prefix=/usr install; \
cd /tmp; ln -s -f /usr/bin/git /usr/local/bin/git; rm -rf git-2.51.0*; \
cd /tmp; wget https://www.kernel.org/pub/software/scm/git/git-2.52.0.tar.xz; \
tar -xf git-2.52.0.tar.xz; cd git-2.52.0; make prefix=/usr all -j 32; make prefix=/usr install; \
cd /tmp; ln -s -f /usr/bin/git /usr/local/bin/git; rm -rf git-2.52.0*; \
fi;

# Nightly Tarball
Expand Down
Loading