public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/scalapack] rawhide: Drop unused patches
@ 2026-10-06 16:40 Cristian Le
  0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-10-06 16:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/scalapack
Branch : rawhide
Commit : 93e17b833a0e45cc7386ba72868268628ea2723d
Author : Cristian Le <git@lecris.dev>
Date   : 2026-09-30T10:14:15+02:00
Stats  : +0/-219 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/scalapack/c/93e17b833a0e45cc7386ba72868268628ea2723d?branch=rawhide

Log:
Drop unused patches

---
diff --git a/scalapack-2.0.2-fedora-blas.patch b/scalapack-2.0.2-fedora-blas.patch
deleted file mode 100644
index f193fe2..0000000
--- a/scalapack-2.0.2-fedora-blas.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -up scalapack-2.0.2/scalapack-2.0.2/Makefile.blas scalapack-2.0.2/scalapack-2.0.2/Makefile
---- scalapack-2.0.2/scalapack-2.0.2/Makefile.blas	2016-11-29 11:41:05.255948495 +0100
-+++ scalapack-2.0.2/scalapack-2.0.2/Makefile	2016-11-29 11:41:18.305948495 +0100
-@@ -108,4 +108,4 @@ cleanexample:
- 	( cd EXAMPLE; $(MAKE) clean )
- 
- shared: scalapacklib
--	( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o ../libscalapack.so.2.0.0 *.o *.oo -Wl,-soname=libscalapack.so.2 -lopenblas -L.. -lm -lgfortran ; cd .. )
-+	( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o ../libscalapack.so.2.0.0 *.o *.oo -Wl,-soname=libscalapack.so.2 -lblas -llapack -L.. -lm -lgfortran ; cd .. )
-diff -up scalapack-2.0.2/scalapack-2.0.2/SLmake.inc.blas scalapack-2.0.2/scalapack-2.0.2/SLmake.inc
---- scalapack-2.0.2/scalapack-2.0.2/SLmake.inc.blas	2016-11-29 11:41:10.475948495 +0100
-+++ scalapack-2.0.2/scalapack-2.0.2/SLmake.inc	2016-11-29 11:41:25.785948495 +0100
-@@ -56,6 +56,6 @@ SCALAPACKLIB  = libscalapack.a
- #  BLAS, LAPACK (and possibly other) libraries needed for linking test programs
- #
- 
--BLASLIB       = -lopenblas
-+BLASLIB       = -lblas
- LAPACKLIB     = -llapack
- LIBS          = $(LAPACKLIB) $(BLASLIB)

