File: lib-versions.patch

package info (click to toggle)
petsc 3.18.5%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 523,616 kB
  • sloc: ansic: 740,865; cpp: 41,511; python: 36,523; f90: 16,706; makefile: 12,524; javascript: 11,855; sh: 1,007; xml: 619; objc: 445; java: 13; csh: 1
file content (18 lines) | stat: -rw-r--r-- 958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This changes the shared library name to a versioned one, with a symlink, and
fixes the shared library out-of-date test accordingly.

Index: petsc/lib/petsc/conf/rules
===================================================================
--- petsc.orig/lib/petsc/conf/rules	2022-10-30 13:54:03.334054510 +0100
+++ petsc/lib/petsc/conf/rules	2022-10-30 13:54:03.330054479 +0100
@@ -439,8 +439,8 @@
              echo ${RM} -rf ${INSTALL_LIB_DIR}/$${LIBNAME}.dylib.dSYM; \
 	     ${RM} -rf ${INSTALL_LIB_DIR}/$${LIBNAME}.dylib.dSYM; \
 	   fi; \
-           echo ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}; \
-           ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}; \
+           echo ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}*; \
+           ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}*; \
 	done
 	@if [ -f ${INSTALL_LIB_DIR}/so_locations ]; then \
           echo ${RM} ${INSTALL_LIB_DIR}/so_locations; \