[MacPorts] #21341: fixed packaging for gcc44
MacPorts
noreply at macports.org
Sun Aug 8 16:40:07 PDT 2010
#21341: fixed packaging for gcc44
--------------------------------------+-------------------------------------
Reporter: howarth@… | Owner: mww@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: gcc44
--------------------------------------+-------------------------------------
Comment(by adfernandes@…):
> Are you passing --with-ppl=/opt/local to configure for the cloog build?
On fink, I have always used --with-ppl=%p for our cloog packaging.
No... I probably should have, but it seems to have built just fine without
it. All libraries are linked as they should be. (I'll probably add it now,
though.)
I am following the directions archived as follows:
* http://gcc.gnu.org/install/prerequisites.html
* http://gcc.gnu.org/wiki/Graphite
* http://gcc.gnu.org/wiki/Graphite/4.5
`gcc4[45]` require a special build of `cloog`, apparently, the latest
version of which is `cloog-ppl-0.15.9`. This library in turn depends on
`ppl-0.10.x`, the latest of which is `0.10.2`. I tried `0.11` which was
released very recently, and it does ''not'' work. The FSF `cloog-ppl`
depends specifically on version `0.10.x`.
The old `ppl` port would not compile because it used an old test for
`gmp4`. I patched configure so that the `configure` test would work with
`gmp5`.
That being said, In finally have a working graphite-based compiler. :-)
Attached is a patch for `gcc4[456]`. Some notes:
* I've added a default `--without-ppl` and `--without-cloog` to stop gcc
from using them without an explicit request.
* I've put the `graphite` variant as optional.
* I have only tested `gcc45` thoroughly with and without the `graphite`
variant. Both work as expected.
* The `gcc44` and `gcc46` patches should be the same, but I've only
configured, not built and tested the compilers.
* ... therefore the diffs don't bump the revision.
Please test!
--
Ticket URL: <http://trac.macports.org/ticket/21341#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list