[openexr] Update to 3.1.8 (#32073)

* [openexr] Update to 3.1.8

* Fix arm64 build
This commit is contained in:
Osyotr 2023-06-22 08:14:50 +03:00 committed by GitHub
parent 2d2537b079
commit c6d3ab2735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/lib/OpenEXRCore/internal_dwa_simd.h b/src/lib/OpenEXRCore/internal_dwa_simd.h
index 7b53501ac..ca69c9848 100644
--- a/src/lib/OpenEXRCore/internal_dwa_simd.h
+++ b/src/lib/OpenEXRCore/internal_dwa_simd.h
@@ -18,7 +18,7 @@
// aligned. Unaligned pointers may risk seg-faulting.
//
-#if defined __SSE2__ || (_MSC_VER >= 1300 && !_M_CEE_PURE)
+#if defined __SSE2__ || (_MSC_VER >= 1300 && (_M_IX86 || _M_X64) && !_M_CEE_PURE)
# define IMF_HAVE_SSE2 1
# include <emmintrin.h>
# include <mmintrin.h>

View File

@ -1,9 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO AcademySoftwareFoundation/openexr
REF v3.1.7
SHA512 f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5
REF "v${VERSION}"
SHA512 ec60e79341695452e05f50bbcc0d55e0ce00fbb64cdec01a83911189c8643eb28a8046b14ee4230e5f438f018f2f1d0714f691983474d7979befd199f3f34758
HEAD_REF master
PATCHES
fix-arm64-windows-build.patch # https://github.com/AcademySoftwareFoundation/openexr/pull/1447
)
vcpkg_check_features(OUT_FEATURE_OPTIONS OPTIONS

View File

@ -1,6 +1,6 @@
{
"name": "openexr",
"version": "3.1.7",
"version": "3.1.8",
"description": "OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications",
"homepage": "https://www.openexr.com/",
"license": "BSD-3-Clause",

View File

@ -5949,7 +5949,7 @@
"port-version": 1
},
"openexr": {
"baseline": "3.1.7",
"baseline": "3.1.8",
"port-version": 0
},
"openfbx": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "36064f5fe46f2399a9a532fdb6d7542dae7faede",
"version": "3.1.8",
"port-version": 0
},
{
"git-tree": "5bf66027763e861e804aee6113c5afc8bb0e1e7e",
"version": "3.1.7",