Mercurial > mxe-octave
annotate src/isl.mk @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | 03a5acedac33 |
children | 62cf840a71a5 |
rev | line source |
---|---|
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := isl |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5325
03a5acedac33
* src/gcc-isl.mk, src/isl.mk: update to v0.22.1, update urls
John Donoghue
parents:
4467
diff
changeset
|
6 $(PKG)_VERSION := 0.22.1 |
03a5acedac33
* src/gcc-isl.mk, src/isl.mk: update to v0.22.1, update urls
John Donoghue
parents:
4467
diff
changeset
|
7 $(PKG)_CHECKSUM := 125303d52bd6226f80d23bf1f76b78c6f1115568 |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
5325
03a5acedac33
* src/gcc-isl.mk, src/isl.mk: update to v0.22.1, update urls
John Donoghue
parents:
4467
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
03a5acedac33
* src/gcc-isl.mk, src/isl.mk: update to v0.22.1, update urls
John Donoghue
parents:
4467
diff
changeset
|
10 $(PKG)_URL := http://isl.gforge.inria.fr/$($(PKG)_FILE) |
3502 | 11 $(PKG)_DEPS := build-gcc gmp |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
4467 | 13 $(PKG)_EXTRA_MAKE_FLAGS := LDFLAGS='-no-undefined' |
14 | |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # stick to tested versions from gcc |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
5325
03a5acedac33
* src/gcc-isl.mk, src/isl.mk: update to v0.22.1, update urls
John Donoghue
parents:
4467
diff
changeset
|
17 $(WGET) -q -O- 'https://isl.gforge.inria.fr/' | \ |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 $(SED) -n 's,.*isl-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 $(SORT) -V | |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 tail -1 |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 endef |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 cd '$(1)' && ./configure \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 $(ENABLE_SHARED_OR_STATIC) \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 --prefix='$(HOST_PREFIX)' \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 --with-gmp-prefix='$(HOST_PREFIX)' |
3928 | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_EXTRA_MAKE_FLAGS) |
30 $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_EXTRA_MAKE_FLAGS) install | |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 endef |