Skip to content

Commit e28508b

Browse files
authored
Merge branch 'AcademySoftwareFoundation:main' into CUDA
2 parents 2e3fb27 + 0a30218 commit e28508b

12 files changed

Lines changed: 174 additions & 56 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2+
3+
4+
------ :scissors: -------------------------------------------------------------------
5+
16
YOU MAY DELETE ALL OF THIS IF YOU ALREADY HAVE A DESCRIPTIVE COMMIT MESSAGE!
27

38
This is just a template and set of reminders about what constitutes a good PR.

.github/workflows/analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
- '!**/scorecard.yml'
2727
- '!**/wheel.yml'
2828
- '!**.properties'
29+
- '!pyproject.toml'
2930
- '!docs/**'
3031
# Run analysis on PRs only if the branch name indicates that the purpose of
3132
# the PR is related to the Sonar analysis. We don't run on every PR because

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- '!**/scorecard.yml'
1717
- '!**/wheel.yml'
1818
- '!**.properties'
19+
- '!pyproject.toml'
1920
- '!docs/**'
2021
pull_request:
2122
paths:
@@ -466,7 +467,7 @@ jobs:
466467
PTEX_VERSION=v2.5.0
467468
PUGIXML_VERSION=v1.15
468469
WEBP_VERSION=v1.6.0
469-
FREETYPE_VERSION=VER-2-14-0
470+
FREETYPE_VERSION=VER-2-14-1
470471
USE_OPENVDB=0
471472
# Ensure we are testing all the deps we think we are. We would
472473
# like this test to have minimal missing dependencies.
@@ -549,7 +550,7 @@ jobs:
549550
PTEX_VERSION=v2.4.3
550551
PUGIXML_VERSION=v1.15
551552
WEBP_VERSION=v1.6.0
552-
FREETYPE_VERSION=VER-2-14-0
553+
FREETYPE_VERSION=VER-2-14-1
553554
USE_OPENVDB=0
554555
- desc: Linux ARM latest releases clang18 C++20 py3.12 exr3.4 ocio2.4
555556
nametag: linux-arm-latest-releases-clang
@@ -570,7 +571,7 @@ jobs:
570571
PTEX_VERSION=v2.4.3
571572
PUGIXML_VERSION=v1.15
572573
WEBP_VERSION=v1.6.0
573-
FREETYPE_VERSION=VER-2-14-0
574+
FREETYPE_VERSION=VER-2-14-1
574575
USE_OPENVDB=0
575576

576577

@@ -626,7 +627,7 @@ jobs:
626627
python_ver: "3.13"
627628
simd: sse4.2,avx2
628629
ctest_test_timeout: 1200
629-
setenvs: export MACOSX_DEPLOYMENT_TARGET=12.0
630+
setenvs: export MACOSX_DEPLOYMENT_TARGET=12.0 INSTALL_QT=0
630631
benchmark: 1
631632
- desc: MacOS-14-ARM aclang15/C++20/py3.13
632633
runner: macos-14
@@ -683,7 +684,7 @@ jobs:
683684
# built. But we would like to add more dependencies and reduce this list
684685
# of exceptions in the future.
685686
required_deps: ${{ matrix.required_deps || 'all' }}
686-
optional_deps: ${{ matrix.optional_deps || 'CUDAToolkit;DCMTK;FFmpeg;GIF;JXL;Libheif;LibRaw;Nuke;OpenCV;OpenGL;OpenJPEG;openjph;OpenCV;OpenVDB;Ptex;pystring;Qt5;Qt6;TBB;R3DSDK;${{matrix.optional_deps_append}}' }}
687+
optional_deps: ${{ matrix.optional_deps || 'BZip2;CUDAToolkit;DCMTK;FFmpeg;GIF;JXL;Libheif;LibRaw;Nuke;OpenCV;OpenGL;OpenJPEG;openjph;OpenCV;OpenVDB;Ptex;pystring;Qt5;Qt6;TBB;R3DSDK;${{matrix.optional_deps_append}}' }}
687688
strategy:
688689
fail-fast: false
689690
matrix:

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- '**/run.py'
2121
- 'src/build-scripts/**'
2222
- './*.md'
23+
- 'pyproject.toml'
2324
pull_request:
2425
paths-ignore:
2526
- '**/ci.yml'
@@ -33,6 +34,7 @@ on:
3334
- '**/run.py'
3435
- 'src/build-scripts/**'
3536
- './*.md'
37+
- 'pyproject.toml'
3638
schedule:
3739
# Full nightly build
3840
- cron: "0 8 * * *"