diff --git a/scalapack-2.0.2-fedora.patch b/scalapack-2.0.2-fedora.patch
deleted file mode 100644
index d781832..0000000
--- a/scalapack-2.0.2-fedora.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-diff -up scalapack-2.0.2/scalapack-2.0.2/Makefile.fedora scalapack-2.0.2/scalapack-2.0.2/Makefile
---- scalapack-2.0.2/scalapack-2.0.2/Makefile.fedora	2014-02-12 11:09:48.585913344 -0500
-+++ scalapack-2.0.2/scalapack-2.0.2/Makefile	2014-02-12 11:11:45.726759063 -0500
-@@ -49,7 +49,7 @@ PRECISIONS = single double complex compl
- 
- all: lib exe example
- 
--lib: blacslib toolslib pblaslib redistlib scalapacklib
-+lib: blacslib toolslib pblaslib redistlib scalapacklib shared
- 
- exe: blacsexe pblasexe redistexe scalapackexe
- 
-@@ -107,3 +107,5 @@ cleanlib:
- cleanexample:
- 	( cd EXAMPLE; $(MAKE) clean )
- 
-+shared: scalapacklib
-+	( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o ../libscalapack.so.2.0.0 *.o *.oo -Wl,-soname=libscalapack.so.2 -lopenblas -L.. -lm -lgfortran ; cd .. )
-diff -up scalapack-2.0.2/scalapack-2.0.2/SLmake.inc.fedora scalapack-2.0.2/scalapack-2.0.2/SLmake.inc
---- scalapack-2.0.2/scalapack-2.0.2/SLmake.inc.fedora	2014-02-12 11:19:04.618179216 -0500
-+++ scalapack-2.0.2/scalapack-2.0.2/SLmake.inc	2014-02-12 11:19:00.675184482 -0500
-@@ -0,0 +1,61 @@
-+############################################################################
-+#
-+#  Program:         ScaLAPACK
-+#
-+#  Module:          SLmake.inc
-+#
-+#  Purpose:         Top-level Definitions
-+#
-+#  Creation date:   February 15, 2000
-+#
-+#  Modified:        October 13, 2011
-+#
-+#  Send bug reports, comments or suggestions to scalapack@cs.utk.edu
-+#
-+############################################################################
-+#
-+#  C preprocessor definitions:  set CDEFS to one of the following:
-+#
-+#     -DNoChange (fortran subprogram names are lower case without any suffix)
-+#     -DUpCase   (fortran subprogram names are upper case without any suffix)
-+#     -DAdd_     (fortran subprogram names are lower case with "_" appended)
-+
-+CDEFS         = -DAdd_
-+
-+#
-+#  The fortran and C compilers, loaders, and their flags
-+#
-+
-+FC            = mpif90
-+CC            = mpicc 
-+NOOPT         = -fPIC
-+FCFLAGS       = $(RPM_OPT_FLAGS) -fPIC
-+CFLAGS        = $(RPM_OPT_FLAGS) -fPIC
-+CCFLAGS       = $(RPM_OPT_FLAGS) -fPIC
-+FCLOADER      = $(FC)
-+CCLOADER      = $(CC)
-+FCLOADFLAGS   = $(FCFLAGS)
-+CCLOADFLAGS   = $(CCFLAGS)
-+
-+#
-+#  The archiver and the flag(s) to use when building archive (library)
-+#  Also the ranlib routine.  If your system has no ranlib, set RANLIB = echo
-+#
-+
-+ARCH          = ar
-+ARCHFLAGS     = cr
-+RANLIB        = ranlib
-+
-+#
-+#  The name of the ScaLAPACK library to be created
-+#
-+
-+SCALAPACKLIB  = libscalapack.a
-+
-+#
-+#  BLAS, LAPACK (and possibly other) libraries needed for linking test programs
-+#
-+
-+BLASLIB       = -lopenblas
-+LAPACKLIB     = -llapack
-+LIBS          = $(LAPACKLIB) $(BLASLIB)

diff --git a/scalapack-2.0.2-missing-functions.patch b/scalapack-2.0.2-missing-functions.patch
deleted file mode 100644
index db0d488..0000000
--- a/scalapack-2.0.2-missing-functions.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- scalapack-2.0.2/scalapack-2.0.2/SRC/Makefile	(revision 199)
-+++ scalapack-2.0.2/scalapack-2.0.2/SRC/Makefile	(working copy)
-@@ -94,7 +94,7 @@ 
-    sdbtf2.o  sdbtrf.o  sdttrf.o sdttrsv.o spttrsv.o strmvt.o pssyevr.o \
-    bslaapp.o bslaexc.o bstrexc.o pstrord.o pstrsen.o psgebal.o pshseqr.o \
-    pslamve.o pslaqr0.o pslaqr1.o pslaqr2.o pslaqr3.o pslaqr4.o pslaqr5.o \
--   psrot.o slaqr6.o
-+   psrot.o slaqr6.o pstrcon.o pstrrfs.o
- 
- CLASRC = \
-    pcdbsv.o  pcdbtrf.o pcdbtrs.o pcdbtrsv.o \
-@@ -125,7 +125,7 @@ 
-    pclattrs.o \
-    pcunmr3.o pcunmrz.o pcmax1.o pscsum1.o pclamr1d.o \
-    cdbtf2.o  cdbtrf.o  cdttrf.o cdttrsv.o  cpttrsv.o csteqr2.o ctrmvt.o \
--   clamsh.o  claref.o  clanv2.o clahqr2.o pcheevr.o
-+   clamsh.o  claref.o  clanv2.o clahqr2.o pcheevr.o pctrcon.o pctrrfs.o 
- 
- DLASRC = \
-    pddbsv.o  pddbtrf.o pddbtrs.o pddbtrsv.o \
-@@ -157,7 +157,7 @@ 
-    ddbtf2.o  ddbtrf.o  ddttrf.o ddttrsv.o dpttrsv.o dtrmvt.o pdsyevr.o \
-    bdlaapp.o bdlaexc.o bdtrexc.o dlaqr6.o pdtrord.o \
-    pdtrsen.o pdgebal.o pdhseqr.o pdlamve.o pdlaqr0.o pdlaqr1.o pdlaqr2.o \
--   pdlaqr3.o pdlaqr4.o pdlaqr5.o pdrot.o
-+   pdlaqr3.o pdlaqr4.o pdlaqr5.o pdrot.o pdtrcon.o pdtrrfs.o
- 
- ZLASRC = \
-    pzdbsv.o  pzdbtrf.o pzdbtrs.o pzdbtrsv.o \
-@@ -188,7 +188,7 @@ 
-    pzlarzb.o pzlarzt.o pzlarz.o  pzlarzc.o pzlatrz.o pztzrzf.o \
-    pzunmr3.o pzunmrz.o pzmax1.o pdzsum1.o pzlamr1d.o \
-    zdbtf2.o  zdbtrf.o  zdttrf.o zdttrsv.o  zpttrsv.o zsteqr2.o ztrmvt.o \
--   zlamsh.o  zlaref.o  zlanv2.o zlahqr2.o pzheevr.o
-+   zlamsh.o  zlaref.o  zlanv2.o zlahqr2.o pzheevr.o pztrcon.o pztrrfs.o
- 
- all: single complex double complex16
- 

