Mercurial > mxe-octave
annotate src/gcc-mpfr.mk @ 5504:9f9ed6a325bd
Build SUNDIALS IDA for Linux with KLU (bug #58795).
* src/suitesparse.mk: Create symlinks to libraries without version suffix.
* src/sundials-ida.mk: Unify build rules for all other platforms.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 31 Jul 2020 14:59:35 +0200 |
parents | 9688888f0c5c |
children | d5ece22fd694 |
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 | 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 | 18 |
19 define $(PKG)_BUILD | |
20 mkdir '$(1).build' | |
21 cd '$(1).build' && '$(1)/configure' \ | |
22 --prefix='$(BUILD_TOOLS_PREFIX)' \ | |
23 --disable-shared \ | |
24 --with-gmp='$(BUILD_TOOLS_PREFIX)' | |
25 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
26 $(MAKE) -C '$(1).build' -j 1 install | |
27 endef |