mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2026-01-27 11:32:16 +01:00
sse2neon: Add new recipe [YOCIMX-4777]
Add new recipe for sse2neon, a translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
b53b9b1e48
commit
5abb85f550
|
|
@ -0,0 +1,26 @@
|
|||
From 5b12e281e41239a0cfcd2f4d036d3ff0502e97c2 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Hochstein <tom.hochstein@nxp.com>
|
||||
Date: Thu, 13 Aug 2020 13:26:16 -0500
|
||||
Subject: [PATCH] Use bitbake cross-compile settings
|
||||
|
||||
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 222f352..df912de 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -34,7 +34,7 @@ else
|
||||
$(error Unsupported architecture)
|
||||
endif
|
||||
|
||||
-CXXFLAGS += -Wall -Wcast-qual -I. $(ARCH_CFLAGS) -std=gnu++14
|
||||
+CXXFLAGS += -Wall -Wcast-qual -I.
|
||||
LDFLAGS += -lm
|
||||
OBJS = \
|
||||
tests/binding.o \
|
||||
--
|
||||
2.17.1
|
||||
|
||||
24
meta-bsp/recipes-bsp/sse2neon/sse2neon_git.bb
Normal file
24
meta-bsp/recipes-bsp/sse2neon/sse2neon_git.bb
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
SUMMARY = "Intel SSE intrinsics to Arm NEON translator"
|
||||
DESCRIPTION = "A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation"
|
||||
HOMEPAGE = "https://github.com/DLTcollab/sse2neon"
|
||||
SECTION = "lib"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7"
|
||||
|
||||
PV = "0.0+git${SRCPV}"
|
||||
|
||||
# upstream does not yet publish any release so we have to fetch last working version from GIT
|
||||
SRCREV = "8ff6315f90c9f733a5f4a3b11793e8e106485c2b"
|
||||
SRC_URI = "git://github.com/DLTcollab/sse2neon.git;protocol=https \
|
||||
file://0001-Use-bitbake-cross-compile-settings.patch"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/opt/${BPN}
|
||||
install -m 0755 tests/main ${D}/opt/${BPN}
|
||||
|
||||
install -d ${D}${includedir}
|
||||
install -m 0644 sse2neon.h ${D}${includedir}
|
||||
}
|
||||
|
||||
FILES_${PN} += "/opt"
|
||||
Loading…
Reference in New Issue
Block a user