rpms/blacs/FC-3 blacs-shared.patch,NONE,1.1 blacs.spec,1.7,1.8

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Jul 29 19:41:56 UTC 2005


Author: spot

Update of /cvs/extras/rpms/blacs/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8287/FC-3

Modified Files:
	blacs.spec 
Added Files:
	blacs-shared.patch 
Log Message:

actually add the patch. :P


blacs-shared.patch:

--- NEW FILE blacs-shared.patch ---
--- blacs/BLACS/SRC/MPI/Makefile.BAD	2005-06-27 07:12:21.252897368 -0500
+++ blacs/BLACS/SRC/MPI/Makefile	2005-06-27 07:14:23.144367048 -0500
@@ -88,12 +88,14 @@
 	make $(BLACSCINIT)
 	$(ARCH) $(ARCHFLAGS) $(BLACSLIB) $(Fintobj) $(Cintobj)
 	$(RANLIB) $(BLACSLIB)
+	( mkdir tmp ; cp $(BLACSLIB) tmp ; cd tmp ; ar x $(BLACSLIB) ; ld -shared -o $(BLACSdir)/$(BLACSLIBS).0.0 *.o *.C -soname=$(BLACSLIBS) ; cd .. )
 
 $(BLACSFINIT) :
 	$(CC) -o Cblacs_pinfo.o -c $(CCFLAGS) $(BLACSDEFS) -DCallFromC -DMainInF77 \
                  blacs_pinfo_.c
 	$(CC) -c $(CCFLAGS) $(BLACSDEFS) -DMainInF77 blacs_pinfo_.c
 	$(ARCH) $(ARCHFLAGS) $(BLACSFINIT) blacs_pinfo_.o Cblacs_pinfo.o
+	$(CC) -shared -Wl,-soname=$(BLACSFINITS) -o $(BLACSdir)/$(BLACSFINITS).0.0 blacs_pinfo_.o Cblacs_pinfo.o
 	$(RANLIB) $(BLACSFINIT)
 
 $(BLACSCINIT) :
@@ -101,6 +103,7 @@
                  blacs_pinfo_.c
 	$(CC) -c $(CCFLAGS) $(BLACSDEFS) -DMainInC blacs_pinfo_.c
 	$(ARCH) $(ARCHFLAGS) $(BLACSCINIT) blacs_pinfo_.o Cblacs_pinfo.o
+	$(CC) -shared -Wl,-soname=$(BLACSCINITS) -o $(BLACSdir)/$(BLACSCINITS).0.0 blacs_pinfo_.o Cblacs_pinfo.o
 	$(RANLIB) $(BLACSCINIT)
 
 #  ------------------


Index: blacs.spec
===================================================================
RCS file: /cvs/extras/rpms/blacs/FC-3/blacs.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- blacs.spec	12 Jul 2005 19:46:23 -0000	1.7
+++ blacs.spec	29 Jul 2005 19:41:54 -0000	1.8
@@ -1,7 +1,7 @@
 Summary: Basic Linear Algebra Communication Subprograms
 Name: blacs
 Version: 1.1
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: Freely distributable
 Group: Development/Libraries
 URL: http://www.netlib.org/blacs
@@ -107,6 +107,9 @@
 %{_libdir}/libmpiblacs*.so
 
 %changelog
+* Fri Jul 29 2005 Tom "spot" Callaway <tcallawa at redhat.com> 1.1-11
+- bump for new tag
+
 * Mon Jun 27 2005 Tom "spot" Callaway <tcallawa at redhat.com> 1.1-10
 - split static lib and .so into -devel package
 - fix Bmake files for shared library support




More information about the fedora-extras-commits mailing list