2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2016 Sergey Avseyev
13 # Copyright (c) 2022 Niklas Poslovski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= arpack
19 COMPONENT_VERSION
= 3.9.1
21 COMPONENT_SUMMARY
= Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems
22 COMPONENT_DESCRIPTION
= The package is designed to compute a few eigenvalues and corresponding eigenvectors of a general n by n matrix A. It is most appropriate for large sparse or structured matrices A where structured means that a matrix-vector product w
<- Av requires order n rather than the usual order n
**2 floating point operations. This software is based upon an algorithmic variant of the Arnoldi process called the Implicitly Restarted Arnoldi Method
(IRAM
).
23 COMPONENT_PROJECT_URL
= https
://github.com
/opencollab
/$(REAL_NAME
)
24 COMPONENT_SRC
= $(REAL_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:f6641deb07fa69165b7815de9008af3ea47eb39b2bb97521fbf74c97aba6e844
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_FMRI
= library
/math
/arpack
29 COMPONENT_CLASSIFICATION
= System
/Libraries
30 COMPONENT_LICENSE
= BSD
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
35 CMAKE_OPTIONS
+= -DICB
=ON
37 # Needed for "gmake test" to work successfully.
38 # If SHELLOPTS is exported (as it is by the userland makefiles),
39 # then all shell options get exported to child invocations of bash,
40 # which results in test failures due to nounset set unexpectedly,
41 # and errors such as "libtool_install_magic: unbound variable"
44 COMPONENT_TEST_TRANSFORMS
+= \
45 ' -e "s/[0-9]*\.[0-9]* sec//" ' \
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= $(GFORTRAN_RUNTIME_PKG
)
52 REQUIRED_PACKAGES
+= library
/math
/openblas
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= system
/library
/math