Boost logo

Boost-Build :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-03-22 17:39:45


David Abrahams wrote:
>
> Could you try this patch while using a Python version prior to 2.5?

I'll do it and report back. The build is running now and when it is
complete, I'll try the patch. Just python library build and tests will
be enough, right?

Thanks,
  Boris

----- Original Message -----
From: "David Abrahams" <dave_at_[hidden]>
To: <boost-build_at_[hidden]>
Sent: Thursday, March 22, 2007 4:21 PM
Subject: Re: [Boost-build] How to deal with debug-python?

>
> on Thu Mar 22 2007, "Boris Gubenko" <Boris.Gubenko-AT-hp.com> wrote:
>
>> David Abrahams wrote:
>>> [...] Should the suffix be a feature?
>>
>> I think, it is a good idea. On HP-UX, the suffix is a function of
>> python version: starting with Python 2.5, python uses .so suffix
>> while pre-2.5 versions use .sl suffix.
>
> Oof. That's a different suffix. BBv2 is designed so that when you
> "set-generated-target-suffix" (etc.) you only specify the part after
> the dot. Unfortunately that means I need a different mechanism
> altogether for handling "_d.so"
>
>> I've submitted a patch for python.jam which, for HP-UX, determines
>> the suffix based on python version. If the suffix was a feature, no
>> run-time selection would be necessary. The patch has not been applied
>> and now, after python.jam was almost completely revamped, this patch
>> is irrelevant.
>>
>> Since I'm using Python 2.5 for boost testing on HP-UX, this is not an
>> issue for me. It can be an issue for HP customers using python version
>> prior to 2.5. Making suffix a feature would solve this problem.
>
> Could you try this patch while using a Python version prior to 2.5?
>
> Thanks,
>
>
>

--------------------------------------------------------------------------------

> --- python.jam 22 Mar 2007 08:22:48 -0400 1.12.2.43
> +++ python.jam 22 Mar 2007 16:20:21 -0400
> @@ -904,6 +904,15 @@
> type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>windows : pyd ;
> type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>cygwin : dll ;
>
> +# Prior to python 2.5, HPUX extension modules had a ".sl" extension
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>2.4 : sl ;
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>2.3 : sl ;
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>2.2 : sl ;
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>2.1 : sl ;
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>2.0 : sl ;
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>1.6 : sl ;
> +type.set-generated-target-suffix PYTHON_EXTENSION : <target-os>hpux
> <python>1.5 : sl ;
> +
> # Unset 'lib' prefix for PYTHON_EXTENSION
> type.set-generated-target-prefix PYTHON_EXTENSION : : "" ;
>
>

--------------------------------------------------------------------------------

>
>
>
> --
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com
>

--------------------------------------------------------------------------------

> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk