Skip to content

Commit f8b5a38

Browse files
committed
ci: Various adjustments for OIIO 3.0 becoming the release (#1901)
Some of the changes are specifically related to OIIO 3.0 requiring OCIO and raising the minimum version it needs. Signed-off-by: Larry Gritz <[email protected]>
1 parent d0a598d commit f8b5a38

File tree

2 files changed

+25
-16
lines changed

2 files changed

+25
-16
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
container: aswftesting/ci-osl:2022-clang13
9292
vfxyear: 2022
9393
cxx_std: 17
94-
openimageio_ver: release
94+
openimageio_ver: v2.5.17.0
9595
python_ver: 3.9
9696
pybind11_ver: v2.9.0
9797
simd: avx2,f16c
@@ -102,6 +102,7 @@ jobs:
102102
container: aswftesting/ci-osl:2022-clang12
103103
vfxyear: 2022
104104
cxx_std: 17
105+
opencolorio_ver: v2.2.1
105106
openimageio_ver: main
106107
python_ver: 3.9
107108
pybind11_ver: v2.7.0
@@ -117,7 +118,8 @@ jobs:
117118
cxx_compiler: icpc
118119
cxx_std: 17
119120
fmt_ver: 7.1.3
120-
openimageio_ver: release
121+
opencolorio_ver: v2.3.2
122+
openimageio_ver: v2.5.17.0
121123
# Changes to OIIO's simd.h starting in commit 68666db9 (from PR
122124
# #4187) seem to trigger compiler bugs in icc and generate wrong
123125
# SIMD code. It's probably not worth tracking down for just this
@@ -131,8 +133,8 @@ jobs:
131133
batched: b8_AVX2_noFMA
132134
setenvs: export OSL_CMAKE_FLAGS="-DSTOP_ON_WARNING=OFF -DEXTRA_CPP_ARGS=-fp-model=consistent"
133135
OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=7.1.3
134-
USE_OPENVDB=0
135-
- desc: icx/C++17 llvm14 py3.9 boost1.76 exr3.1 oiio2.3 avx2
136+
USE_OPENVDB=0 OPENCOLORIO_CXX=g++
137+
- desc: icx/C++17 llvm14 py3.9 oiio2.3 avx2
136138
nametag: linux-icx
137139
runner: ubuntu-latest
138140
container: aswftesting/ci-osl:2022-clang14
@@ -141,14 +143,15 @@ jobs:
141143
cxx_compiler: icpx
142144
cxx_std: 17
143145
fmt_ver: 7.1.3
146+
opencolorio_ver: v2.3.2
144147
openimageio_ver: main
145148
python_ver: 3.9
146149
pybind11_ver: v2.9.0
147150
simd: avx2,f16c
148151
batched: b8_AVX2_noFMA
149152
setenvs: export OSL_CMAKE_FLAGS="-DSTOP_ON_WARNING=OFF" USE_OPENVDB=0
150-
OPENCOLORIO_VERSION=v2.3.2 OPENCOLORIO_CXX=g++
151-
- desc: gcc11/C++17 llvm15 py3.10 boost1.80 exr3.1 oiio-rel avx2
153+
OPENCOLORIO_CXX=g++
154+
- desc: gcc11/C++17 llvm15 py3.10 oiio-rel avx2
152155
nametag: linux-vfx2023
153156
runner: ubuntu-latest
154157
container: aswftesting/ci-osl:2023-clang15
@@ -271,6 +274,7 @@ jobs:
271274
CC: ${{matrix.cc_compiler}}
272275
CMAKE_CXX_STANDARD: ${{matrix.cxx_std}}
273276
FMT_VERSION: ${{matrix.fmt_ver}}
277+
OPENCOLORIO_VERSION: ${{matrix.opencolorio_ver}}
274278
OPENEXR_VERSION: ${{matrix.openexr_ver}}
275279
OPENIMAGEIO_VERSION: ${{matrix.openimageio_ver}}
276280
PYBIND11_VERSION: ${{matrix.pybind11_ver}}
@@ -377,8 +381,8 @@ jobs:
377381
cxx_compiler: g++-10
378382
cxx_std: 17
379383
fmt_ver: 7.0.1
380-
openexr_ver: v2.5.6
381-
openimageio_ver: release
384+
openexr_ver: v3.1.11
385+
openimageio_ver: v2.5.17.0
382386
pybind11_ver: v2.8.1
383387
# python_ver: 2.7 FIXME
384388
simd: avx2,f16c
@@ -399,14 +403,17 @@ jobs:
399403
batched: b8_AVX2,b8_AVX512,b16_AVX512
400404
setenvs: export LLVM_VERSION=16.0.4
401405
LLVM_DISTRO_NAME=ubuntu-22.04
402-
OPENCOLORIO_VERSION=v2.2.0
403-
PUGIXML_VERSION=v1.13
404-
- desc: bleeding edge gcc12/C++17 llvm17 oiio/ocio/exr/pybind-main boost1.71 py3.10 avx2 batch-b16avx512
406+
LIBTIFF_VERSION=v4.7.0
407+
PTEX_VERSION=v2.4.3
408+
PUGIXML_VERSION=v1.14
409+
FREETYPE_VERSION=VER-2-13-3
410+
- desc: bleeding edge gcc12/C++17 llvm17 oiio/ocio/exr/pybind-main py3.10 avx2 batch-b16avx512
405411
nametag: linux-bleeding-edge
406412
runner: ubuntu-22.04
407413
cxx_compiler: g++-12
408414
cxx_std: 17
409415
fmt_ver: master
416+
opencolorio_ver: main
410417
openexr_ver: main
411418
openimageio_ver: main
412419
pybind11_ver: master
@@ -415,7 +422,6 @@ jobs:
415422
batched: b8_AVX2,b8_AVX512,b16_AVX512
416423
setenvs: export LLVM_VERSION=17.0.6
417424
LLVM_DISTRO_NAME=ubuntu-22.04
418-
OPENCOLORIO_VERSION=main
419425
PUGIXML_VERSION=master
420426
- desc: clang14/C++17 llvm14 boost1.71 exr3.1 py3.8 avx2 batch-b16avx512
421427
nametag: linux-latest-releases-clang
@@ -424,15 +430,15 @@ jobs:
424430
cc_compiler: clang
425431
cxx_std: 17
426432
fmt_ver: 8.1.1
433+
opencolorio_ver: v2.2.1
427434
openexr_ver: v3.1.11
428-
openimageio_ver: main
435+
openimageio_ver: release
429436
pybind11_ver: v2.9.2
430437
python_ver: 3.8
431438
simd: avx2,f16c
432439
batched: b8_AVX2,b8_AVX512,b16_AVX512
433440
setenvs: export LLVM_VERSION=14.0.0
434441
LLVM_DISTRO_NAME=ubuntu-18.04
435-
OPENCOLORIO_VERSION=v2.1.2
436442
PUGIXML_VERSION=v1.11.4
437443
# Test formatting. This test entry doesn't do a full build, it
438444
# just runs clang-format on everything, and passes if nothing is
@@ -445,6 +451,8 @@ jobs:
445451
container: aswftesting/ci-osl:2022-clang14
446452
cxx_std: 17
447453
extra_artifacts: "src/*.*"
454+
opencolorio_ver: v2.4.0
455+
openexr_ver: v3.1.11
448456
openimageio_ver: release
449457
python_ver: "3.10"
450458
simd: avx2,f16c
@@ -462,6 +470,7 @@ jobs:
462470
CC: ${{matrix.cc_compiler}}
463471
CMAKE_CXX_STANDARD: ${{matrix.cxx_std}}
464472
FMT_VERSION: ${{matrix.fmt_ver}}
473+
OPENCOLORIO_VERSION: ${{matrix.opencolorio_ver}}
465474
OPENEXR_VERSION: ${{matrix.openexr_ver}}
466475
OPENIMAGEIO_VERSION: ${{matrix.openimageio_ver}}
467476
PYBIND11_VERSION: ${{matrix.pybind11_ver}}
@@ -524,7 +533,7 @@ jobs:
524533
cc_compiler: /usr/local/opt/llvm/bin/clang
525534
cxx_compiler: /usr/local/opt/llvm/bin/clang++
526535
cxx_std: 17
527-
openimageio_ver: main
536+
openimageio_ver: release
528537
python_ver: "3.11"
529538
aclang: 14
530539
setenvs: export DO_BREW_UPDATE=1 CTEST_TEST_TIMEOUT=120

src/build-scripts/build_opencolorio.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -ex
1111

1212
# Which OCIO to retrieve, how to build it
1313
OPENCOLORIO_REPO=${OPENCOLORIO_REPO:=https://github.com/AcademySoftwareFoundation/OpenColorIO.git}
14-
OPENCOLORIO_VERSION=${OPENCOLORIO_VERSION:=v2.2.1}
14+
OPENCOLORIO_VERSION=${OPENCOLORIO_VERSION:=v2.3.2}
1515

1616
# Where to install the final results
1717
LOCAL_DEPS_DIR=${LOCAL_DEPS_DIR:=${PWD}/ext}

0 commit comments

Comments
 (0)