Stefan Behnel | 28 Jul 2012 11:37
Picon
Favicon

[Cython] help getting NumPy into a 32-bit Jenkins build environment

Hi,

I've been trying to set up a 32bit build environment on Jenkins. Most of it
works nicely by just switching to "gcc -m32", but NumPy fails to build with
that setup due to the lack of dependencies. It actually finds them when
looking for their header files in the wrong (64bit) places, and then fails
to build when it can't find the expected 32bit libraries.

Is there a way to tell NumPy that I really don't care about BLAS, LAPACK
and all of its friends and just want bare arrays? Or is there an easy way
to install 32 bit versions of those dependencies on sage.math? I'd be fine
with having them built and installed into a local directory (namely, in
standard directory layout under /home/scoder/jenkins/Tools/libs32/).

Given that all current 32bit problems are in NumPy related tests, it
wouldn't be all that helpful to exclude NumPy from the test runs...

Stefan
Lisandro Dalcin | 31 Jul 2012 18:59
Picon
Gravatar

Re: [Cython] help getting NumPy into a 32-bit Jenkins build environment

On 28 July 2012 06:37, Stefan Behnel <stefan_ml@...> wrote:
> Hi,
>
> I've been trying to set up a 32bit build environment on Jenkins. Most of it
> works nicely by just switching to "gcc -m32", but NumPy fails to build with
> that setup due to the lack of dependencies. It actually finds them when
> looking for their header files in the wrong (64bit) places, and then fails
> to build when it can't find the expected 32bit libraries.
>
> Is there a way to tell NumPy that I really don't care about BLAS, LAPACK
> and all of its friends and just want bare arrays? Or is there an easy way
> to install 32 bit versions of those dependencies on sage.math? I'd be fine
> with having them built and installed into a local directory (namely, in
> standard directory layout under /home/scoder/jenkins/Tools/libs32/).
>

>From doc/source/user/install.rst in numpy-dev:

Disabling ATLAS and other accelerated libraries
-----------------------------------------------

Usage of ATLAS and other accelerated libraries in Numpy can be disabled
via::

    BLAS=None LAPACK=None ATLAS=None python setup.py build

--

-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
(Continue reading)

Stefan Behnel | 3 Aug 2012 06:52
Picon
Favicon

Re: [Cython] help getting NumPy into a 32-bit Jenkins build environment

Lisandro Dalcin, 31.07.2012 18:59:
> On 28 July 2012 06:37, Stefan Behnel wrote:
>> I've been trying to set up a 32bit build environment on Jenkins. Most of it
>> works nicely by just switching to "gcc -m32", but NumPy fails to build with
>> that setup due to the lack of dependencies. It actually finds them when
>> looking for their header files in the wrong (64bit) places, and then fails
>> to build when it can't find the expected 32bit libraries.
>>
>> Is there a way to tell NumPy that I really don't care about BLAS, LAPACK
>> and all of its friends and just want bare arrays? Or is there an easy way
>> to install 32 bit versions of those dependencies on sage.math? I'd be fine
>> with having them built and installed into a local directory (namely, in
>> standard directory layout under /home/scoder/jenkins/Tools/libs32/).
>>
> 
>>From doc/source/user/install.rst in numpy-dev:
> 
> 
> Disabling ATLAS and other accelerated libraries
> -----------------------------------------------
> 
> Usage of ATLAS and other accelerated libraries in Numpy can be disabled
> via::
> 
>     BLAS=None LAPACK=None ATLAS=None python setup.py build

Cool, looks like that did the trick.

https://sage.math.washington.edu:8091/hudson/job/py27m-ext-hg/ARCH=m32/12/

(Continue reading)


Gmane