Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [meta-oe][PATCH] python-numpy: add i586 *config.h files
Date: Fri, 22 Mar 2013 10:23:29 +0100	[thread overview]
Message-ID: <20130322092328.GO3219@jama> (raw)
In-Reply-To: <1363439755-13680-1-git-send-email-koen@dominion.thruhere.net>

[-- Attachment #1: Type: text/plain, Size: 5288 bytes --]

On Sat, Mar 16, 2013 at 02:15:55PM +0100, Koen Kooi wrote:
> Generated using native compile on FRI2/angstrom

Applied, thanks!

> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
>  .../python/python-numpy/i586/config.h              | 108 +++++++++++++++++++++
>  .../python/python-numpy/i586/numpyconfig.h         |  24 +++++
>  .../recipes-devtools/python/python-numpy_1.7.0.bb  |   4 +
>  3 files changed, 136 insertions(+)
>  create mode 100644 meta-oe/recipes-devtools/python/python-numpy/i586/config.h
>  create mode 100644 meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
> 
> diff --git a/meta-oe/recipes-devtools/python/python-numpy/i586/config.h b/meta-oe/recipes-devtools/python/python-numpy/i586/config.h
> new file mode 100644
> index 0000000..08e41e3
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/python/python-numpy/i586/config.h
> @@ -0,0 +1,108 @@
> +#define SIZEOF_PY_INTPTR_T 4
> +#define SIZEOF_PY_LONG_LONG 8
> +#define MATHLIB m
> +#define HAVE_SIN
> +#define HAVE_COS
> +#define HAVE_TAN
> +#define HAVE_SINH
> +#define HAVE_COSH
> +#define HAVE_TANH
> +#define HAVE_FABS
> +#define HAVE_FLOOR
> +#define HAVE_CEIL
> +#define HAVE_SQRT
> +#define HAVE_LOG10
> +#define HAVE_LOG
> +#define HAVE_EXP
> +#define HAVE_ASIN
> +#define HAVE_ACOS
> +#define HAVE_ATAN
> +#define HAVE_FMOD
> +#define HAVE_MODF
> +#define HAVE_FREXP
> +#define HAVE_LDEXP
> +#define HAVE_RINT
> +#define HAVE_TRUNC
> +#define HAVE_EXP2
> +#define HAVE_LOG2
> +#define HAVE_ATAN2
> +#define HAVE_POW
> +#define HAVE_NEXTAFTER
> +#define HAVE_SINF
> +#define HAVE_COSF
> +#define HAVE_TANF
> +#define HAVE_SINHF
> +#define HAVE_COSHF
> +#define HAVE_TANHF
> +#define HAVE_FABSF
> +#define HAVE_FLOORF
> +#define HAVE_CEILF
> +#define HAVE_RINTF
> +#define HAVE_TRUNCF
> +#define HAVE_SQRTF
> +#define HAVE_LOG10F
> +#define HAVE_LOGF
> +#define HAVE_LOG1PF
> +#define HAVE_EXPF
> +#define HAVE_EXPM1F
> +#define HAVE_ASINF
> +#define HAVE_ACOSF
> +#define HAVE_ATANF
> +#define HAVE_ASINHF
> +#define HAVE_ACOSHF
> +#define HAVE_ATANHF
> +#define HAVE_HYPOTF
> +#define HAVE_ATAN2F
> +#define HAVE_POWF
> +#define HAVE_FMODF
> +#define HAVE_MODFF
> +#define HAVE_FREXPF
> +#define HAVE_LDEXPF
> +#define HAVE_EXP2F
> +#define HAVE_LOG2F
> +#define HAVE_COPYSIGNF
> +#define HAVE_NEXTAFTERF
> +#define HAVE_SINL
> +#define HAVE_COSL
> +#define HAVE_TANL
> +#define HAVE_SINHL
> +#define HAVE_COSHL
> +#define HAVE_TANHL
> +#define HAVE_FABSL
> +#define HAVE_FLOORL
> +#define HAVE_CEILL
> +#define HAVE_RINTL
> +#define HAVE_TRUNCL
> +#define HAVE_SQRTL
> +#define HAVE_LOG10L
> +#define HAVE_LOGL
> +#define HAVE_LOG1PL
> +#define HAVE_EXPL
> +#define HAVE_EXPM1L
> +#define HAVE_ASINL
> +#define HAVE_ACOSL
> +#define HAVE_ATANL
> +#define HAVE_ASINHL
> +#define HAVE_ACOSHL
> +#define HAVE_ATANHL
> +#define HAVE_HYPOTL
> +#define HAVE_ATAN2L
> +#define HAVE_POWL
> +#define HAVE_FMODL
> +#define HAVE_MODFL
> +#define HAVE_FREXPL
> +#define HAVE_LDEXPL
> +#define HAVE_EXP2L
> +#define HAVE_LOG2L
> +#define HAVE_COPYSIGNL
> +#define HAVE_NEXTAFTERL
> +#define HAVE_DECL_SIGNBIT
> +#define HAVE_COMPLEX_H
> +#define HAVE_LDOUBLE_INTEL_EXTENDED_12_BYTES_LE 1
> +#ifndef __cplusplus
> +/* #undef inline */
> +#endif
> +
> +#ifndef _NPY_NPY_CONFIG_H_
> +#error config.h should never be included directly, include npy_config.h instead
> +#endif
> diff --git a/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h b/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
> new file mode 100644
> index 0000000..ff7938c
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
> @@ -0,0 +1,24 @@
> +#ifndef _NPY_NUMPYCONFIG_H_
> +#define _NPY_NUMPYCONFIG_H_
> +
> +#include "_numpyconfig.h"
> +
> +/* 
> + * On Mac OS X, because there is only one configuration stage for all the archs
> + * in universal builds, any macro which depends on the arch needs to be
> + * harcoded
> + */
> +#ifdef __APPLE__
> +	#undef NPY_SIZEOF_LONG
> +	#undef NPY_SIZEOF_PY_INTPTR_T
> +
> +	#ifdef __LP64__
> +		#define NPY_SIZEOF_LONG 		8
> +		#define NPY_SIZEOF_PY_INTPTR_T 	8
> +	#else
> +		#define NPY_SIZEOF_LONG 		4
> +		#define NPY_SIZEOF_PY_INTPTR_T 	4
> +	#endif
> +#endif
> +
> +#endif
> 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 bbe4e63..23bec15 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
> @@ -18,6 +18,10 @@ CONFIGFILESURI_mipsel = "file://config.h \
>  	   file://numpyconfig.h \
>  	  "
>  
> +CONFIGFILESURI_i586 = "file://config.h \
> +                       file://numpyconfig.h \
> +                      "
> +
>  S = "${WORKDIR}/numpy-${PV}"
>  
>  inherit distutils
> -- 
> 1.8.1.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2013-03-22  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 13:15 [meta-oe][PATCH] python-numpy: add i586 *config.h files Koen Kooi
2013-03-22  9:23 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130322092328.GO3219@jama \
    --to=martin.jansa@gmail.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox