From 0dd01a909b28b6ffe330d4070e5f5ce54085f5ed Mon Sep 17 00:00:00 2001 From: Jesus Hector Robles Gutierrez Date: Mon, 1 Apr 2024 12:36:39 -0700 Subject: [PATCH] Clean commit and complete disk space wa Signed-off-by: Jesus Hector Robles Gutierrez --- .github/workflows/list_components.yml | 2 +- scripts/install_linux_aitools.sh | 4 ++++ scripts/list_components_linux_aitools.sh | 2 -- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/list_components.yml b/.github/workflows/list_components.yml index f6028f9c..b5d5ec03 100644 --- a/.github/workflows/list_components.yml +++ b/.github/workflows/list_components.yml @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.x' + python-version: '3.x' - name: IntelĀ® AI Tools Toolkit run: scripts/list_components_linux_aitools.sh $LINUX_AIKIT_URL doc/source/${{ github.workflow }}/${{ github.job }}_aitools.txt - name: Upload artifacts diff --git a/scripts/install_linux_aitools.sh b/scripts/install_linux_aitools.sh index 9c8e558f..56876fd5 100755 --- a/scripts/install_linux_aitools.sh +++ b/scripts/install_linux_aitools.sh @@ -7,6 +7,10 @@ URL=$1 curl --output webimage.sh --url "$URL" --retry 5 --retry-delay 5 +sudo rm -rf /usr/share/dotnet +sudo rm -rf /opt/ghc +sudo rm -rf "/usr/local/share/boost" +sudo rm -rf "$AGENT_TOOLSDIRECTORY" chmod +x webimage.sh sudo ./webimage.sh -b -p /intel/oneapi/intelpython installer_exit_code=$? diff --git a/scripts/list_components_linux_aitools.sh b/scripts/list_components_linux_aitools.sh index 2bff9a16..53cdc5fa 100755 --- a/scripts/list_components_linux_aitools.sh +++ b/scripts/list_components_linux_aitools.sh @@ -9,12 +9,10 @@ FILENAME=$2 curl --output webimage.sh --url "$URL" --retry 5 --retry-delay 5 chmod +x webimage.sh -df -h sudo rm -rf /usr/share/dotnet sudo rm -rf /opt/ghc sudo rm -rf "/usr/local/share/boost" sudo rm -rf "$AGENT_TOOLSDIRECTORY" -df -h ./webimage.sh -b -p webimage_extracted rm -rf webimage.sh source "$HOME"/work/oneapi-ci/oneapi-ci/webimage_extracted/bin/activate base