forked from AcademySoftwareFoundation/openexr
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3.2.1 commits and release notes (AcademySoftwareFoundation#1569)
* Propagate OPENEXR_INSTALL_PKG_CONFIG to internal Imath (AcademySoftwareFoundation#1531) * Propagate OPENEXR_INSTALL_PKG_CONFIG to internal Imath If OpenEXR is installing a pkg-config file, then the internal Imath build (if there is one) should install it, too. Also, add an explicit release version variable to the .pc file. This is in preparation for the python wheel build to pick up the version settings from the pkg-config files. Signed-off-by: Cary Phillips <[email protected]> * remove version= from OpenEXR.pc Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * Remove check for _MSC_VER in internal_cpuid.h (AcademySoftwareFoundation#1528) As noted in AcademySoftwareFoundation#1445, _MSC_VER should only be used to detect msvc, not for Windows. The _WIN32 check should be sufficient. The extra check for _MSC_VER fails when cross-compiling from Linux to Windows. Signed-off-by: Cary Phillips <[email protected]> * Fix warnings in multipartExamples.cpp (AcademySoftwareFoundation#1533) * Fix warnings in multipartExamples.cpp Signed-off-by: Cary Phillips <[email protected]> * fix indentation Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * Fix warnings from cross-compiling with x86_64-w64-mingw32-gcc-posix (AcademySoftwareFoundation#1534) * Fix compiler warnings from x86_64-w64-mingw32-g++-posix * MSVCRT doesn't recognize printf("%l") so PRIu64 doesn't work, it expects "%I64u". * Add to the cases that disable a strncpy warning Signed-off-by: Cary Phillips <[email protected]> * %zu for size_t Signed-off-by: Cary Phillips <[email protected]> * revert attempt to fix PRIu64 warnings Signed-off-by: Cary Phillips <[email protected]> * revert blank line Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * Fix OPENEXR_VERSION_HEX (AcademySoftwareFoundation#1539) * Fix OPENEXR_VERSION_HEX * fix syntax error * remove unnecessary uint32_t cast * add validation test Signed-off-by: Cary Phillips <[email protected]> * Add #if statement with OPENEXR_VERSION_HEX Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * OPENEXR_INSTALL_PKG_CONFIG is on by default, even on Windows (AcademySoftwareFoundation#1541) There seems to be no downside to generating the OpenEXR.pc file even on Windows, so for consistency, apply the setting to all platforms. Signed-off-by: Cary Phillips <[email protected]> * Remove SPDX license identifier in LICENSE.md Signed-off-by: Cary Phillips <[email protected]> * Python wheel setup gets version from OpenEXR.pc/Imath.pc (AcademySoftwareFoundation#1536) * Python wheel setup gets version from OpenEXR.pc/Imath.pc OpenEXR and Imath have indepdenent versions that may not match. The .pc files appear to be the simplest way to extract the versions and library suffixes. Running pkg-config itself doesn't work on Windows, hence the manual file parsing. Signed-off-by: Cary Phillips <[email protected]> * = Signed-off-by: Cary Phillips <[email protected]> * Remove -DOPENEXR_INSTALL_PKG_CONFIG=ON since it's now on by default Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * Default value for chromaticities attribute constructor in exrstdattr (AcademySoftwareFoundation#1540) Signed-off-by: Cary Phillips <[email protected]> * Update openexr_deps.bzl (AcademySoftwareFoundation#1565) Signed-off-by: Vertexwahn <[email protected]> * Bazel: Improve module (AcademySoftwareFoundation#1562) Signed-off-by: Vertexwahn <[email protected]> * Set build-shared:OFF for Static build (AcademySoftwareFoundation#1557) Looks like this somehow we've been building shared when we meant to be building static. Signed-off-by: Cary Phillips <[email protected]> * Omit OPENEXR_IMAGES_TAG from test image url if empty (AcademySoftwareFoundation#1560) This allows the url for the test images to reference a local file: cmake -DOPENEXR_IMAGES_REPO=file:///my/clone/of/openexr-images -DOPENEXR_IMAGES_TAG="" which avoids the remote downloading of the test images at cmake time. Also, mention the test images in the install docs. Signed-off-by: Cary Phillips <[email protected]> * Clean up handling of libdeflate when linking static (AcademySoftwareFoundation#1561) * Set EXR_DEFLATE_LIB properly for static linking This leads OpenEXRCore/CMakeLists.txt to do: target_link_libraries(OpenEXRCore PUBLIC libdeflate) instead of: target_link_libraries(OpenEXRCore PUBLIC PkgConfig::deflate) which is not recognized. With a target link library of `PkgConfig::deflate`, the static build of the OpenEXR libraries builds successfully, but configuring an application against those static libraries fails, saying it can't find `PkgConfig::deflate`. Signed-off-by: Cary Phillips <[email protected]> * Add -ldeflate to pkgconfig for static builds When static linking and referencing an external libdeflate (i.e. not fetching and building internally), OpenEXR.pc needs -ldeflate. This also adds a test for this condition to the CI's validation script. Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * Don't trigger ci/bazel/ossfuzz builds on pushes/PRs to src/wrappers (AcademySoftwareFoundation#1532) No need to rebuild/test OpenEXR on changes to the python wheels. Signed-off-by: Cary Phillips <[email protected]> * Set minimal permissions for workflow python-wheels.yml (AcademySoftwareFoundation#1530) The exact same changes done on other workflows through the PR AcademySoftwareFoundation#1417 Signed-off-by: Diogo Teles Sant'Anna <[email protected]> * Release notes for 3.2.1 Signed-off-by: Cary Phillips <[email protected]> * Fix Imf/Iex/IlmThread namespaces in python bindings and website code (AcademySoftwareFoundation#1568) * Fix Imf/Iex/IlmThread namespaces in python bindings and website code Use OPENEXR_NAMESPACE, IEX_NAMESPACE, ILMTHREAD_NAMESPACE instead of Imf, Iex, IlmThread, to support custom settings. Signed-off-by: Cary Phillips <[email protected]> * Use Iex:: namespace in example code instead of IEX_NAMESPACE Requires this in all.cpp: namespace Iex = IEX_NAMESPACE; Signed-off-by: Cary Phillips <[email protected]> * use #define Iex Signed-off-by: Cary Phillips <[email protected]> * remove explicit Iex namespace Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> * Bump version to 3.2.1 Signed-off-by: Cary Phillips <[email protected]> --------- Signed-off-by: Cary Phillips <[email protected]> Signed-off-by: Vertexwahn <[email protected]> Signed-off-by: Diogo Teles Sant'Anna <[email protected]> Co-authored-by: Vertexwahn <[email protected]> Co-authored-by: Diogo Teles Sant'Anna <[email protected]>
- Loading branch information
1 parent
456bf42
commit 737b270
Showing
30 changed files
with
786 additions
and
670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright Contributors to the OpenEXR Project. | ||
|
||
module( | ||
name = "openexr", | ||
version = "0.0.0", # The version "0.0.0" is set here and will be patched within the Bazel Central Registry | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.4.2") | ||
bazel_dep(name = "imath", version = "3.1.9") | ||
bazel_dep(name = "libdeflate", version = "1.18") | ||
bazel_dep(name = "imath", repo_name = "Imath", version = "3.1.9") | ||
bazel_dep(name = "libdeflate", version = "1.19") | ||
bazel_dep(name = "platforms", version = "0.0.7") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.