mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mumps: Change "5.1.2" to "5.2.1" in library file names.
* gnu/packages/patches/mumps-shared-libseq.patch, gnu/packages/patches/mumps-shared-mumps.patch, gnu/packages/patches/mumps-shared-pord.patch: Replace "5.1.2" with "5.2.1" in file names. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
459e096770
commit
8cd2a395c7
3 changed files with 7 additions and 7 deletions
|
@ -17,7 +17,7 @@ Index: mumps/libseq/Makefile
|
||||||
+ $(AR) $@ mpi.o mpic.o elapse.o
|
+ $(AR) $@ mpi.o mpic.o elapse.o
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
+libmpiseq$(PLAT).so: mpi.o mpic.o elapse.o
|
+libmpiseq$(PLAT).so: mpi.o mpic.o elapse.o
|
||||||
+ $(FC) -shared $^ -Wl,-soname,libmpiseq$(PLAT)-5.1.2.so -o libmpiseq$(PLAT)-5.1.2.so -Wl,-z,defs
|
+ $(FC) -shared $^ -Wl,-soname,libmpiseq$(PLAT)-5.2.1.so -o libmpiseq$(PLAT)-5.2.1.so -Wl,-z,defs
|
||||||
.f.o:
|
.f.o:
|
||||||
- $(FC) $(OPTF) -c $*.f $(OUTF)$*.o
|
- $(FC) $(OPTF) -c $*.f $(OUTF)$*.o
|
||||||
+ $(FC) $(OPTF) -fPIC -c $*.f $(OUTF)$*.o
|
+ $(FC) $(OPTF) -fPIC -c $*.f $(OUTF)$*.o
|
||||||
|
|
|
@ -30,16 +30,16 @@ Index: mumps/src/Makefile
|
||||||
-$(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS_MOD) $(OBJS_OTHER)
|
-$(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS_MOD) $(OBJS_OTHER)
|
||||||
- $(AR)$@ $?
|
- $(AR)$@ $?
|
||||||
+$(libdir)/libmumps_common$(PLAT).so: $(OBJS_COMMON_MOD) $(OBJS_COMMON_OTHER)
|
+$(libdir)/libmumps_common$(PLAT).so: $(OBJS_COMMON_MOD) $(OBJS_COMMON_OTHER)
|
||||||
+ $(FC) -shared $^ -Wl,-soname,libmumps_common$(PLAT)-5.1.2.so -L$(libdir) $(LORDERINGS) -lpthread $(MPIFLIB) $(MPICLIB) $(LEXTRAS) -o $(libdir)/libmumps_common$(PLAT)-5.1.2.so -Wl,-z,defs
|
+ $(FC) -shared $^ -Wl,-soname,libmumps_common$(PLAT)-5.2.1.so -L$(libdir) $(LORDERINGS) -lpthread $(MPIFLIB) $(MPICLIB) $(LEXTRAS) -o $(libdir)/libmumps_common$(PLAT)-5.2.1.so -Wl,-z,defs
|
||||||
+ ln -s libmumps_common$(PLAT)-5.1.2.so $@
|
+ ln -s libmumps_common$(PLAT)-5.2.1.so $@
|
||||||
+
|
+
|
||||||
+$(libdir)/lib$(ARITH)mumps$(PLAT).a: $(OBJS_MOD) $(OBJS_OTHER)
|
+$(libdir)/lib$(ARITH)mumps$(PLAT).a: $(OBJS_MOD) $(OBJS_OTHER)
|
||||||
+ $(AR) $@ $?
|
+ $(AR) $@ $?
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
+$(libdir)/lib$(ARITH)mumps$(PLAT).so: $(OBJS_MOD) $(OBJS_OTHER)
|
+$(libdir)/lib$(ARITH)mumps$(PLAT).so: $(OBJS_MOD) $(OBJS_OTHER)
|
||||||
+ $(FC) -shared $^ -Wl,-soname,lib$(ARITH)mumps$(PLAT)-5.1.2.so -L$(libdir) -lmumps_common$(PLAT) $(LORDERINGS) $(MPIFLIB) $(LEXTRAS) $(LIBBLAS) $(SCALAP) $(LAPACK) -o $(libdir)/lib$(ARITH)mumps$(PLAT)-5.1.2.so -Wl,-z,defs
|
+ $(FC) -shared $^ -Wl,-soname,lib$(ARITH)mumps$(PLAT)-5.2.1.so -L$(libdir) -lmumps_common$(PLAT) $(LORDERINGS) $(MPIFLIB) $(LEXTRAS) $(LIBBLAS) $(SCALAP) $(LAPACK) -o $(libdir)/lib$(ARITH)mumps$(PLAT)-5.2.1.so -Wl,-z,defs
|
||||||
+ ln -s lib$(ARITH)mumps$(PLAT)-5.1.2.so $@
|
+ ln -s lib$(ARITH)mumps$(PLAT)-5.2.1.so $@
|
||||||
+
|
+
|
||||||
# Dependencies between modules:
|
# Dependencies between modules:
|
||||||
$(ARITH)mumps_load.o: $(ARITH)mumps_comm_buffer.o \
|
$(ARITH)mumps_load.o: $(ARITH)mumps_comm_buffer.o \
|
||||||
|
|
|
@ -24,8 +24,8 @@ Index: mumps/PORD/lib/Makefile
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
+libpord$(PLAT).so: $(OBJS)
|
+libpord$(PLAT).so: $(OBJS)
|
||||||
+ $(CC) -shared $(OBJS) -Wl,-soname,libpord$(PLAT)-5.1.2.so -o libpord$(PLAT)-5.1.2.so -Wl,-z,defs
|
+ $(CC) -shared $(OBJS) -Wl,-soname,libpord$(PLAT)-5.2.1.so -o libpord$(PLAT)-5.2.1.so -Wl,-z,defs
|
||||||
+ ln -s libpord$(PLAT)-5.1.2.so $@
|
+ ln -s libpord$(PLAT)-5.2.1.so $@
|
||||||
+
|
+
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue