QuantLib-Python patch

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

QuantLib-Python patch

mrtreibe
I've attached a patch for QuantLib-Python to compile on darwin (the BSD
core to Mac OS X).  Basically darwin distinguishes between shared
libraries and loadable modules so the patch detects if darwin is the
build environment and if that is the case is uses different compiler
switches.  That's it.  Unfortunately I wasn't able to create this
before 0.3.5 but compiling on OSX is the only think affected so the
fink quantlib-python package uses the attached patch on the 0.3.5 tgz.

Mark.


quantlib-py23.patch (528 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: QuantLib-Python patch

Luigi Ballabio-2
On 2004.04.01 02:52, Mark Treiber wrote:
> I've attached a patch for QuantLib-Python to compile on darwin (the  
> BSD core to Mac OS X).

Applied, thanks.

        Luigi


Reply | Threaded
Open this post in threaded view
|

QuantLib-Ruby patch

mrtreibe
In reply to this post by mrtreibe
I've attached a patch that adds darwin support to QuantLib-Ruby.  The
patch does two things.  The first is that it converts the Binaries
array (which was an array with a single value anyways) into a string so
that it supports compiling to a .so as well as a .bundle for darwin.  
The binaries variable then replaces all instances of QuantLibc.so.  The
second part is that darwin now follows the linux build branches which
requires additionally modifications to the cfg['LDFLAGS'] variable.  
The changes shouldn't affect the linux build but it should be test
anyways.

Mark.


quantlib-rb18.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: QuantLib-Ruby patch

Luigi Ballabio-2
On 2004.04.06 04:09, Mark Treiber wrote:
> I've attached a patch that adds darwin support to QuantLib-Ruby.

Applied, thanks.

Later,
        Luigi