[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    [Distutils] Statically linking part of an extension module?
From:       Dan Stromberg <drsalists () gmail ! com>
Date:       2015-03-23 17:47:29
Message-ID: CAGGBd_q1fXBvu4EqRcTXF+VSCGaKpZFj_K_k1s6QhQvwLgHHjg () mail ! gmail ! com
[Download RAW message or body]

Hi folks.

I want to build a pair of wheels - one for numpy, one for scipy.  And
I want to statically link atlas (with blas and lapack) into these
wheels.  I don't want to statically link numpy or scipy into the
Python interpreter.

The goal is to decrease the frequency with which new wheels need to be
built as the OS changes (RHEL 6.6), and to avoid having to deploy
rpm's - we want to only deploy wheels if possible.

How practical is this?

I have some guesses how to do it (passing in $CFLAGS, $LDFLAGS and $CC
perhaps), but if there's a better way I'd love to know about it.

Thanks!
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic