pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/lapack



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Jan  9 03:32:48 UTC 2024

Modified Files:
        pkgsrc/math/lapack: distinfo
Added Files:
        pkgsrc/math/lapack/patches: patch-CBLAS_src_CMakeLists.txt

Log Message:
cblas: Fix build with gfortran from lang/gcc10

* Use Fortran compiler as linker to link with sane RPATH.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/math/lapack/distinfo
cvs rdiff -u -r0 -r1.6 \
    pkgsrc/math/lapack/patches/patch-CBLAS_src_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/lapack/distinfo
diff -u pkgsrc/math/lapack/distinfo:1.35 pkgsrc/math/lapack/distinfo:1.36
--- pkgsrc/math/lapack/distinfo:1.35    Mon Jan  8 21:28:55 2024
+++ pkgsrc/math/lapack/distinfo Tue Jan  9 03:32:48 2024
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.35 2024/01/08 21:28:55 thor Exp $
+$NetBSD: distinfo,v 1.36 2024/01/09 03:32:48 ryoon Exp $
 
 BLAKE2s (lapack-3.12.0.tar.gz) = 825f0d9aa80ae124635784ef7801bf0e2232c27f4f1fec246fb978366ca41bf9
 SHA512 (lapack-3.12.0.tar.gz) = f8f3c733a0221be0b3f5618235408ac59cbd4e5f1c4eab5f509b831a6ec6a9ef14b8849aa6ea10810df1aff90186ca454d15e9438d1dd271c2449d42d3da9dda
 Size (lapack-3.12.0.tar.gz) = 7933607 bytes
+SHA1 (patch-CBLAS_src_CMakeLists.txt) = d400dc4ec02620f8c4fc99331b7e4d69362c810e
 SHA1 (patch-buildsystem-upstreamed) = c1e59582c1344a3cb74cc682d9e8b7c10a4ebe61

Added files:

Index: pkgsrc/math/lapack/patches/patch-CBLAS_src_CMakeLists.txt
diff -u /dev/null pkgsrc/math/lapack/patches/patch-CBLAS_src_CMakeLists.txt:1.6
--- /dev/null   Tue Jan  9 03:32:48 2024
+++ pkgsrc/math/lapack/patches/patch-CBLAS_src_CMakeLists.txt   Tue Jan  9 03:32:48 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-CBLAS_src_CMakeLists.txt,v 1.6 2024/01/09 03:32:48 ryoon Exp $
+
+* Use fortran compiler as linker to fix gfortran from lang/gcc10 link.
+
+--- CBLAS/src/CMakeLists.txt.orig      2024-01-09 03:26:10.559613758 +0000
++++ CBLAS/src/CMakeLists.txt
+@@ -164,7 +164,6 @@ add_library(${CBLASLIB}
+ 
+ set_target_properties(
+   ${CBLASLIB} PROPERTIES
+-  LINKER_LANGUAGE C
+   VERSION ${LAPACK_VERSION}
+   SOVERSION ${LAPACK_MAJOR_VERSION}
+   POSITION_INDEPENDENT_CODE ON



Home | Main Index | Thread Index | Old Index