| | |
| | | |
| | | # |
| | | # Copyright (c) 2016 Sergey Avseyev |
| | | # Copyright (c) 2022 Niklas Poslovski |
| | | # |
| | | BUILD_STYLE= cmake |
| | | USE_DEFAULT_TEST_TRANSFORMS= yes |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME= arpack |
| | | COMPONENT_VERSION= 3.6.3 |
| | | COMPONENT_REVISION= 2 |
| | | COMPONENT_VERSION= 3.8.0 |
| | | #COMPONENT_REVISION= 2 |
| | | REAL_NAME= arpack-ng |
| | | COMPONENT_PROJECT_URL= https://github.com/opencollab/arpack-ng |
| | | COMPONENT_SUMMARY= Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems |
| | |
| | | COMPONENT_SRC= $(REAL_NAME)-$(COMPONENT_VERSION) |
| | | COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz |
| | | COMPONENT_ARCHIVE_HASH= \ |
| | | sha256:64f3551e5a2f8497399d82af3076b6a33bf1bc95fc46bbcabe66442db366f453 |
| | | sha256:ada5aeb3878874383307239c9235b716a8a170c6d096a6625bfd529844df003d |
| | | COMPONENT_ARCHIVE_URL= \ |
| | | https://github.com/opencollab/$(REAL_NAME)/archive/$(COMPONENT_VERSION).tar.gz |
| | | COMPONENT_LICENSE= BSD |
| | | COMPONENT_LICENSE_FILE= COPYING |
| | | |
| | | include $(WS_MAKE_RULES)/prep.mk |
| | | include $(WS_MAKE_RULES)/configure.mk |
| | | include $(WS_MAKE_RULES)/ips.mk |
| | | include $(WS_MAKE_RULES)/common.mk |
| | | |
| | | COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf --force --install && libtoolize --force --copy ) |
| | | |
| | | CONFIGURE_OPTIONS += --disable-dependency-tracking |
| | | CONFIGURE_OPTIONS += --enable-icb |
| | | |
| | | COMPONENT_TEST_TRANSFORMS += \ |
| | | '-n ' \ |
| | | '-e "/TOTAL:/p" ' \ |
| | | '-e "/SKIP:/p" ' \ |
| | | '-e "/PASS:/p" ' \ |
| | | '-e "/FAIL:/p" ' \ |
| | | '-e "/ERROR:/p" ' |
| | | |
| | | build: $(BUILD_32_and_64) |
| | | |
| | | install: $(INSTALL_32_and_64) |
| | | CMAKE_OPTIONS += -DICB=ON |
| | | |
| | | # Needed for "gmake test" to work successfully. |
| | | # If SHELLOPTS is exported (as it is by the userland makefiles), |
| | |
| | | # and errors such as "libtool_install_magic: unbound variable" |
| | | unexport SHELLOPTS |
| | | |
| | | test: $(TEST_32_and_64) |
| | | |
| | | # Auto-generated dependencies |
| | | REQUIRED_PACKAGES += $(GFORTRAN_RUNTIME_PKG) |
| | | REQUIRED_PACKAGES += library/math/openblas |
| | | REQUIRED_PACKAGES += system/library |
| | | REQUIRED_PACKAGES += $(GFORTRAN_RUNTIME_PKG) |
| | | REQUIRED_PACKAGES += system/library/math |