From ee399a868957fbf963db525adeeb4ab2dd3f04fb Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Fri, 27 Jan 2023 07:10:50 -0700 Subject: [PATCH] package/neon-2-sse: new package This package is required by tensorflow-lite. Tested-by: Stefan Hager Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- DEVELOPERS | 1 + package/Config.in | 1 + package/neon-2-sse/Config.in | 9 +++++++++ package/neon-2-sse/neon-2-sse.hash | 4 ++++ package/neon-2-sse/neon-2-sse.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/neon-2-sse/Config.in create mode 100644 package/neon-2-sse/neon-2-sse.hash create mode 100644 package/neon-2-sse/neon-2-sse.mk diff --git a/DEVELOPERS b/DEVELOPERS index d0a51086cd..8a652c7c12 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1344,6 +1344,7 @@ F: package/lua-std-debug/ F: package/lua-std-normalize/ F: package/lilv/ F: package/lv2/ +F: package/neon-2-sse/ F: package/pipewire/ F: package/python-aioconsole/ F: package/python-aiodns/ diff --git a/package/Config.in b/package/Config.in index fc468148df..96a44a3623 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2107,6 +2107,7 @@ endif source "package/msgpack/Config.in" source "package/musl-compat-headers/Config.in" source "package/musl-fts/Config.in" + source "package/neon-2-sse/Config.in" source "package/openblas/Config.in" source "package/orc/Config.in" source "package/p11-kit/Config.in" diff --git a/package/neon-2-sse/Config.in b/package/neon-2-sse/Config.in new file mode 100644 index 0000000000..25613c5ec4 --- /dev/null +++ b/package/neon-2-sse/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_NEON_2_SSE + bool "neon-2-sse" + help + The platform independent header allowing to compile any + C/C++ code containing ARM NEON intrinsic functions for + x86 target systems using SIMD up to SSE4 intrinsic + functions. + + https://github.com/intel/ARM_NEON_2_x86_SSE diff --git a/package/neon-2-sse/neon-2-sse.hash b/package/neon-2-sse/neon-2-sse.hash new file mode 100644 index 0000000000..ded20d58f5 --- /dev/null +++ b/package/neon-2-sse/neon-2-sse.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 019fbc7ec25860070a1d90e12686fc160cfb33e22aa063c80f52b363f1361e9d neon-2-sse-a15b489e1222b2087007546b4912e21293ea86ff.tar.gz +# License files, locally calculated +sha256 7022f51b439a5915e933ecc270c83e24ca0cb2cceeb08b0132dcd4dbb03ed2dc LICENSE diff --git a/package/neon-2-sse/neon-2-sse.mk b/package/neon-2-sse/neon-2-sse.mk new file mode 100644 index 0000000000..0e9d066abd --- /dev/null +++ b/package/neon-2-sse/neon-2-sse.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# neon-2-sse +# +################################################################################ + +NEON_2_SSE_VERSION = a15b489e1222b2087007546b4912e21293ea86ff +NEON_2_SSE_SITE = $(call github,intel,ARM_NEON_2_x86_SSE,$(NEON_2_SSE_VERSION)) +NEON_2_SSE_LICENSE = BSD-2-Clause +NEON_2_SSE_LICENSE_FILES = LICENSE +NEON_2_SSE_INSTALL_STAGING = YES +NEON_2_SSE_INSTALL_TARGET = NO + +$(eval $(cmake-package))