Re: [Numpy-discussion] linux wheels coming soon

2016-04-21 Thread Olivier Grisel
2016-04-20 16:57 GMT+02:00 Matthew Brett :
> On Wed, Apr 20, 2016 at 1:59 AM, Olivier Grisel
>  wrote:
>> Thanks,
>>
>> I think next we could upgrade the travis configuration of numpy and
>> scipy to build and upload manylinux1 wheels to
>> http://travis-dev-wheels.scipy.org/ for downstream project to test
>> against the master branch of numpy and scipy whithout having to build
>> those from source.
>>
>> However that would require publishing an official pre-built
>> libopenblas.so (+headers) archive or RPM package. That archive would
>> server as the reference libary to build scipy stack manylinux1 wheels.
>
> There's an OpenBLAS archive up at :
> http://ccdd0ebb5a931e58c7c5-aae005c4999d7244ac63632f8b80e089.r77.cf2.rackcdn.com/openblas_0.2.18.tgz

Thanks.

> - is that the right place for it?  It gets uploaded by the
> manylinux-builds travis run.

The only problem with rackspace cloud files is that as of now there is
no way to put a short domain name (CNAME) with https. Maybe we could
use the github "release" system on a github repo under the numpy
github organization to host it. Or alternatively use an external
binary file host that use github credentials for upload rigths, for
instance bintray (I have no experience with this yet though).


-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Do getitem/setitem already have GIL?

2016-04-21 Thread Sebastian Berg
This is for a custom dtype? getitem and setitem work with objects and
must have the GIL in any case, so yes, you can safely assume this. I
think you probably have to set the flags correctly for some things to
work right. So that the PyDataType_REFCHK makro gives the right result.
Though frankly, I am just poking at it here, could be all wrong.

- Sebastian



On Mi, 2016-04-20 at 19:22 +, Steve Mitchell wrote:
> When writing custom PyArray_ArrFuncs getitem() and setitem(), do I
> need to acquire the GIL, or has it been done for me already by the
> caller?
>  
>   --Steve
>  
> http://docs.scipy.org/doc/numpy/reference/c-api.array.html?highlight=
> allow_c_api#group-2
> http://docs.scipy.org/doc/numpy/reference/internals.code-explanations
> .html?highlight=gil#function-call
> http://docs.scipy.org/doc/numpy/reference/c-api.types-and-structures.
> html
> https://docs.python.org/2/c-api/init.html#thread-state-and-the-global
> -interpreter-lock
>  
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion

signature.asc
Description: This is a digitally signed message part
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion