Mercurial > mxe-octave
view src/arpack.mk @ 6067:1a4cd1dde869 release
of_communications: update to v1.2.4
* src/of-communications-1-catop.patch: removed file
* src/of-communications-2-error_state.patch: removed file
* dist-files.mk: removed ref to removed filed
* dist-files.mk: update version, checksum
(grafted from 4d6eba975aa4278d559a31d28e88fa7333e11ff2)
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 24 Jan 2022 08:30:50 -0500 |
parents | fcc82cc3b632 |
children | fe9ef30a38dd |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := arpack $(PKG)_IGNORE := $(PKG)_VERSION := 3.8.0 $(PKG)_CHECKSUM := 6b89dc1b298e1db7df17094308fc3309afa49618 $(PKG)_SUBDIR := $(PKG)-ng-$($(PKG)_VERSION) $(PKG)_FILE := arpack-ng_$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/opencollab/arpack-ng/archive/$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := blas lapack $(PKG)_DESTDIR := '$(3)' ifeq ($(MXE_NATIVE_BUILD),yes) $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) endif ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DESTDIR := endif ifeq ($(USE_PIC_FLAG),yes) $(PKG)_CONFIGURE_PIC_OPTION := --with-pic endif ifeq ($(ENABLE_FORTRAN_INT64),yes) $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" endif define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/opencollab/arpack-ng/tags' | \ $(SED) -n 's,.*releases/tag/\([^"]*\).*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && '$(1)/bootstrap' mkdir '$(1)/.build' cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ F77=$(MXE_F77) \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ $($(PKG)_CONFIGURE_PIC_OPTION) \ --prefix='$(HOST_PREFIX)' \ $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)/.build' -j '$(JOBS)' $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$($(PKG)_DESTDIR)' endef