From 079d778b585ea6f930e29ca2da0a30e9e3cb6c8f Mon Sep 17 00:00:00 2001 From: David Galiffi Date: Wed, 30 Oct 2024 11:39:21 -0400 Subject: [PATCH] Update workflow to install cmake-3.21.4 This is the latest version used in cmake_minimum_required. Signed-off-by: David Galiffi --- .github/workflows/opensuse.yml | 2 +- .github/workflows/redhat.yml | 2 +- .github/workflows/ubuntu-focal.yml | 8 ++++---- .github/workflows/ubuntu-jammy.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/opensuse.yml b/.github/workflows/opensuse.yml index 170d1599..68447970 100644 --- a/.github/workflows/opensuse.yml +++ b/.github/workflows/opensuse.yml @@ -62,7 +62,7 @@ jobs: chmod +x /opt/trace_processor/bin/trace_processor_shell python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done - name: Configure Env diff --git a/.github/workflows/redhat.yml b/.github/workflows/redhat.yml index 731fe60a..f9e7ee96 100644 --- a/.github/workflows/redhat.yml +++ b/.github/workflows/redhat.yml @@ -76,7 +76,7 @@ jobs: yum install -y curl dpkg-devel numactl-devel openmpi-devel papi-devel python3-pip texinfo wget which zlib-devel && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done - name: Install ROCm Packages diff --git a/.github/workflows/ubuntu-focal.yml b/.github/workflows/ubuntu-focal.yml index d48bdafa..b7f11327 100644 --- a/.github/workflows/ubuntu-focal.yml +++ b/.github/workflows/ubuntu-focal.yml @@ -98,7 +98,7 @@ jobs: chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done && apt-get -y --purge autoremove && apt-get -y clean && @@ -280,7 +280,7 @@ jobs: chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done && apt-get -y --purge autoremove && apt-get -y clean && @@ -443,7 +443,7 @@ jobs: chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && sudo apt-get -y --purge autoremove && sudo apt-get -y clean @@ -596,7 +596,7 @@ jobs: chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && for i in 6 7 8 9 10; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done && apt-get -y --purge autoremove && apt-get -y clean && diff --git a/.github/workflows/ubuntu-jammy.yml b/.github/workflows/ubuntu-jammy.yml index 3a43ce29..033b4268 100644 --- a/.github/workflows/ubuntu-jammy.yml +++ b/.github/workflows/ubuntu-jammy.yml @@ -114,7 +114,7 @@ jobs: chmod +x /opt/trace_processor/bin/trace_processor_shell && python3 -m pip install --upgrade pip && python3 -m pip install --upgrade numpy perfetto dataclasses && - python3 -m pip install --upgrade cmake && + python3 -m pip install cmake==3.21.4 && for i in 6 7 8 9 10 11; do /opt/conda/envs/py3.${i}/bin/python -m pip install --upgrade numpy perfetto dataclasses; done - name: Install ROCm Packages