mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:08:59 +08:00
[openexr] Fix openexr using unrequested intrinsics (#29996)
* [openexr] fix usage of unrequested intrinsics * v db * remove intrin patch * v db --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
parent
d553d01124
commit
f9a27e08b3
13
ports/openexr/avx.patch
Normal file
13
ports/openexr/avx.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/lib/OpenEXRCore/unpack.c b/src/lib/OpenEXRCore/unpack.c
|
||||
index 7587eb2..79061b8 100644
|
||||
--- a/src/lib/OpenEXRCore/unpack.c
|
||||
+++ b/src/lib/OpenEXRCore/unpack.c
|
||||
@@ -37,7 +39,7 @@ half_to_float8 (float* out, const uint16_t* src)
|
||||
}
|
||||
#endif
|
||||
|
||||
-#if (defined(__x86_64__) || defined(_M_X64)) && \
|
||||
+#if (defined(__x86_64__) || defined(_M_X64)) && defined(__AVX__) && \
|
||||
(defined(__F16C__) || defined(__GNUC__) || defined(__clang__))
|
||||
|
||||
# if defined(__F16C__)
|
@ -4,6 +4,7 @@ vcpkg_from_github(
|
||||
REF v3.1.5
|
||||
SHA512 01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
|
||||
HEAD_REF master
|
||||
PATCHES avx.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS OPTIONS
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "openexr",
|
||||
"version": "3.1.5",
|
||||
"port-version": 1,
|
||||
"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",
|
||||
|
@ -5734,7 +5734,7 @@
|
||||
},
|
||||
"openexr": {
|
||||
"baseline": "3.1.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"openfbx": {
|
||||
"baseline": "2022-07-18",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1bdfd5d68efb96110d15fb1244b7413f1a5edcfe",
|
||||
"version": "3.1.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "1426fa9af15b03db5bacc50dcdd4569da1c18bde",
|
||||
"version": "3.1.5",
|
||||
|
Loading…
Reference in New Issue
Block a user