Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#19834 closed update (fixed)

boost: update to 1.39

Reported by: arsptr@… Owned by: sanchom (Sancho McCann)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nox@…, guidolorenz@…
Port: boost

Description

Enclosed is my attempt at a Portfile for boost 1.39.

In this release, the configure script has been removed, so the port attempts to call bjam directly with the correct arguments. This is simpler in some ways actually (eg the patchfile is no longer needed).

Attachments (2)

Portfile (6.7 KB) - added by arsptr@… 11 years ago.
First attempt. I've tested this with +docs +graphml +icu and +python25. I specifically haven't tried with +openmpi or the other variants (yet).
boost-1.39.0.diff (13.1 KB) - added by nox@… 11 years ago.
My own attempt to update Boost Portfile

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by arsptr@…

Attachment: Portfile added

First attempt. I've tested this with +docs +graphml +icu and +python25. I specifically haven't tried with +openmpi or the other variants (yet).

comment:1 Changed 11 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to sanchom@…
Port: boost added; port removed

comment:2 Changed 11 years ago by nox@…

I've just got my hands on this ticket. I'm currently writing a portfile for boost too. I've got everything working, except for the --layout=system part, which keeps whining about duplicate names when +debug and +st are enabled. The only missing thing for now is a universal variant.

comment:3 Changed 11 years ago by nox@…

Cc: nox@… added

Changes:

  • Update to 1.39.0.
  • Use versioned names for the libraries to enable +st and +debug.
  • Rename +docs variant to +doc for consistency.
  • Fix documentation variant which was also installing libraries and tools.
  • Remove darwin platform block as it's the only architecture supported by this port.
  • Patch the darwin toolset to properly name libraries when creating them.
  • Use python executable to get its site-packages directory.
  • Enable universal support (currently only ppc and i386).
  • Ignore any user-config.jam and site-config.jam which could change the build process.
  • Properly configure the python Jam module when selecting a python* variant.

comment:4 Changed 11 years ago by nox@…

Forgot to say: It also makes use of buildmakejobs from the MacPorts configuration and properly build Boost.Random.

Changed 11 years ago by nox@…

Attachment: boost-1.39.0.diff added

My own attempt to update Boost Portfile

comment:5 Changed 11 years ago by guidolorenz@…

Cc: guidolorenz@… added

Cc Me!

comment:6 in reply to:  3 Changed 11 years ago by guidolorenz@…

  • Enable universal support (currently only ppc and i386).

Please consider full universal support (i.e. including 64-bit) for the final port. I already filed a modification of the Boost 1.38 Portfile (#18963) that might help. I basically select the bjam architecture and address-model parameters according to ${universal_archs}.

comment:7 Changed 11 years ago by nox@…

Thanks for pointing me the other ticket. I'll integrate it in my patch.

comment:8 Changed 11 years ago by nox@…

timeout, r52381.

comment:9 Changed 11 years ago by nox@…

Resolution: fixed
Status: newclosed

comment:10 Changed 11 years ago by illogic-al@…

The Portfile doesn't actually succeed at doing universal compilations.

comment:11 Changed 11 years ago by nox@…

Use boost 1.39.0_1, it should work.

Note: See TracTickets for help on using tickets.