Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111043 - lam-mpi 7.1.1-r3: unnecessarily builds both static and shared libs
Summary: lam-mpi 7.1.1-r3: unnecessarily builds both static and shared libs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 10:50 UTC by John Wood
Modified: 2010-09-10 19:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Wood 2005-10-31 10:50:36 UTC
In the latest lam-mpi-7.1.1-r3 ebuild, there is an "--enable-shared" switch, but
this does not automatically disable the compilation and installation of the
standard static library versions.

At the moment, both the ".so" and the larger (and as I believe unnecessary)
static ".a" library versions are built.

In the install docs, it is mentioned that an additional "--disable-static"
switch is required. A patch (I mad a simple diff) for the
lam-mpi-7.1.1-r3.ebuild to the new -r4 is below.

After I used this new -r4 in my portage overlay, the static libraries were not
built and of course not installed, which reduced the space usage of the LAM MPI
installation.

Reproducible: Always
Steps to Reproduce:




Patch from 7.1.1-r3 to new -r4:

71a72
>               --disable-static \
Comment 1 John Wood 2005-10-31 10:53:04 UTC
Note: As mentioned in the install docs, compiling both shared and static
versions requires double the compilation time.

So I guess it's a good improvement to do just half the work :-)
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-06 14:20:52 UTC
With lam-mpi, static libraries are the default (and indeed, we had to patch in
production many shared libs -- see bug #88110). Many MPI-using applications will
expect to find the static libs.

If any libs are unnecessary outside of 64-bit machines, the shared ones would be.

If you have a reason this should still be done, please reopen.