From d33b321bce110fae8e5730f507be70f33d91fe22 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 16 Mar 2018 20:40:35 -0700 Subject: python-numpy: Fix build for riscv64 Signed-off-by: Khem Raj Signed-off-by: Ross Burton --- meta/recipes-devtools/python-numpy/python-numpy.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-devtools/python-numpy/python-numpy.inc') diff --git a/meta/recipes-devtools/python-numpy/python-numpy.inc b/meta/recipes-devtools/python-numpy/python-numpy.inc index 10af4c50e3..5c5f0c837a 100644 --- a/meta/recipes-devtools/python-numpy/python-numpy.inc +++ b/meta/recipes-devtools/python-numpy/python-numpy.inc @@ -8,6 +8,7 @@ SRCNAME = "numpy" SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ file://fix_shebang_f2py.patch \ + file://0001-npy_cpu-Add-riscv-support.patch \ ${CONFIGFILESURI} " SRC_URI[md5sum] = "0e09f20f62ab9f8a02cb7bd3fd023482" SRC_URI[sha256sum] = "8708a775be9a9a457b80a49193c57bd9d51a8a195ed1f1c4b8e89eaf3aa646ee" @@ -69,6 +70,10 @@ CONFIGFILESURI_mipsarchn32el = " \ file://config.h \ file://_numpyconfig.h \ " +CONFIGFILESURI_riscv64 = " \ + file://config.h \ + file://_numpyconfig.h \ +" S = "${WORKDIR}/numpy-${PV}" -- cgit v1.2.3