annotate src/gcc-mpfr.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 9688888f0c5c
children d5ece22fd694
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2035
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
4 PKG := gcc-mpfr
4474
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
5 $(PKG)_IGNORE :=
5326
9688888f0c5c * src/gcc-mpfr.mk, src/mpfr.mk: update to v4.0.2
John Donoghue
parents: 4938
diff changeset
6 $(PKG)_VERSION := 4.0.2
9688888f0c5c * src/gcc-mpfr.mk, src/mpfr.mk: update to v4.0.2
John Donoghue
parents: 4938
diff changeset
7 $(PKG)_CHECKSUM := 52c1f2a4c9a202f46cf3275a8d46b562aa584208
4474
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
8 $(PKG)_SUBDIR := mpfr-$($(PKG)_VERSION)
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
9 $(PKG)_FILE := mpfr-$($(PKG)_VERSION).tar.xz
4938
b20c53770d87 cloog, mpfr: update download locations
John W. Eaton <jwe@octave.org>
parents: 4474
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/mpfr/$($(PKG)_FILE)
4474
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
11 $(PKG)_URL_2 := http://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE)
3502
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
12 $(PKG)_DEPS := gcc-gmp
217
89ba55cd6e29 switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
89ba55cd6e29 switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
3708
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3502
diff changeset
15 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
2035
0213fe9deb5c consolidate metadata for mpfr packages
Tony Theodore <tonyt@logyst.com>
parents: 2010
diff changeset
16 echo $(mpfr_VERSION)
217
89ba55cd6e29 switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
3502
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
18
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
19 define $(PKG)_BUILD
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
20 mkdir '$(1).build'
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
21 cd '$(1).build' && '$(1)/configure' \
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
22 --prefix='$(BUILD_TOOLS_PREFIX)' \
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
23 --disable-shared \
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
24 --with-gmp='$(BUILD_TOOLS_PREFIX)'
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
25 $(MAKE) -C '$(1).build' -j '$(JOBS)'
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
26 $(MAKE) -C '$(1).build' -j 1 install
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
27 endef