diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2005-05-15 21:48:13 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2005-05-15 21:48:13 +0000 |
commit | 8f378b427d6de66ae8f6d38f5a773735341b314d (patch) | |
tree | 5bb1f71db0b1ed4b24c7b4a072592f81e96d1d33 /sys-cluster/lam-mpi/files | |
parent | Added initgroups support to asterisk, this fixes realtime priority support (-... (diff) | |
download | historical-8f378b427d6de66ae8f6d38f5a773735341b314d.tar.gz historical-8f378b427d6de66ae8f6d38f5a773735341b314d.tar.bz2 historical-8f378b427d6de66ae8f6d38f5a773735341b314d.zip |
Fixed BUG #88110. Building liblammpio.so now, too.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'sys-cluster/lam-mpi/files')
-rw-r--r-- | sys-cluster/lam-mpi/files/lam-mpi-7.1.1-shared-romio.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-cluster/lam-mpi/files/lam-mpi-7.1.1-shared-romio.patch b/sys-cluster/lam-mpi/files/lam-mpi-7.1.1-shared-romio.patch new file mode 100644 index 000000000000..344ff13ad94a --- /dev/null +++ b/sys-cluster/lam-mpi/files/lam-mpi-7.1.1-shared-romio.patch @@ -0,0 +1,49 @@ +--- lam-7.1.1/romio/mpi-io/Makefile.in.orig 2005-05-15 23:12:33.317533904 +0200 ++++ lam-7.1.1/romio/mpi-io/Makefile.in 2005-05-15 23:15:25.733322720 +0200 +@@ -1,6 +1,9 @@ + CC = @CC@ + AR = @AR@ + LIBNAME = @LIBNAME@ ++PICFLAGS = -fPIC -DPIC ++SOFLAGS = -shared ++SONAME = $(basename @LIBNAME@).so + RANLIB = @RANLIB@ + srcdir = @srcdir@ + +@@ -55,10 +58,14 @@ + + all: $(LIBNAME) + ++dir: ++ mkdir -p shared/ ++ + .SUFFIXES: $(SUFFIXES) .p + + .c.o: + $(CC) $(CFLAGS) -c $< ++ $(CC) $(CFLAGS) $(PICFLAGS) -c -o shared/$@ $< + + .c.p: + @cp $(srcdir)/$*.c _$*.c +@@ -69,8 +76,10 @@ + $(AR) $(LIBNAME) $(MPIO_REAL_POBJECTS) + @rm -f _*.o + +-$(LIBNAME): $(MPIO_OBJECTS) ++$(LIBNAME): dir $(MPIO_OBJECTS) + $(AR) $(LIBNAME) $(MPIO_OBJECTS) ++ $(CC) $(SOFLAGS) -o $(SONAME) $(addprefix shared/, $(MPIO_OBJECTS)) + + clean: + @rm -f *.o ++ @rm -f shared/*.o +--- lam-7.1.1/romio/util/romioinstall.in.orig 2005-05-11 20:06:51.526529552 +0200 ++++ lam-7.1.1/romio/util/romioinstall.in 2005-05-11 20:07:10.845592608 +0200 +@@ -128,6 +128,7 @@ + # Library files + dir="$libdir" + append "$ROMIO_TOP_BUILDDIR/lib/liblammpio.a:$dir/liblammpio.a" ++append "$ROMIO_TOP_BUILDDIR/lib/liblammpio.so:$dir/liblammpio.so" + + # Man pages + dir="$mandir/man3" |