Skip to content

Commit 96b10cf

Browse files
committed
ci: unbreak icc/icx CI by not installing Qt6
A few days ago, the icc and icx CI tests started failing, saying they were out of disk space while installing dependencies (specifically, the intel compilers themselves). Now, the VFX Platform 2023 asf docker image I'm using hasn't changed, and neither has the years-old Intel rpms with the compilers. So maybe the runners themselves just changed again, in a way that adds some pre-installs and leaving us not quite enough disk space for everything else we need? Try eliminating our Qt6 install for these tests, and adding some `df` commands to check disk space to diagnose, to see if we can figure out a way to make these tests pass. Signed-off-by: Larry Gritz <[email protected]>
1 parent 8887077 commit 96b10cf

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

.github/workflows/build-steps.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,20 @@ jobs:
131131
run: |
132132
${{inputs.setenvs}}
133133
src/build-scripts/ci-startup.bash
134+
# - name: Free Disk Space (Ubuntu)
135+
# uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
136+
# with:
137+
# # this might remove tools that are actually needed,
138+
# # if set to "true" but frees about 6 GB
139+
# tool-cache: false
140+
# # all of these default to true, but feel free to set to
141+
# # "false" if necessary for your workflow
142+
# android: true
143+
# dotnet: true
144+
# haskell: true
145+
# large-packages: false
146+
# docker-images: true
147+
# swap-storage: false
134148
- name: Prepare ccache timestamp
135149
id: ccache_cache_keys
136150
shell: bash

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ jobs:
251251
fmt_ver: 7.1.3
252252
# icc MUST use this older FMT version
253253
pybind11_ver: v2.9.0
254-
setenvs: export USE_ICC=1 USE_OPENVDB=0
254+
setenvs: export USE_ICC=1 USE_OPENVDB=0 USE_OPENCV=0
255255
OIIO_EXTRA_CPP_ARGS="-fp-model=precise"
256256
FREETYPE_VERSION=VER-2-13-0
257257
DISABLE_libuhdr=1
@@ -269,7 +269,7 @@ jobs:
269269
pybind11_ver: v2.10.0
270270
simd: "avx2,f16c"
271271
benchmark: 1
272-
setenvs: export USE_OPENVDB=0
272+
setenvs: export USE_OPENVDB=0 USE_OPENCV=0 USE_FFMPEG=0
273273
UHDR_CMAKE_C_COMPILER=gcc
274274
UHDR_CMAKE_CXX_COMPILER=g++
275275
# Building libuhdr with icx results in test failures

src/build-scripts/gh-installdeps.bash

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77

88

99
set -ex
10+
df -h
11+
# Try to reclaim some space
12+
sudo du -sh \
13+
/usr/share/dotnet/ \
14+
/usr/local/lib/android \
15+
/opt/ghc \
16+
/usr/local/share/powershell \
17+
/usr/share/swift \
18+
/usr/local/.ghcup \
19+
/usr/local/aws-cli \
20+
/usr/local/aws-sam-cli \
21+
/usr/local/julia* \
22+
/usr/lib/jvm || true
23+
sudo du -sh \
24+
/usr/share/dotnet/ \
25+
/usr/local/lib/android || true
26+
df -h
1027

1128

1229
#
@@ -16,6 +33,11 @@ if [[ "$ASWF_ORG" != "" ]] ; then
1633
# Using ASWF container
1734

1835
#ls /etc/yum.repos.d
36+
rpm -qa --queryformat '%10{size} - %-25{name} \t %{version}\n' | sort -n
37+
38+
time sudo yum remove -y nsight-compute-2022.3.0 libcublas-devel-11-8 libcublas-11-8 libcusparse-devel-11-8 libnpp-devel-11-8 libnpp-11-8 libcurand-devel-11-8 libcurand-11-8 || true
39+
time sudo yum remove -y nsight-compute-2024.3.1 libcublas-devel-12-6 libcublas-12-6 libcusparse-devel-12-6 libnpp-devel-12-6 libnpp-12-6 libcurand-devel-12-6 libcurand-12-6 || true
40+
df -h
1941

2042
# time sudo dnf upgrade --refresh || true
2143
time sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y || true
@@ -225,5 +247,7 @@ if [[ "$USE_ICC" != "" ]] ; then
225247
export CC=icc
226248
fi
227249

250+
df -h
251+
228252
# Save the env for use by other stages
229253
src/build-scripts/save-env.bash

0 commit comments

Comments
 (0)