[Pandas-dev] Setuptools detection of host cpuinfo and/or header file availablity

Stephen Lin swlin at post.harvard.edu
Fri Apr 26 23:41:17 CEST 2013


Well, I can do a runtime cpuid check but there's some expense for that
(not for the check so much, but in making the executable include both
code paths into the same executable and making it possible to select
between them at runtime...). Also, that still leaves the header
availability issue.

On Fri, Apr 26, 2013 at 5:36 PM, Jeff Reback <jeffreback at gmail.com> wrote:
> I believe Numexpr does this (not sure it's 'reliable', but it's cross platform)
>
> I am think this is runtime - but could also be in setup
>
> On Apr 26, 2013, at 5:12 PM, Stephen Lin <swlin at post.harvard.edu> wrote:
>
>> Hi Yoval,
>>
>> I had a question about setuptools that Wes suggested I run by you...do
>> you know if there's there's a canonical (and, hopefully by extension,
>> reliable and cross-platform...) way of checking for host cpu
>> capabilities and header file availability in a python setuptools
>> script to configure a build?
>>
>> This is for potentially including code using SSE intrinsics into pandas.
>>
>> Stephen
>> _______________________________________________
>> Pandas-dev mailing list
>> Pandas-dev at python.org
>> http://mail.python.org/mailman/listinfo/pandas-dev


More information about the Pandas-dev mailing list