annotate src/qrupdate.mk @ 4304:0db33a326eec

make --enable-64 the default new configure option --enable-fortran-int64
author John W. Eaton <jwe@octave.org>
date Fri, 30 Dec 2016 16:02:18 -0500
parents c21ca79d7980
children 35464f52609a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := qrupdate
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3326
diff changeset
6 $(PKG)_VERSION := 1.1.2
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := f7403b646ace20f4a2b080b4933a1e9152fac526
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := qrupdate-$($(PKG)_VERSION).tar.gz
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE)
3545
c21ca79d7980 Remove ENABLE_OPEN_BLAS from .mk files and use just to add openblass to the distribution
John Donoghue
parents: 3480
diff changeset
11 $(PKG)_DEPS := blas lapack
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4304
0db33a326eec make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
13 ifeq ($(ENABLE_FORTRAN_INT64),yes)
0db33a326eec make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
14 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8"
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
15 endif
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
16
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_UPDATE
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 echo 'Warning: Updates are temporarily disabled for package qrupdate.' >&2;
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 echo $(qrupdate_VERSION)
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 endef
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_BUILD
2996
446aa596bb99 use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents: 2949
diff changeset
23 mkdir '$(1)/.build'
446aa596bb99 use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents: 2949
diff changeset
24 touch '$(1)/NEWS' '$(1)/AUTHORS'
446aa596bb99 use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents: 2949
diff changeset
25 cd '$(1)' && autoreconf -W none
2949
e94cce61e308 use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
26 chmod a+rx '$(1)/configure'
e94cce61e308 use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
27 cd '$(1)/.build' && '$(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
28 F77=$(MXE_F77) \
3037
db56fbc06742 qrupdate: include CONFIGURE_LDFLAGS in the list of configure options
John W. Eaton <jwe@octave.org>
parents: 3017
diff changeset
29 $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
30 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3326
4ec93c2c211c * src/qrupdate.mk: Add ENABLE_SHARED_OR_STATIC to configure command.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3293
diff changeset
31 $(ENABLE_SHARED_OR_STATIC) \
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
32 --prefix='$(HOST_PREFIX)' \
4304
0db33a326eec make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
33 $($(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS) \
0db33a326eec make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
34 && $(CONFIGURE_POST_HOOK)
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3169
diff changeset
36 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 endef