From patchwork Fri Oct 11 08:09:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 20952 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 56F1C25EA1 for ; Fri, 11 Oct 2013 08:09:21 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id w10sf7053765pde.0 for ; Fri, 11 Oct 2013 01:09:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=+WW3ESDOgBmjyFrM4UR6OLTEpOp/EBiI2L7eTMX36TQ=; b=PZtv2VYtKDg656g9s7famkABpWQpHSzN55b3+VjHgMWd39Jru3WCcThJ7F9KXkxmg7 Pf8fPLQ5jAq2kLlY8ESXBOai2KdOx4MoG7BKjgWgcEZ3cfoXlrpX0pPgw/RIBW4BB5Tw ivz4RkmCGI127n35PrBognxMp9uGmv9alA6CxCEFCFQfzJmtiJG6J3z4pSn6qt3LUf4P Q2Ltb0rpxW1sjUJhSBItRheT1CFXiUHimIKNiQkEKI30Ji3CsAONn0UE9dYM1vICp1/3 SoRSrGsazAPtf6sfrQ7HXkBKfA90HK3tBxuF6ni8/li4o3Qxo4nr37DSbfUKrgWzG8f1 kZaA== X-Received: by 10.66.121.194 with SMTP id lm2mr6149374pab.20.1381478959459; Fri, 11 Oct 2013 01:09:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.132.132 with SMTP id ou4ls1261456qeb.20.gmail; Fri, 11 Oct 2013 01:09:19 -0700 (PDT) X-Received: by 10.220.186.202 with SMTP id ct10mr20536033vcb.14.1381478959312; Fri, 11 Oct 2013 01:09:19 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id m3si12202240vdw.62.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 01:09:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id lh4so2490260vcb.23 for ; Fri, 11 Oct 2013 01:09:19 -0700 (PDT) X-Gm-Message-State: ALoCoQkPkzryz6nAUvOT9BNRy2qvPyttaPXU8gx1u8k/l1Wcq7nkJPXcXvG9frofQhex/ff0YnVJ X-Received: by 10.221.64.17 with SMTP id xg17mr20374425vcb.5.1381478959073; Fri, 11 Oct 2013 01:09:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp18450vcz; Fri, 11 Oct 2013 01:09:15 -0700 (PDT) X-Received: by 10.112.198.39 with SMTP id iz7mr15590291lbc.24.1381478955028; Fri, 11 Oct 2013 01:09:15 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx.google.com with ESMTPS id i8si21397185laa.153.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 01:09:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.174 is neither permitted nor denied by best guess record for domain of fathi.boudra@linaro.org) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id w6so3055946lbh.33 for ; Fri, 11 Oct 2013 01:09:14 -0700 (PDT) X-Received: by 10.152.36.98 with SMTP id p2mr15196797laj.14.1381478954269; Fri, 11 Oct 2013 01:09:14 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id yl7sm32596562lbb.0.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 01:09:13 -0700 (PDT) From: Fathi Boudra To: openembedded-devel@lists.openembedded.org Cc: Koen Kooi , Martin Jansa , Fathi Boudra , Anders Roxell Subject: [PATCH 1/1] [meta-oe][PATCH] python-numpy: add config files for armeb architecture Date: Fri, 11 Oct 2013 11:09:00 +0300 Message-Id: <1381478940-18836-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fix python-numpy build failure on armeb architecture. Signed-off-by: Anders Roxell --- .../python/python-numpy/armeb/config.h | 21 +++++++++++++++++++++ .../python/python-numpy/armeb/numpyconfig.h | 17 +++++++++++++++++ .../recipes-devtools/python/python-numpy_1.7.0.bb | 5 +++++ 3 files changed, 43 insertions(+) create mode 100644 meta-oe/recipes-devtools/python/python-numpy/armeb/config.h create mode 100644 meta-oe/recipes-devtools/python/python-numpy/armeb/numpyconfig.h diff --git a/meta-oe/recipes-devtools/python/python-numpy/armeb/config.h b/meta-oe/recipes-devtools/python/python-numpy/armeb/config.h new file mode 100644 index 0000000..17ef186 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-numpy/armeb/config.h @@ -0,0 +1,21 @@ +/* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */ +/* #define SIZEOF_SHORT 2 */ +/* #define SIZEOF_INT 4 */ +/* #define SIZEOF_LONG 4 */ +/* #define SIZEOF_FLOAT 4 */ +/* #define SIZEOF_DOUBLE 8 */ +#define SIZEOF_LONG_DOUBLE 12 +#define SIZEOF_PY_INTPTR_T 4 +/* #define SIZEOF_LONG_LONG 8 */ +#define SIZEOF_PY_LONG_LONG 8 +/* #define CHAR_BIT 8 */ +#define MATHLIB m +#define HAVE_FLOAT_FUNCS +#define HAVE_LOG1P +#define HAVE_EXPM1 +#define HAVE_INVERSE_HYPERBOLIC +#define HAVE_INVERSE_HYPERBOLIC_FLOAT +#define HAVE_ISNAN +#define HAVE_ISINF +#define HAVE_RINT + diff --git a/meta-oe/recipes-devtools/python/python-numpy/armeb/numpyconfig.h b/meta-oe/recipes-devtools/python/python-numpy/armeb/numpyconfig.h new file mode 100644 index 0000000..c4bf654 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-numpy/armeb/numpyconfig.h @@ -0,0 +1,17 @@ +/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */ +/* + * * This file is generated by numpy/core/setup.pyc. DO NOT EDIT + * */ +#define NPY_SIZEOF_SHORT 2 +#define NPY_SIZEOF_INT 4 +#define NPY_SIZEOF_LONG 4 +#define NPY_SIZEOF_FLOAT 4 +#define NPY_SIZEOF_DOUBLE 8 +#define NPY_SIZEOF_LONGDOUBLE 12 +#define NPY_SIZEOF_PY_INTPTR_T 4 +#define NPY_NO_SMP 0 + +#define NPY_SIZEOF_LONGLONG 8 +#define NPY_SIZEOF_PY_LONG_LONG 8 +/* #define CHAR_BIT 8 */ + diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb index 7d2f2e2..e6d328f 100644 --- a/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb +++ b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb @@ -2,6 +2,7 @@ DESCRIPTION = "A sophisticated Numeric Processing Package for Python" SECTION = "devel/python" LICENSE = "PSF" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f87832d854acbade6e9f5c601c8b30b1" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \ ${CONFIGFILESURI} " @@ -16,6 +17,10 @@ CONFIGFILESURI_arm = " \ file://config.h \ file://numpyconfig.h \ " +CONFIGFILESURI_armeb = " \ + file://config.h \ + file://numpyconfig.h \ +" CONFIGFILESURI_mipsel = " \ file://config.h \ file://numpyconfig.h \