pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/lapack Fix lapack parallel build when building bo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/981eb90f1e23
branches: trunk
changeset: 375368:981eb90f1e23
user: nros <nros%pkgsrc.org@localhost>
date: Sun Mar 13 07:31:56 2022 +0000
description:
Fix lapack parallel build when building both static and shared libs
lapack creates .mod files that are created in the same location
when the static and shared libraries these then interfere with each
other. put the .mod files created when buildling the static library
in a different directory to fix this.
diffstat:
math/lapack/distinfo | 4 ++--
math/lapack/patches/patch-SRC_CMakeLists.txt | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 8adb1c769521 -r 981eb90f1e23 math/lapack/distinfo
--- a/math/lapack/distinfo Sun Mar 13 07:19:45 2022 +0000
+++ b/math/lapack/distinfo Sun Mar 13 07:31:56 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2021/11/23 22:45:01 wiz Exp $
+$NetBSD: distinfo,v 1.32 2022/03/13 07:31:56 nros Exp $
BLAKE2s (lapack-3.10.0.tar.gz) = 57d4953533000589bcf9a478d827dbd5fd0dca18094d30e02b9bd67a21197f00
SHA512 (lapack-3.10.0.tar.gz) = 56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf
@@ -10,5 +10,5 @@
SHA1 (patch-CMakeLists.txt) = de1d623f2571752a8ac70fa9d65734ba39770fc5
SHA1 (patch-LAPACKE_CMakeLists.txt) = 13e4662585088aa53f61f7079d103fdfcf985c4e
SHA1 (patch-LAPACKE_lapacke.pc.in) = 6bbd72205120501cd60daf0b22b00ef7979fb329
-SHA1 (patch-SRC_CMakeLists.txt) = c0e22574e0c7ff6535c95a6f1f85903bbc1751b0
+SHA1 (patch-SRC_CMakeLists.txt) = 03bbccbd87334941650cab584469954153f610ed
SHA1 (patch-TESTING_MATGEN_CMakeLists.txt) = 07946678945dba3a7752849791f12e0666345983
diff -r 8adb1c769521 -r 981eb90f1e23 math/lapack/patches/patch-SRC_CMakeLists.txt
--- a/math/lapack/patches/patch-SRC_CMakeLists.txt Sun Mar 13 07:19:45 2022 +0000
+++ b/math/lapack/patches/patch-SRC_CMakeLists.txt Sun Mar 13 07:31:56 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-SRC_CMakeLists.txt,v 1.3 2021/06/01 22:13:35 thor Exp $
+$NetBSD: patch-SRC_CMakeLists.txt,v 1.4 2022/03/13 07:31:56 nros Exp $
Support combined build of shared and static libraries.
---- SRC/CMakeLists.txt.orig 2021-03-25 18:25:15.000000000 +0000
+--- SRC/CMakeLists.txt.orig 2021-06-28 16:39:12.000000000 +0000
+++ SRC/CMakeLists.txt
-@@ -518,3 +518,23 @@ if(_is_coverage_build)
+@@ -524,3 +524,24 @@ if(_is_coverage_build)
endif()
lapack_install_library(${LAPACKLIB})
@@ -13,6 +13,7 @@
+ set_target_properties(
+ ${LAPACKLIB}_static PROPERTIES
+ OUTPUT_NAME ${LAPACKLIB}
++ Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}_static_modules
+ )
+
+ if(USE_XBLAS)
Home |
Main Index |
Thread Index |
Old Index