diff --git a/scalapack-2.0.2-shared-blacs.patch b/scalapack-2.0.2-shared-blacs.patch
deleted file mode 100644
index cbd2bfc..0000000
--- a/scalapack-2.0.2-shared-blacs.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up scalapack-2.0.2/scalapack-2.0.2/BLACS/SRC/Makefile.shared scalapack-2.0.2/scalapack-2.0.2/BLACS/SRC/Makefile
---- scalapack-2.0.2/scalapack-2.0.2/BLACS/SRC/Makefile.shared	2014-05-03 09:57:18.423192929 -0400
-+++ scalapack-2.0.2/scalapack-2.0.2/BLACS/SRC/Makefile	2014-05-03 09:57:14.128198052 -0400
-@@ -71,6 +71,8 @@ $(Fintobj): Bdef.h Bconfig.h
- all : $(internal) $(Fintobj) $(Cintobj)
- 	$(ARCH) $(ARCHFLAGS) ../../$(SCALAPACKLIB) $(internal) $(Fintobj) $(Cintobj)
- 	$(RANLIB) ../../$(SCALAPACKLIB)
-+	cp -a ../../$(SCALAPACKLIB) ../../libmpiblacs.a
-+	( mkdir tmp ; cp ../../$(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; mpif77 -shared -o ../../../libmpiblacs.so.2.0.0 *.o *.oo -Wl,-soname=libmpiblacs.so.2 ; ln -s libmpiblacs.so.2.0.0 ../../../libmpiblacs.so.2 ; ln -s libmpiblacs.so.2.0.0 ../../../libmpiblacs.so ; cd .. )
- 
- #  -----------------------
- #  Delete the object files

diff --git a/scalapack-2.1-fix-version.patch b/scalapack-2.1-fix-version.patch
deleted file mode 100644
index 7a9f979..0000000
--- a/scalapack-2.1-fix-version.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -up scalapack-2.1.0/scalapack-2.1.0/CMakeLists.txt.version scalapack-2.1.0/scalapack-2.1.0/CMakeLists.txt
---- scalapack-2.1.0/scalapack-2.1.0/CMakeLists.txt.version	2019-11-26 15:37:04.000000000 -0500
-+++ scalapack-2.1.0/scalapack-2.1.0/CMakeLists.txt	2019-11-26 16:06:28.230264465 -0500
-@@ -10,6 +10,11 @@ configure_file(
- # Add the CMake directory for custon CMake modules
- set(CMAKE_MODULE_PATH "${SCALAPACK_SOURCE_DIR}/CMAKE" ${CMAKE_MODULE_PATH})
- 
-+set(SCALAPACK_VERSION_MAJOR 2)
-+set(SCALAPACK_VERSION_MINOR 1)
-+set(SCALAPACK_VERSION_PATCH 0)
-+set(SCALAPACK_VERSION ${SCALAPACK_VERSION_MAJOR}.${SCALAPACK_VERSION_MINOR}.${SCALAPACK_VERSION_PATCH} )
-+
- if (UNIX)
-    if ( "${CMAKE_Fortran_COMPILER}" MATCHES "ifort" )
-   set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fltconsistency -fp_port" )
-@@ -232,6 +237,7 @@ append_subdir_files(src-C "SRC")
- 
- if (UNIX)
-    add_library(scalapack ${blacs} ${tools} ${tools-C} ${extra_lapack} ${pblas} ${pblas-F} ${ptzblas} ${ptools} ${pbblas} ${redist} ${src} ${src-C})
-+   set_target_properties(scalapack PROPERTIES VERSION ${SCALAPACK_VERSION} SOVERSION ${SCALAPACK_VERSION_MAJOR} )
-    target_link_libraries( scalapack ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
-    scalapack_install_library(scalapack)
- else (UNIX) # Need to separate Fortran and C Code
-@@ -251,7 +257,6 @@ add_subdirectory(TESTING)
- SET(CPACK_PACKAGE_NAME "ScaLAPACK")
- SET(CPACK_PACKAGE_VENDOR "University of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd")
- SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "ScaLAPACK- Linear Algebra Package")
--set(SCALAPACK_VERSION 2.1.0)
- set(CPACK_PACKAGE_VERSION_MAJOR 2)
- set(CPACK_PACKAGE_VERSION_MINOR 1)
- set(CPACK_PACKAGE_VERSION_PATCH 0)
-@@ -303,9 +308,9 @@ configure_file(${SCALAPACK_SOURCE_DIR}/C
- install(FILES
-   ${SCALAPACK_BINARY_DIR}/CMakeFiles/scalapack-config.cmake
-   ${SCALAPACK_BINARY_DIR}/scalapack-config-version.cmake
--  DESTINATION lib/cmake/scalapack-${SCALAPACK_VERSION}
-+  DESTINATION lib${LIB_SUFFIX}/cmake/scalapack-${SCALAPACK_VERSION}
-   )
- 
- install(EXPORT scalapack-targets
--  DESTINATION lib/cmake/scalapack-${SCALAPACK_VERSION})
-+  DESTINATION lib${LIB_SUFFIX}/cmake/scalapack-${SCALAPACK_VERSION})
- 

diff --git a/scalapack-2.2.2-fix-cmake-minimum.patch b/scalapack-2.2.2-fix-cmake-minimum.patch
deleted file mode 100644
index 81a4f19..0000000
--- a/scalapack-2.2.2-fix-cmake-minimum.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -up scalapack-2.2.2/scalapack-2.2.2/BLACS/INSTALL/CMakeLists.txt.fix-cmake-minimum scalapack-2.2.2/scalapack-2.2.2/BLACS/INSTALL/CMakeLists.txt
---- scalapack-2.2.2/scalapack-2.2.2/BLACS/INSTALL/CMakeLists.txt.fix-cmake-minimum	2025-03-03 12:09:59.080839385 -0500
-+++ scalapack-2.2.2/scalapack-2.2.2/BLACS/INSTALL/CMakeLists.txt	2025-03-03 12:10:08.099256072 -0500
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 2.8)
-+cmake_minimum_required(VERSION 3.9)
- project(INSTALL C Fortran)
- 
- add_executable(xintface Fintface.f Cintface.c)

diff --git a/scalapack-2.2.2-fix-libsuffix.patch b/scalapack-2.2.2-fix-libsuffix.patch
deleted file mode 100644
index 02c7e07..0000000
--- a/scalapack-2.2.2-fix-libsuffix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -up scalapack-2.2.2/scalapack-2.2.2/CMakeLists.txt.libsuffix scalapack-2.2.2/scalapack-2.2.2/CMakeLists.txt
---- scalapack-2.2.2/scalapack-2.2.2/CMakeLists.txt.libsuffix	2025-03-03 11:46:45.734876782 -0500
-+++ scalapack-2.2.2/scalapack-2.2.2/CMakeLists.txt	2025-03-03 11:47:20.225381661 -0500
-@@ -327,8 +327,8 @@ configure_file(${SCALAPACK_SOURCE_DIR}/C
- install(FILES
-   ${SCALAPACK_BINARY_DIR}/CMakeFiles/scalapack-config.cmake
-   ${SCALAPACK_BINARY_DIR}/scalapack-config-version.cmake
--  DESTINATION lib/cmake/scalapack-${SCALAPACK_VERSION}
-+  DESTINATION lib${LIB_SUFFIX}/cmake/scalapack-${SCALAPACK_VERSION}
-   )
- 
- install(EXPORT scalapack-targets
--  DESTINATION lib/cmake/scalapack-${SCALAPACK_VERSION})
-+  DESTINATION lib${LIB_SUFFIX}/cmake/scalapack-${SCALAPACK_VERSION})

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-06 16:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 16:40 [rpms/scalapack] rawhide: Drop unused patches Cristian Le

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox