annotate src/arpack.mk @ 6234:97c5f8da5036 release

* src/librsb.mk: update to 1.2.0.11
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 27 May 2022 12:24:32 +0200
parents fcc82cc3b632
children fe9ef30a38dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2873
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := arpack
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5701
fcc82cc3b632 Update arpack to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 5700
diff changeset
6 $(PKG)_VERSION := 3.8.0
fcc82cc3b632 Update arpack to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 5700
diff changeset
7 $(PKG)_CHECKSUM := 6b89dc1b298e1db7df17094308fc3309afa49618
3011
75e142c0004b Update arpack to 3.1.3 which fixes issues with untaring in mingw.
John Donoghue <john.donoghue@ieee.org>
parents: 2997
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-ng-$($(PKG)_VERSION)
3482
361f5149d073 Update arpack to 3.1.4
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
9 $(PKG)_FILE := arpack-ng_$($(PKG)_VERSION).tar.gz
4035
66cb6f6de8f7 arpack: update to get source from github
John Donoghue
parents: 3664
diff changeset
10 $(PKG)_URL := https://github.com/opencollab/arpack-ng/archive/$($(PKG)_VERSION).tar.gz
3545
c21ca79d7980 Remove ENABLE_OPEN_BLAS from .mk files and use just to add openblass to the distribution
John Donoghue
parents: 3482
diff changeset
11 $(PKG)_DEPS := blas lapack
3664
ec301e1de20f arpack: dont use destdir in native mingw mode
John Donoghue <john.donoghue@ieee.org>
parents: 3549
diff changeset
12 $(PKG)_DESTDIR := '$(3)'
2873
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
3204
a940dce60841 set LD_LIBRARY_PATH in env for arpack configure script
John W. Eaton <jwe@octave.org>
parents: 3073
diff changeset
14 ifeq ($(MXE_NATIVE_BUILD),yes)
a940dce60841 set LD_LIBRARY_PATH in env for arpack configure script
John W. Eaton <jwe@octave.org>
parents: 3073
diff changeset
15 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)
a940dce60841 set LD_LIBRARY_PATH in env for arpack configure script
John W. Eaton <jwe@octave.org>
parents: 3073
diff changeset
16 endif
a940dce60841 set LD_LIBRARY_PATH in env for arpack configure script
John W. Eaton <jwe@octave.org>
parents: 3073
diff changeset
17
3664
ec301e1de20f arpack: dont use destdir in native mingw mode
John Donoghue <john.donoghue@ieee.org>
parents: 3549
diff changeset
18 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
ec301e1de20f arpack: dont use destdir in native mingw mode
John Donoghue <john.donoghue@ieee.org>
parents: 3549
diff changeset
19 $(PKG)_DESTDIR :=
ec301e1de20f arpack: dont use destdir in native mingw mode
John Donoghue <john.donoghue@ieee.org>
parents: 3549
diff changeset
20 endif
ec301e1de20f arpack: dont use destdir in native mingw mode
John Donoghue <john.donoghue@ieee.org>
parents: 3549
diff changeset
21
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
22 ifeq ($(USE_PIC_FLAG),yes)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
23 $(PKG)_CONFIGURE_PIC_OPTION := --with-pic
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
24 endif
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
25
4304
0db33a326eec make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 4281
diff changeset
26 ifeq ($(ENABLE_FORTRAN_INT64),yes)
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
27 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8"
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
28 endif
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
29
2873
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 define $(PKG)_UPDATE
5700
5e5c201cd134 * src/arpack.mk: update update rule
John Donoghue <john.donoghue@ieee.org>
parents: 4983
diff changeset
31 $(WGET) -q -O- 'https://github.com/opencollab/arpack-ng/tags' | \
5e5c201cd134 * src/arpack.mk: update update rule
John Donoghue <john.donoghue@ieee.org>
parents: 4983
diff changeset
32 $(SED) -n 's,.*releases/tag/\([^"]*\).*,\1,p' | \
4384
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 4304
diff changeset
33 head -1
2873
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 endef
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 define $(PKG)_BUILD
4141
3a3a0122cfde arpack: update to 3.3.0
John Donoghue
parents: 4035
diff changeset
37 cd '$(1)' && '$(1)/bootstrap'
2873
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 mkdir '$(1)/.build'
3204
a940dce60841 set LD_LIBRARY_PATH in env for arpack configure script
John W. Eaton <jwe@octave.org>
parents: 3073
diff changeset
39 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
3017
107fb7f1202f set F77 on configure command line for arpack, fftw, and qrupdate packages
John W. Eaton <jwe@octave.org>
parents: 3015
diff changeset
40 F77=$(MXE_F77) \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
41 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
42 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4281
d3d22f217ad0 * src/arpack.mk: update to 3.4.0
John D
parents: 4141
diff changeset
43 $(ENABLE_SHARED_OR_STATIC) \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
44 $($(PKG)_CONFIGURE_PIC_OPTION) \
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
45 --prefix='$(HOST_PREFIX)' \
3073
a46b4b6fc26f [MSVC] enable ARPACK compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3069
diff changeset
46 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) && $(CONFIGURE_POST_HOOK)
4281
d3d22f217ad0 * src/arpack.mk: update to 3.4.0
John D
parents: 4141
diff changeset
47
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2976
diff changeset
48 $(MAKE) -C '$(1)/.build' -j '$(JOBS)'
4281
d3d22f217ad0 * src/arpack.mk: update to 3.4.0
John D
parents: 4141
diff changeset
49 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$($(PKG)_DESTDIR)'
2873
43a1c4d36636 Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 endef