PKGBUILDs/community/openimageio/0001-disable-neon.patch
2020-10-02 17:21:25 +00:00

25 lines
792 B
Diff

From aff1753c7632464312843617b1b0d98112aff04d Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 2 Oct 2020 11:10:28 -0600
Subject: [PATCH] disable neon
---
src/include/OpenImageIO/simd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/OpenImageIO/simd.h b/src/include/OpenImageIO/simd.h
index 0b2c1193..5498af00 100644
--- a/src/include/OpenImageIO/simd.h
+++ b/src/include/OpenImageIO/simd.h
@@ -193,7 +193,7 @@
// FIXME Future: support ARM Neon
// Uncomment this when somebody with Neon can verify it works
-#if defined(__ARM_NEON__) && !defined(OIIO_NO_NEON)
+#if 0 && defined(__ARM_NEON__) && !defined(OIIO_NO_NEON)
# define OIIO_SIMD 4
# define OIIO_SIMD_NEON 1
# define OIIO_SIMD_MAX_SIZE_BYTES 16
--
2.28.0