Skip to content

Commit 453d25b

Browse files
authored
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 bda7495 commit 453d25b

File tree

2 files changed

+17
-33
lines changed

2 files changed

+17
-33
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
container: aswftesting/ci-osl:2022-clang13
5858
vfxyear: 2022
5959
cxx_std: 17
60-
openimageio_ver: release
60+
openimageio_ver: v2.5.17.0
6161
python_ver: 3.9
6262
pybind11_ver: v2.9.0
6363
simd: avx2,f16c
@@ -68,6 +68,7 @@ jobs:
6868
container: aswftesting/ci-osl:2022-clang12
6969
vfxyear: 2022
7070
cxx_std: 17
71+
opencolorio_ver: v2.2.1
7172
openimageio_ver: main
7273
python_ver: 3.9
7374
pybind11_ver: v2.7.0
@@ -94,7 +95,8 @@ jobs:
9495
cxx_compiler: icpc
9596
cxx_std: 17
9697
fmt_ver: 7.1.3
97-
openimageio_ver: release
98+
opencolorio_ver: v2.3.2
99+
openimageio_ver: v2.5.17.0
98100
# Changes to OIIO's simd.h starting in commit 68666db9 (from PR
99101
# #4187) seem to trigger compiler bugs in icc and generate wrong
100102
# SIMD code. It's probably not worth tracking down for just this
@@ -108,7 +110,7 @@ jobs:
108110
batched: b8_AVX2_noFMA
109111
setenvs: export OSL_CMAKE_FLAGS="-DSTOP_ON_WARNING=OFF -DEXTRA_CPP_ARGS=-fp-model=consistent"
110112
OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=7.1.3
111-
USE_OPENVDB=0
113+
USE_OPENVDB=0 OPENCOLORIO_CXX=g++
112114
- desc: icx/C++17 llvm14 py3.9 oiio2.3 avx2
113115
nametag: linux-icx
114116
runner: ubuntu-latest
@@ -118,13 +120,14 @@ jobs:
118120
cxx_compiler: icpx
119121
cxx_std: 17
120122
fmt_ver: 7.1.3
123+
opencolorio_ver: v2.3.2
121124
openimageio_ver: main
122125
python_ver: 3.9
123126
pybind11_ver: v2.9.0
124127
simd: avx2,f16c
125128
batched: b8_AVX2_noFMA
126129
setenvs: export OSL_CMAKE_FLAGS="-DSTOP_ON_WARNING=OFF" USE_OPENVDB=0
127-
OPENCOLORIO_VERSION=v2.3.2 OPENCOLORIO_CXX=g++
130+
OPENCOLORIO_CXX=g++
128131
- desc: gcc11/C++17 llvm15 py3.10 oiio-rel avx2
129132
nametag: linux-vfx2023
130133
runner: ubuntu-latest
@@ -249,6 +252,7 @@ jobs:
249252
CC: ${{matrix.cc_compiler}}
250253
CMAKE_CXX_STANDARD: ${{matrix.cxx_std}}
251254
FMT_VERSION: ${{matrix.fmt_ver}}
255+
OPENCOLORIO_VERSION: ${{matrix.opencolorio_ver}}
252256
OPENEXR_VERSION: ${{matrix.openexr_ver}}
253257
OPENIMAGEIO_VERSION: ${{matrix.openimageio_ver}}
254258
PYBIND11_VERSION: ${{matrix.pybind11_ver}}
@@ -356,14 +360,14 @@ jobs:
356360
LLVM_VERSION=9.0.0
357361
PUGIXML_VERSION=v1.9
358362
CTEST_TEST_TIMEOUT=240
359-
- desc: gcc10/C++17 llvm10 oiio-release avx2
363+
- desc: gcc10/C++17 llvm10 oiio-2.5 avx2
360364
nametag: linux-2021ish-gcc10-llvm10
361365
runner: ubuntu-20.04
362366
cxx_compiler: g++-10
363367
cxx_std: 17
364368
fmt_ver: 7.0.1
365369
openexr_ver: v3.1.11
366-
openimageio_ver: release
370+
openimageio_ver: v2.5.17.0
367371
pybind11_ver: v2.8.1
368372
python_ver: 3.8
369373
simd: avx2,f16c
@@ -386,28 +390,6 @@ jobs:
386390
batched: b8_AVX2,b8_AVX512,b16_AVX512
387391
setenvs: export LLVM_VERSION=17.0.6
388392
LLVM_DISTRO_NAME=ubuntu-22.04
389-
OPENCOLORIO_VERSION=v2.4.0
390-
LIBTIFF_VERSION=v4.7.0
391-
PTEX_VERSION=v2.4.3
392-
PUGIXML_VERSION=v1.14
393-
FREETYPE_VERSION=VER-2-13-3
394-
- desc: latest releases +OIIO3 gcc11/C++17 llvm17 exr3.2 py3.10 avx2 batch-b16avx512
395-
nametag: linux-latest-releases-oiio3dev
396-
runner: ubuntu-24.04
397-
cc_compiler: gcc-13
398-
cxx_compiler: g++-13
399-
cxx_std: 17
400-
fmt_ver: 11.0.2
401-
opencolorio_ver: v2.4.0
402-
openexr_ver: v3.3.0
403-
openimageio_ver: dev-3.0
404-
pybind11_ver: v2.13.5
405-
python_ver: "3.12"
406-
simd: avx2,f16c
407-
batched: b8_AVX2,b8_AVX512,b16_AVX512
408-
setenvs: export LLVM_VERSION=17.0.6
409-
LLVM_DISTRO_NAME=ubuntu-22.04
410-
OPENCOLORIO_VERSION=v2.4.0
411393
LIBTIFF_VERSION=v4.7.0
412394
PTEX_VERSION=v2.4.3
413395
PUGIXML_VERSION=v1.14
@@ -419,6 +401,7 @@ jobs:
419401
cxx_compiler: g++-13
420402
cxx_std: 17
421403
fmt_ver: master
404+
opencolorio_ver: main
422405
openexr_ver: main
423406
openimageio_ver: main
424407
pybind11_ver: master
@@ -427,7 +410,6 @@ jobs:
427410
batched: b8_AVX2,b8_AVX512,b16_AVX512
428411
setenvs: export LLVM_VERSION=17.0.6
429412
LLVM_DISTRO_NAME=ubuntu-22.04
430-
OPENCOLORIO_VERSION=main
431413
PUGIXML_VERSION=master
432414
- desc: clang14/C++17 llvm14 py3.8 avx2 batch-b16avx512
433415
nametag: linux-latest-releases-clang
@@ -436,15 +418,15 @@ jobs:
436418
cc_compiler: clang
437419
cxx_std: 17
438420
fmt_ver: 8.1.1
421+
opencolorio_ver: v2.2.1
439422
openexr_ver: v3.1.11
440-
openimageio_ver: main
423+
openimageio_ver: release
441424
pybind11_ver: v2.9.2
442425
python_ver: 3.8
443426
simd: avx2,f16c
444427
batched: b8_AVX2,b8_AVX512,b16_AVX512
445428
setenvs: export LLVM_VERSION=14.0.0
446429
LLVM_DISTRO_NAME=ubuntu-18.04
447-
OPENCOLORIO_VERSION=v2.1.2
448430
PUGIXML_VERSION=v1.11.4
449431
# Test formatting. This test entry doesn't do a full build, it
450432
# just runs clang-format on everything, and passes if nothing is
@@ -456,6 +438,7 @@ jobs:
456438
runner: ubuntu-latest
457439
cxx_std: 17
458440
extra_artifacts: "src/*.*"
441+
opencolorio_ver: v2.4.0
459442
openexr_ver: v3.1.11
460443
openimageio_ver: release
461444
python_ver: "3.10"
@@ -475,6 +458,7 @@ jobs:
475458
CC: ${{matrix.cc_compiler}}
476459
CMAKE_CXX_STANDARD: ${{matrix.cxx_std}}
477460
FMT_VERSION: ${{matrix.fmt_ver}}
461+
OPENCOLORIO_VERSION: ${{matrix.opencolorio_ver}}
478462
OPENEXR_VERSION: ${{matrix.openexr_ver}}
479463
OPENIMAGEIO_VERSION: ${{matrix.openimageio_ver}}
480464
PYBIND11_VERSION: ${{matrix.pybind11_ver}}
@@ -537,7 +521,7 @@ jobs:
537521
cc_compiler: /usr/local/opt/llvm/bin/clang
538522
cxx_compiler: /usr/local/opt/llvm/bin/clang++
539523
cxx_std: 17
540-
openimageio_ver: main
524+
openimageio_ver: release
541525
python_ver: "3.11"
542526
aclang: 14
543527
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)