pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lapack: remove here, imported
Module Name: pkgsrc-wip
Committed By: Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By: thor
Date: Tue Apr 20 23:58:32 2021 +0200
Changeset: 4243df83acb0534113e8ac598a669a2463f31ebc
Modified Files:
Makefile
Removed Files:
lapack/DESCR
lapack/Makefile
lapack/Makefile.common
lapack/PLIST
lapack/buildlink3.mk
lapack/distinfo
lapack/patches/patch-BLAS_SRC_CMakeLists.txt
lapack/patches/patch-CBLAS_cblas.pc.in
lapack/patches/patch-CBLAS_src_CMakeLists.txt
lapack/patches/patch-CMakeLists.txt
lapack/patches/patch-LAPACKE_CMakeLists.txt
lapack/patches/patch-LAPACKE_lapacke.pc.in
lapack/patches/patch-SRC_CMakeLists.txt
lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt
lapack/version.mk
Log Message:
lapack: remove here, imported
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4243df83acb0534113e8ac598a669a2463f31ebc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
lapack/DESCR | 22 ---
lapack/Makefile | 18 ---
lapack/Makefile.common | 43 ------
lapack/PLIST | 10 --
lapack/buildlink3.mk | 16 ---
lapack/distinfo | 14 --
lapack/patches/patch-BLAS_SRC_CMakeLists.txt | 18 ---
lapack/patches/patch-CBLAS_cblas.pc.in | 13 --
lapack/patches/patch-CBLAS_src_CMakeLists.txt | 25 ----
lapack/patches/patch-CMakeLists.txt | 153 ---------------------
lapack/patches/patch-LAPACKE_CMakeLists.txt | 46 -------
lapack/patches/patch-LAPACKE_lapacke.pc.in | 13 --
lapack/patches/patch-SRC_CMakeLists.txt | 30 ----
lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt | 19 ---
lapack/version.mk | 3 -
16 files changed, 444 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index fe508039df..ea76c8bc4d 100644
--- a/Makefile
+++ b/Makefile
@@ -1940,7 +1940,6 @@ SUBDIR+= lagrange
SUBDIR+= lambertw
SUBDIR+= lander
SUBDIR+= lanq
-SUBDIR+= lapack
SUBDIR+= lasi
SUBDIR+= last.fm
SUBDIR+= laszip
diff --git a/lapack/DESCR b/lapack/DESCR
deleted file mode 100644
index 0ae2255372..0000000000
--- a/lapack/DESCR
+++ /dev/null
@@ -1,22 +0,0 @@
-The BLAS (Basic Linear Algebra Subprograms) are high quality "building
-block" routines for performing basic vector and matrix
-operations. Level 1 BLAS do vector-vector operations, Level 2 BLAS do
-matrix-vector operations, and Level 3 BLAS do matrix-matrix
-operations. Because the BLAS are efficient, portable, and widely
-available, they're commonly used in the development of high quality
-linear algebra software, LINPACK and LAPACK for example.
-
-LAPACK is a highly portable Fortran 77 library which provides routines
-for solving systems of simultaneous linear equations, least-squares
-solutions of linear systems of equations, eigenvalue problems, and
-singular value problems. The associated matrix factorizations (LU,
-Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are
-related computations such as reordering of the Schur factorizations
-and estimating condition numbers. Dense and banded matrices are
-handled, but not general sparse matrices. In all areas, similar
-functionality is provided for real and complex matrices, in both
-single and double precision.
-
-This package contains the Fortran 77 reference implementation of BLAS
-and LAPACK from Netlib. The C wrappers CBLAS and LAPACKE are provided
-in separate packages.
diff --git a/lapack/Makefile b/lapack/Makefile
deleted file mode 100644
index 79a852cbaf..0000000000
--- a/lapack/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD$
-
-MAINTAINER= thomas.orgis%uni-hamburg.de@localhost
-COMMENT= Linear Algebra PACKage (Netlib reference implementation)
-
-LAPACK_COMPONENT= lapack
-LAPACK_COMPONENT_CMAKE_ARGS= \
- -DUSE_OPTIMIZED_BLAS=ON \
- -DBLAS_LIBRARIES=-lblas \
- -DUSE_OPTIMIZED_LAPACK=OFF \
- -DCBLAS=OFF -DLAPACKE=OFF -DLAPACK=ON
-
-# This always uses Netlib BLAS. Other optimized BLAS packages bring
-# their own LAPACK, hence cblas and lapacke packages use
-# mk/blas.buildlink3.mk instead.
-.include "../../wip/blas/buildlink3.mk"
-.include "../../wip/lapack/Makefile.common"
-.include "../../mk/bsd.pkg.mk"
diff --git a/lapack/Makefile.common b/lapack/Makefile.common
deleted file mode 100644
index 892178fdfc..0000000000
--- a/lapack/Makefile.common
+++ /dev/null
@@ -1,43 +0,0 @@
-# $NetBSD$
-# used by wip/blas/Makefile
-# used by wip/cblas/Makefile
-# used by wip/lapacke/Makefile
-# used by wip/lapack/Makefile
-
-# Common Makefile for packages derived from the Netlib BLAS/LAPACK sources.
-# Package Makefile sets LAPACK_COMPONENT and LAPACK_COMPONENT_CMAKE_ARGS to
-# choose the library to install.
-# LAPACK_COMPONENT can be "lapack", "lapacke", or "cblas"
-
-DISTNAME= lapack-${NETLIB_BLAS_VERSION}
-PKGNAME= ${LAPACK_COMPONENT}-${NETLIB_BLAS_VERSION}
-CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GITHUB:=Reference-LAPACK/}
-GITHUB_PROJECT= lapack
-GITHUB_TAG= v${NETLIB_BLAS_VERSION}
-
-HOMEPAGE= https://www.netlib.org/lapack/
-LICENSE= modified-bsd
-
-# All parts are in the same section (now wip, later math).
-PATCHDIR= ${.CURDIR}/../../wip/lapack/patches
-DISTINFO_FILE= ${.CURDIR}/../../wip/lapack/distinfo
-
-USE_LANGUAGES= c fortran
-USE_CMAKE= yes
-
-WRKSRC= ${WRKDIR}/${DISTNAME}
-CONFIGURE_DIRS= build
-CMAKE_ARG_PATH= ${WRKSRC}
-
-# Note: We patch the build to install both static and
-# shared libraries.
-CMAKE_ARGS= -DBUILD_DEPRECATED=ON \
- -DBUILD_SHARED_LIBS=ON \
- -DBUILD_STATIC_LIBS=ON \
- ${LAPACK_COMPONENT_CMAKE_ARGS}
-
-.include "../../wip/lapack/version.mk"
-
-post-extract:
- ${RUN} ${MKDIR} ${WRKSRC}/build
diff --git a/lapack/PLIST b/lapack/PLIST
deleted file mode 100644
index 4b6741e83b..0000000000
--- a/lapack/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD$
-lib/cmake/lapack-${PKGVERSION}/lapack-config-version.cmake
-lib/cmake/lapack-${PKGVERSION}/lapack-config.cmake
-lib/cmake/lapack-${PKGVERSION}/lapack-targets-release.cmake
-lib/cmake/lapack-${PKGVERSION}/lapack-targets.cmake
-lib/liblapack.a
-lib/liblapack.so
-lib/liblapack.so.3
-lib/liblapack.so.${PKGVERSION}
-lib/pkgconfig/lapack.pc
diff --git a/lapack/buildlink3.mk b/lapack/buildlink3.mk
deleted file mode 100644
index ec52eeeef0..0000000000
--- a/lapack/buildlink3.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+= lapack
-
-.if !defined(LAPACK_BUILDLINK3_MK)
-LAPACK_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.lapack+= lapack>=3.9.0
-BUILDLINK_ABI_DEPENDS.lapack+= lapack>=3.9.0
-BUILDLINK_PKGSRCDIR.lapack?= ../../wip/lapack
-
-.include "../../wip/blas/buildlink3.mk"
-
-.endif # LAPACK_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -lapack
diff --git a/lapack/distinfo b/lapack/distinfo
deleted file mode 100644
index 1fba9440b1..0000000000
--- a/lapack/distinfo
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: distinfo,v 1.21 2017/09/11 20:56:28 wiz Exp $
-
-SHA1 (lapack-3.9.0.tar.gz) = 0451d180eed2b12b94aaae77e772d7573e87bec4
-RMD160 (lapack-3.9.0.tar.gz) = 333bf17b3e2503c26cdd2139566fdc788be1d0c3
-SHA512 (lapack-3.9.0.tar.gz) = 424956ad941a60a4b71e0d451ad48db12a692f8a71a90f3ca7f71d6ecc1922f392746ea84df1c47a46577ed2db32e9e47ec44ad248207c5ac7da179becb712ef
-Size (lapack-3.9.0.tar.gz) = 7534567 bytes
-SHA1 (patch-BLAS_SRC_CMakeLists.txt) = c8c69e6e0c67337af999863c4f5c64618d1374d7
-SHA1 (patch-CBLAS_cblas.pc.in) = 3befb18c1b7f2f82c6da83ea10f913c817acf09f
-SHA1 (patch-CBLAS_src_CMakeLists.txt) = faa1ad6c322830cb62e0f5bdab33732c0372cce3
-SHA1 (patch-CMakeLists.txt) = ea2bec54dd2c283a96862ef760826bf6e633613e
-SHA1 (patch-LAPACKE_CMakeLists.txt) = b5d4fb36550e1ae47e7e68ffec0e10afa3ac8864
-SHA1 (patch-LAPACKE_lapacke.pc.in) = 7f0d91aaceac7f9980650ec90dbda95cf09b768f
-SHA1 (patch-SRC_CMakeLists.txt) = 2908cdeb0d94f51ec16b02b8a6426dd6cde7e10f
-SHA1 (patch-TESTING_MATGEN_CMakeLists.txt) = 84d4cde8fef49c6efc9f50a3219b0299375934d5
diff --git a/lapack/patches/patch-BLAS_SRC_CMakeLists.txt b/lapack/patches/patch-BLAS_SRC_CMakeLists.txt
deleted file mode 100644
index 1f5862aef9..0000000000
--- a/lapack/patches/patch-BLAS_SRC_CMakeLists.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Support combined build of shared and static libraries.
-
---- BLAS/SRC/CMakeLists.txt.orig 2017-11-13 04:15:54.000000000 +0000
-+++ BLAS/SRC/CMakeLists.txt
-@@ -104,3 +104,11 @@ set_target_properties(
- SOVERSION ${LAPACK_MAJOR_VERSION}
- )
- lapack_install_library(blas)
-+if(BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
-+ add_library(blas_static STATIC ${SOURCES})
-+ set_target_properties(
-+ blas_static PROPERTIES
-+ OUTPUT_NAME blas
-+ )
-+ lapack_install_library(blas_static)
-+endif()
diff --git a/lapack/patches/patch-CBLAS_cblas.pc.in b/lapack/patches/patch-CBLAS_cblas.pc.in
deleted file mode 100644
index 3ee816653f..0000000000
--- a/lapack/patches/patch-CBLAS_cblas.pc.in
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
-Install BLAS libs here rather than from a separate package
-
---- CBLAS/cblas.pc.in.orig 2019-03-27 14:34:40.823289167 +0000
-+++ CBLAS/cblas.pc.in
-@@ -6,5 +6,5 @@ Description: C Standard Interface to BLA
- Version: @LAPACK_VERSION@
- URL: http://www.netlib.org/blas/#_cblas
- Libs: -L${libdir} -lcblas
-+Libs.private: @BLAS_LIBRARIES@
- Cflags: -I${includedir}
--Requires.private: blas
diff --git a/lapack/patches/patch-CBLAS_src_CMakeLists.txt b/lapack/patches/patch-CBLAS_src_CMakeLists.txt
deleted file mode 100644
index 2e35233e43..0000000000
--- a/lapack/patches/patch-CBLAS_src_CMakeLists.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-Support combined build of shared and static libraries.
-
---- CBLAS/src/CMakeLists.txt.orig 2017-11-13 04:15:54.000000000 +0000
-+++ CBLAS/src/CMakeLists.txt
-@@ -126,3 +126,18 @@ target_include_directories(cblas PUBLIC
- )
- target_link_libraries(cblas PRIVATE ${BLAS_LIBRARIES})
- lapack_install_library(cblas)
-+
-+if(BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
-+ add_library(cblas_static STATIC ${SOURCES})
-+ set_target_properties(
-+ cblas_static PROPERTIES
-+ LINKER_LANGUAGE C
-+ OUTPUT_NAME cblas
-+ )
-+ target_include_directories(cblas_static PUBLIC
-+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
-+ $<INSTALL_INTERFACE:include>
-+ )
-+ target_link_libraries(cblas_static PRIVATE ${BLAS_LIBRARIES})
-+ lapack_install_library(cblas_static)
-+endif()
diff --git a/lapack/patches/patch-CMakeLists.txt b/lapack/patches/patch-CMakeLists.txt
deleted file mode 100644
index d2f68840c5..0000000000
--- a/lapack/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,153 +0,0 @@
-$NetBSD$
-
-Avoid installation of LAPACK CMake and pkg-config files when not installing
-LAPACK, also allowing explicitly to switch off LAPACK build for BLAS-only
-packaging.
-
---- CMakeLists.txt.orig 2020-03-03 15:36:43.155560348 +0100
-+++ CMakeLists.txt 2020-03-03 15:36:34.827560837 +0100
-@@ -112,8 +112,10 @@
-
-
- # --------------------------------------------------
--set(LAPACK_INSTALL_EXPORT_NAME lapack-targets)
-
-+if(LAPACK)
-+
-+set(LAPACK_INSTALL_EXPORT_NAME lapack-targets)
- macro(lapack_install_library lib)
- install(TARGETS ${lib}
- EXPORT ${LAPACK_INSTALL_EXPORT_NAME}
-@@ -123,6 +125,18 @@
- )
- endmacro()
-
-+else()
-+
-+macro(lapack_install_library lib)
-+ install(TARGETS ${lib}
-+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT RuntimeLibraries
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT RuntimeLibraries
-+ )
-+endmacro()
-+
-+endif()
-+
- set(PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-
- # --------------------------------------------------
-@@ -252,6 +266,10 @@
-
- option(USE_OPTIMIZED_LAPACK "Whether or not to use an optimized LAPACK library instead of included netlib LAPACK" OFF)
-
-+option(LAPACK "Whether to build or use LAPACK (to enable a BLAS-only build)")
-+
-+if(LAPACK)
-+
- # --------------------------------------------------
- # LAPACK
- # User did not provide a LAPACK Library but specified to search for one
-@@ -293,6 +311,8 @@
- CACHE STRING "Linker flags for shared libs" FORCE)
- endif()
-
-+endif()
-+
- if(BUILD_TESTING)
- add_subdirectory(TESTING)
- endif()
-@@ -374,14 +394,18 @@
- set(ALL_TARGETS ${ALL_TARGETS} blas)
- endif()
-
-+if(LAPACK)
- if(NOT LATESTLAPACK_FOUND)
- set(ALL_TARGETS ${ALL_TARGETS} lapack)
-+ set(BUILD_LAPACK ON)
-+endif()
- endif()
-
- if(BUILD_TESTING OR LAPACKE_WITH_TMG)
- set(ALL_TARGETS ${ALL_TARGETS} tmglib)
- endif()
-
-+if(LAPACK)
- # Export lapack targets, not including lapacke, from the
- # install tree, if any.
- set(_lapack_config_install_guard_target "")
-@@ -395,6 +419,7 @@
- # lapack-config.cmake to load targets from the install tree.
- list(GET ALL_TARGETS 0 _lapack_config_install_guard_target)
- endif()
-+endif()
-
- # Include cblas in targets exported from the build tree.
- if(CBLAS)
-@@ -406,6 +431,7 @@
- set(ALL_TARGETS ${ALL_TARGETS} lapacke)
- endif()
-
-+if(LAPACK)
- # Export lapack and lapacke targets from the build tree, if any.
- set(_lapack_config_build_guard_target "")
- if(ALL_TARGETS)
-@@ -415,32 +441,34 @@
- # for lapack-config.cmake to load targets from the build tree.
- list(GET ALL_TARGETS 0 _lapack_config_build_guard_target)
- endif()
-+endif()
-
--configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/lapack-config.cmake @ONLY)
--
-+if(BUILD_LAPACK)
-+ configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-build.cmake.in
-+ ${LAPACK_BINARY_DIR}/lapack-config.cmake @ONLY)
-
--configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY)
-+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY)
- install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
-- DESTINATION ${PKG_CONFIG_DIR}
-- COMPONENT Development
-- )
-+ ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
-+ DESTINATION ${PKG_CONFIG_DIR}
-+ COMPONENT Development
-+ )
-
--configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-install.cmake.in
-- ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake @ONLY)
-+ configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-install.cmake.in
-+ ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake @ONLY)
-
--include(CMakePackageConfigHelpers)
--write_basic_package_version_file(
-- ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
-- VERSION ${LAPACK_VERSION}
-- COMPATIBILITY SameMajorVersion
-- )
-+ include(CMakePackageConfigHelpers)
-+ write_basic_package_version_file(
-+ ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
-+ VERSION ${LAPACK_VERSION}
-+ COMPATIBILITY SameMajorVersion
-+ )
-
--install(FILES
-- ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake
-- ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
-- COMPONENT Development
-- )
--
-\ Kein Zeilenumbruch am Dateiende.
-+ install(FILES
-+ ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake
-+ ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
-+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
-+ COMPONENT Development
-+ )
-+endif()
-+
diff --git a/lapack/patches/patch-LAPACKE_CMakeLists.txt b/lapack/patches/patch-LAPACKE_CMakeLists.txt
deleted file mode 100644
index a98a402600..0000000000
--- a/lapack/patches/patch-LAPACKE_CMakeLists.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-$NetBSD$
-
-Support combined build of shared and static libraries.
-
---- LAPACKE/CMakeLists.txt.orig 2020-01-03 19:33:52.766364829 +0100
-+++ LAPACKE/CMakeLists.txt 2020-01-03 19:49:05.115280246 +0100
-@@ -94,6 +94,26 @@
- target_link_libraries(lapacke PRIVATE ${LAPACK_LIBRARIES})
-
- lapack_install_library(lapacke)
-+
-+if(BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
-+ add_library(lapacke_static STATIC ${SOURCES})
-+ set_target_properties(
-+ lapacke_static PROPERTIES
-+ OUTPUT_NAME lapacke
-+ )
-+ target_include_directories(lapacke_static PUBLIC
-+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
-+ $<INSTALL_INTERFACE:include>
-+ )
-+
-+ if(LAPACKE_WITH_TMG)
-+ target_link_libraries(lapacke_static PRIVATE tmglib)
-+ endif()
-+ target_link_libraries(lapacke_static PRIVATE ${LAPACK_LIBRARIES})
-+
-+ lapack_install_library(lapacke_static)
-+endif()
-+
- install(
- FILES ${LAPACKE_INCLUDE} ${LAPACK_BINARY_DIR}/include/lapacke_mangling.h
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
-@@ -126,7 +146,8 @@
- COMPONENT Development
- )
-
--install(EXPORT lapacke-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
-- COMPONENT Development
-- )
-+#install(EXPORT lapacke-targets
-+# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
-+# COMPONENT Development
-+# )
-+
diff --git a/lapack/patches/patch-LAPACKE_lapacke.pc.in b/lapack/patches/patch-LAPACKE_lapacke.pc.in
deleted file mode 100644
index 8fafc0e18b..0000000000
--- a/lapack/patches/patch-LAPACKE_lapacke.pc.in
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
-Install libs here rather than from a separate package
-
---- LAPACKE/lapacke.pc.in.orig 2019-03-27 14:35:14.016006535 +0000
-+++ LAPACKE/lapacke.pc.in
-@@ -6,5 +6,5 @@ Description: C Standard Interface to LAP
- Version: @LAPACK_VERSION@
- URL: http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack
- Libs: -L${libdir} -llapacke
-+Libs.private: @LAPACK_LIBRARIES@ @BLAS_LIBRARIES@
- Cflags: -I${includedir}
--Requires.private: lapack
diff --git a/lapack/patches/patch-SRC_CMakeLists.txt b/lapack/patches/patch-SRC_CMakeLists.txt
deleted file mode 100644
index 02b8c52bed..0000000000
--- a/lapack/patches/patch-SRC_CMakeLists.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD$
-
-Support combined build of shared and static libraries.
-
---- SRC/CMakeLists.txt.orig 2019-11-21 08:57:43.000000000 +0100
-+++ SRC/CMakeLists.txt 2020-01-03 19:53:12.452257316 +0100
-@@ -518,3 +518,23 @@
- endif()
-
- lapack_install_library(lapack)
-+
-+if(BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
-+ add_library(lapack_static STATIC ${SOURCES})
-+ set_target_properties(
-+ lapack_static PROPERTIES
-+ OUTPUT_NAME lapack
-+ )
-+
-+ if(USE_XBLAS)
-+ target_link_libraries(lapack_static PRIVATE ${XBLAS_LIBRARY})
-+ endif()
-+ target_link_libraries(lapack_static PRIVATE ${BLAS_LIBRARIES})
-+
-+ if (_is_coverage_build)
-+ target_link_libraries(lapack_static PRIVATE gcov)
-+ add_coverage(lapack_static)
-+ endif()
-+
-+ lapack_install_library(lapack_static)
-+endif()
diff --git a/lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt b/lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt
deleted file mode 100644
index 14460ef5d4..0000000000
--- a/lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
-Support combined build of shared and static libraries.
-
---- TESTING/MATGEN/CMakeLists.txt.orig 2017-11-13 04:15:54.000000000 +0000
-+++ TESTING/MATGEN/CMakeLists.txt
-@@ -50,3 +50,12 @@ list(REMOVE_DUPLICATES SOURCES)
- add_library(tmglib ${SOURCES})
- target_link_libraries(tmglib ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
- lapack_install_library(tmglib)
-+if(BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
-+ add_library(tmglib_static STATIC ${SOURCES})
-+ set_target_properties(
-+ tmglib_static PROPERTIES
-+ OUTPUT_NAME tmglib
-+ )
-+ target_link_libraries(tmglib_static ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
-+ lapack_install_library(tmglib_static)
-+endif()
diff --git a/lapack/version.mk b/lapack/version.mk
deleted file mode 100644
index 00ee810518..0000000000
--- a/lapack/version.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD$
-
-NETLIB_BLAS_VERSION= 3.9.0
Home |
Main Index |
Thread Index |
Old Index