src/build-scripts/build_Freetype.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 Freetype to download if we don't have it yet
1313
FREETYPE_REPO=${FREETYPE_REPO:=https://github.com/freetype/freetype.git}
14-
FREETYPE_VERSION=${FREETYPE_VERSION:=VER-2-13-3}
14+
FREETYPE_VERSION=${FREETYPE_VERSION:=VER-2-14-1}
1515

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

src/cmake/build_Freetype.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
# Freetype by hand!
77
######################################################################
88

9-
set_cache (Freetype_BUILD_VERSION 2.13.2 "Freetype version for local builds")
9+
set_cache (Freetype_BUILD_VERSION 2.14.1 "Freetype version for local builds")
1010
set (Freetype_GIT_REPOSITORY "https://github.com/freetype/freetype")
11-
set (Freetype_GIT_TAG "VER-2-13-2")
12-
set_cache (Freetype_BUILD_SHARED_LIBS OFF
11+
set (Freetype_GIT_TAG "VER-2-14-1")
12+
set_cache (Freetype_BUILD_SHARED_LIBS ${LOCAL_BUILD_SHARED_LIBS_DEFAULT}
1313
DOC "Should a local Freetype build, if necessary, build shared libraries" ADVANCED)
1414
# We would prefer to build a static Freetype, but haven't figured out how to make
1515
# it all work with the static dependencies, it just makes things complicated

src/cmake/externalpackages.cmake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,9 @@ checked_find_package (R3DSDK NO_RECORD_NOTFOUND) # RED camera
200200
set (NUKE_VERSION "7.0" CACHE STRING "Nuke version to target")
201201
checked_find_package (Nuke NO_RECORD_NOTFOUND)
202202

203-
if (FFmpeg_FOUND OR FREETYPE_FOUND)
203+
if ((FFmpeg_FOUND OR FREETYPE_FOUND OR TARGET Freetype::Freetype)
204+
AND NOT TARGET BZip2::BZip2)
204205
checked_find_package (BZip2) # Used by ffmpeg and freetype
205-
if (NOT BZIP2_FOUND)
206-
set (BZIP2_LIBRARIES "") # TODO: why does it break without this?
207-
endif ()
208206
endif()
209207

210208

src/ffmpeg.imageio/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if (FFmpeg_FOUND)
2828
add_oiio_plugin (ffmpeginput.cpp
2929
INCLUDE_DIRS ${FFMPEG_INCLUDES}
3030
LINK_LIBRARIES ${FFMPEG_LIBRARIES}
31-
${BZIP2_LIBRARIES}
31+
$<TARGET_NAME_IF_EXISTS:BZip2::BZip2>
3232
DEFINITIONS "USE_FFMPEG"
3333
"-DOIIO_FFMPEG_VERSION=\"${FFMPEG_VERSION}\"")
3434
else()

src/include/OpenImageIO/typedesc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ template<> struct BaseTypeFromC<uint64_t> { static constexpr TypeDesc::BASETYPE
409409
template<> struct BaseTypeFromC<const uint64_t> { static constexpr TypeDesc::BASETYPE value = TypeDesc::UINT64; };
410410
template<> struct BaseTypeFromC<int64_t> { static constexpr TypeDesc::BASETYPE value = TypeDesc::INT64; };
411411
template<> struct BaseTypeFromC<const int64_t> { static constexpr TypeDesc::BASETYPE value = TypeDesc::INT64; };
412-
#if defined(__GNUC__) && (ULONG_MAX == 0xffffffffffffffff) && !(defined(__APPLE__) && defined(__MACH__)) || defined(__NetBSD__)
412+
#if defined(__GNUC__) && (ULONG_MAX == 0xffffffffffffffff) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) || defined(__NetBSD__)
413413
// Some platforms consider int64_t and long long to be different types, even
414414
// though they are actually the same size.
415415
static_assert(!std::is_same_v<unsigned long long, uint64_t>);

src/libOpenImageIO/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ target_link_libraries (OpenImageIO
163163
$<TARGET_NAME_IF_EXISTS:pugixml::pugixml>
164164
$<TARGET_NAME_IF_EXISTS:TBB::tbb>
165165
$<TARGET_NAME_IF_EXISTS:Freetype::Freetype>
166-
${BZIP2_LIBRARIES}
166+
$<TARGET_NAME_IF_EXISTS:BZip2::BZip2>
167167
ZLIB::ZLIB
168168
${CMAKE_DL_LIBS}
169169
)

0 commit comments

Comments
 (0)