Skip to content

Commit 57fa479

Browse files
committed
build: Update autobuild defaults for some dependencies (#4910)
Raise the version we "autobuild" for some packages: * OpenJPEG 2.5.2 -> 2.5.4 * pybind11 3.0.0 -> 3.0.1 * libtiff 4.6.0 -> 4.7.1 * webp 1.4.0 -> 1.6.0 * libjpeg-turbo 3.0.4 -> 3.1.2 And some minor debugging and other aids along the way: * After a build, on linux, do a `ldd` to verify what libraries are linked dynamically for the logs. * Enhance build_dependency_with_cmake macro to allow optional commands: GIT_COMMIT, GIT_SHALLOW, QUIET Signed-off-by: Larry Gritz <[email protected]>
1 parent d4c8024 commit 57fa479

16 files changed

+76
-49
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
pybind11_ver: v2.9.0
6262
setenvs: export FREETYPE_VERSION=VER-2-12-0
6363
BUILD_PNG_VERSION=1.6.30
64+
WebP_BUILD_VERSION=1.5.0
6465
- desc: VP2022 clang13/C++17 py39 avx2 exr3.1 ocio2.3
6566
nametag: linux-vfx2022.clang13
6667
runner: ubuntu-latest
@@ -359,7 +360,7 @@ jobs:
359360
cxx_std: 17
360361
python_ver: "3.11"
361362
simd: "avx2,f16c"
362-
fmt_ver: 11.1.4
363+
fmt_ver: 11.2.0
363364
pybind11_ver: v2.13.6
364365
benchmark: 1
365366
setenvs: export PUGIXML_VERSION=v1.15
@@ -481,17 +482,17 @@ jobs:
481482
cc_compiler: gcc-13
482483
cxx_compiler: g++-13
483484
cxx_std: 20
484-
fmt_ver: 11.2.0
485+
fmt_ver: 12.0.0
485486
opencolorio_ver: v2.4.2
486487
openexr_ver: v3.4.0
487-
pybind11_ver: v3.0.0
488+
pybind11_ver: v3.0.1
488489
python_ver: "3.12"
489490
simd: avx2,f16c
490-
setenvs: export LIBJPEGTURBO_VERSION=3.1.1
491+
setenvs: export LIBJPEGTURBO_VERSION=3.1.2
491492
LIBPNG_VERSION=v1.6.50
492493
LIBRAW_VERSION=0.21.4
493-
LIBTIFF_VERSION=v4.7.0
494-
OPENJPEG_VERSION=v2.5.3
494+
LIBTIFF_VERSION=v4.7.1
495+
OPENJPEG_VERSION=v2.5.4
495496
PTEX_VERSION=v2.4.3
496497
PUGIXML_VERSION=v1.15
497498
WEBP_VERSION=v1.6.0
@@ -541,9 +542,9 @@ jobs:
541542
python_ver: "3.10"
542543
simd: avx2,f16c
543544
setenvs: export OpenImageIO_BUILD_LOCAL_DEPS=all
544-
LIBJPEGTURBO_VERSION=3.0.4
545-
LIBRAW_VERSION=0.21.3
546-
OPENJPEG_VERSION=v2.4.0
545+
OpenImageIO_DEPENDENCY_BUILD_VERBOSE=ON
546+
LIBRAW_VERSION=0.21.4
547+
OPENJPEG_VERSION=v2.5.4
547548
PTEX_VERSION=v2.4.2
548549
PUGIXML_VERSION=v1.14
549550
WEBP_VERSION=v1.4.0
@@ -589,16 +590,16 @@ jobs:
589590
cc_compiler: gcc-14
590591
cxx_compiler: g++-14
591592
cxx_std: 20
592-
fmt_ver: 11.2.0
593+
fmt_ver: 12.0.0
593594
opencolorio_ver: v2.4.2
594595
openexr_ver: v3.4.0
595-
pybind11_ver: v3.0.0
596+
pybind11_ver: v3.0.1
596597
python_ver: "3.12"
597-
setenvs: export LIBJPEGTURBO_VERSION=3.1.1
598+
setenvs: export LIBJPEGTURBO_VERSION=3.1.2
598599
LIBPNG_VERSION=v1.6.50
599600
LIBRAW_VERSION=0.21.4
600-
LIBTIFF_VERSION=v4.7.0
601-
OPENJPEG_VERSION=v2.5.3
601+
LIBTIFF_VERSION=v4.7.1
602+
OPENJPEG_VERSION=v2.5.4
602603
PTEX_VERSION=v2.4.3
603604
PUGIXML_VERSION=v1.15
604605
WEBP_VERSION=v1.6.0
@@ -610,16 +611,16 @@ jobs:
610611
cc_compiler: clang-18
611612
cxx_compiler: clang++-18
612613
cxx_std: 20
613-
fmt_ver: 11.2.0
614+
fmt_ver: 12.0.0
614615
opencolorio_ver: v2.4.2
615616
openexr_ver: v3.4.0
616-
pybind11_ver: v3.0.0
617+
pybind11_ver: v3.0.1
617618
python_ver: "3.12"
618-
setenvs: export LIBJPEGTURBO_VERSION=3.1.0
619+
setenvs: export LIBJPEGTURBO_VERSION=3.1.2
619620
LIBPNG_VERSION=v1.6.50
620621
LIBRAW_VERSION=0.21.4
621-
LIBTIFF_VERSION=v4.7.0
622-
OPENJPEG_VERSION=v2.5.3
622+
LIBTIFF_VERSION=v4.7.1
623+
OPENJPEG_VERSION=v2.5.4
623624
PTEX_VERSION=v2.4.3
624625
PUGIXML_VERSION=v1.15
625626
WEBP_VERSION=v1.6.0

INSTALL.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ NEW or CHANGED MINIMUM dependencies since the last major release are **bold**.
2727
* libjpeg >= 8 (tested through jpeg9e), or libjpeg-turbo >= 2.1 (tested
2828
through 3.1)
2929
* zlib >= 1.2.7 (tested through 1.3.1)
30-
* [fmtlib](https://github.com/fmtlib/fmt) >= 7.0 (tested through 11.2 and master).
30+
* [fmtlib](https://github.com/fmtlib/fmt) >= 7.0 (tested through 12.0 and master).
3131
If not found at build time, this will be automatically downloaded unless
3232
the build sets `-DBUILD_MISSING_FMT=OFF`.
3333
* [Robin-map](https://github.com/Tessil/robin-map) (unknown minimum, tested
@@ -51,20 +51,20 @@ NEW or CHANGED MINIMUM dependencies since the last major release are **bold**.
5151
* If you want support for a wide variety of video formats:
5252
* ffmpeg >= 4.0 (tested through 8.0)
5353
* If you want support for jpeg 2000 images:
54-
* OpenJpeg >= 2.0 (tested through 2.5.3; we recommend 2.4 or higher
54+
* OpenJpeg >= 2.0 (tested through 2.5.4; we recommend 2.4 or higher
5555
for multithreading support)
5656
* If you want support for OpenVDB files:
5757
* OpenVDB >= 9.0 (tested through 12.1).
5858
* If you want to use TBB as the thread pool:
5959
* TBB >= 2018 (tested through 2021 and OneTBB)
6060
* If you want support for converting to and from OpenCV data structures,
6161
or for capturing images from a camera:
62-
* OpenCV 4.x (tested through 4.11)
62+
* OpenCV 4.x (tested through 4.12)
6363
* If you want support for GIF images:
6464
* giflib >= 5.0 (tested through 5.2.2)
6565
* If you want support for HEIF/HEIC or AVIF images:
6666
* libheif >= 1.11 (1.16 required for correct orientation support,
67-
tested through 1.19.8)
67+
tested through 1.20.2)
6868
* libheif must be built with an AV1 encoder/decoder for AVIF support.
6969
* If you want support for DICOM medical image files:
7070
* DCMTK >= 3.6.1 (tested through 3.6.9)
@@ -78,10 +78,8 @@ NEW or CHANGED MINIMUM dependencies since the last major release are **bold**.
7878
* libultrahdr >= 1.3 (tested through 1.4)
7979
* If you want support for JPEG XL images:
8080
* libjxl >= 0.10.1 (tested through 0.11.1)
81-
* If you want support for "Ultra HDR" inside JPEG images:
82-
* libuhdr >= 1.3 (tested through 1.4)
8381
* If you want support for j2c files:
84-
* OpenJPH >= 0.21.2 (tested through 0.22)
82+
* OpenJPH >= 0.21.2 (tested through 0.23)
8583
* We use PugiXML for XML parsing. There is a version embedded in the OIIO
8684
tree, but if you want to use an external, system-installed version (as
8785
may be required by some software distributions with policies against

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ SKBUILD_CMAKE_ARGS = "-DLINKSTATIC=1"
119119
# Suppress warnings that cause linux cibuildwheel build to fail
120120
CXXFLAGS = "-Wno-error=stringop-overflow -Wno-pragmas"
121121
SKBUILD_CMAKE_BUILD_TYPE = "MinSizeRel"
122+
# FIXME: Getting build problems when using WebP 1.6.0, so hold it back
123+
WebP_BUILD_VERSION = "1.5.0"
122124

123125
[tool.cibuildwheel.windows.environment]
124126
SKBUILD_CMAKE_BUILD_TYPE = "MinSizeRel"

src/build-scripts/build_OpenJPEG.bash

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

1212
# Repo and branch/tag/commit of OpenJPEG to download if we don't have it yet
1313
OPENJPEG_REPO=${OPENJPEG_REPO:=https://github.com/uclouvain/openjpeg.git}
14-
OPENJPEG_VERSION=${OPENJPEG_VERSION:=v2.5.2}
14+
OPENJPEG_VERSION=${OPENJPEG_VERSION:=v2.5.4}
1515

1616
# Where to put OpenJPEG repo source (default to the ext area)
1717
LOCAL_DEPS_DIR=${LOCAL_DEPS_DIR:=${PWD}/ext}

src/build-scripts/build_libjpeg-turbo.bash

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

1212
# Repo and branch/tag/commit of libjpeg-turbo to download if we don't have it yet
1313
LIBJPEGTURBO_REPO=${LIBJPEGTURBO_REPO:=https://github.com/libjpeg-turbo/libjpeg-turbo.git}
14-
LIBJPEGTURBO_VERSION=${LIBJPEGTURBO_VERSION:=3.0.4}
14+
LIBJPEGTURBO_VERSION=${LIBJPEGTURBO_VERSION:=3.1.2}
1515

1616
# Where to put libjpeg-turbo repo source (default to the ext area)
1717
LOCAL_DEPS_DIR=${LOCAL_DEPS_DIR:=${PWD}/ext}

src/build-scripts/build_libraw.bash

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

1212
# Which LibRaw to retrieve, how to build it
1313
LIBRAW_REPO=${LIBRAW_REPO:=https://github.com/LibRaw/LibRaw.git}
14-
LIBRAW_VERSION=${LIBRAW_VERSION:=0.21.3}
14+
LIBRAW_VERSION=${LIBRAW_VERSION:=0.21.4}
1515

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

src/build-scripts/build_libtiff.bash

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LIBTIFF_REPO=${LIBTIFF_REPO:=https://gitlab.com/libtiff/libtiff.git}
1313
LOCAL_DEPS_DIR=${LOCAL_DEPS_DIR:=${PWD}/ext}
1414
LIBTIFF_BUILD_DIR=${LIBTIFF_BUILD_DIR:=${LOCAL_DEPS_DIR}/libtiff}
1515
LIBTIFF_INSTALL_DIR=${LIBTIFF_INSTALL_DIR:=${PWD}/ext/dist}
16-
LIBTIFF_VERSION=${LIBTIFF_VERSION:=v4.6.0}
16+
LIBTIFF_VERSION=${LIBTIFF_VERSION:=v4.7.1}
1717
LIBTIFF_BUILD_TYPE=${LIBTIFF_BUILD_TYPE:=Release}
1818
if [[ `uname` == "Linux" ]] ; then
1919
LIBTIFF_CXX_FLAGS=${LIBTIFF_CXX_FLAGS:="-O3 -Wno-unused-function -Wno-deprecated-declarations -Wno-cast-qual -Wno-write-strings"}
@@ -42,6 +42,8 @@ if [[ -z $DEP_DOWNLOAD_ONLY ]]; then
4242
-DCMAKE_INSTALL_PREFIX=${LIBTIFF_INSTALL_DIR} \
4343
-DCMAKE_CXX_FLAGS="${LIBTIFF_CXX_FLAGS}" \
4444
-DBUILD_SHARED_LIBS=${LIBTIFF_BUILD_SHARED_LIBS:-ON} \
45+
-Dtiff-tools=${LIBTIFF_BUILD_TESTS:-OFF} \
46+
-Dtiff-contrib=${LIBTIFF_BUILD_TESTS:-OFF} \
4547
-Dtiff-tests=${LIBTIFF_BUILD_TESTS:-OFF} \
4648
-Dtiff-docs=${LIBTIFF_BUILD_TESTS:-OFF} \
4749
-Dlibdeflate=ON \

src/build-scripts/build_pugixml.bash

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

1212
# Repo and branch/tag/commit of pugixml to download if we don't have it yet
1313
PUGIXML_REPO=${PUGIXML_REPO:=https://github.com/zeux/pugixml.git}
14-
PUGIXML_VERSION=${PUGIXML_VERSION:=v1.11.4}
14+
PUGIXML_VERSION=${PUGIXML_VERSION:=v1.15}
1515

1616
# Where to put pugixml repo source (default to the ext area)
1717
PUGIXML_SRC_DIR=${PUGIXML_SRC_DIR:=${PWD}/ext/pugixml}

src/build-scripts/build_pybind11.bash

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

1212
# Repo and branch/tag/commit of pybind11 to download if we don't have it yet
1313
PYBIND11_REPO=${PYBIND11_REPO:=https://github.com/pybind/pybind11.git}
14-
PYBIND11_VERSION=${PYBIND11_VERSION:=v3.0.0}
14+
PYBIND11_VERSION=${PYBIND11_VERSION:=v3.0.1}
1515

1616
# Where to put pybind11 repo source (default to the ext area)
1717
PYBIND11_SRC_DIR=${PYBIND11_SRC_DIR:=${PWD}/ext/pybind11}

src/build-scripts/build_webp.bash

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

1212
# Repo and branch/tag/commit of webp to download if we don't have it yet
1313
WEBP_REPO=${WEBP_REPO:=https://github.com/webmproject/libwebp.git}
14-
WEBP_VERSION=${WEBP_VERSION:=v1.4.0}
14+
WEBP_VERSION=${WEBP_VERSION:=v1.6.0}
1515

1616
# Where to put webp repo source (default to the ext area)
1717
LOCAL_DEPS_DIR=${LOCAL_DEPS_DIR:=${PWD}/ext}

0 commit comments

Comments
 (0)