Mercurial > mxe-octave
annotate src/gcc-gmp.mk @ 6203:8b23f76955c6 release
ICU4C: Use GCC for native version even if clang is installed.
* src/icu4c.mk: ICU4C seems to prefer clang for building the native version if
it is installed on the build system. But it looks like that doesn't work for
some reason. When cross-compiling, use GCC for the native version instead.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 05 May 2022 11:22:40 +0200 |
parents | 879b94d8a548 |
children | 1406ec6eeeab |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
944
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-gmp |
4474
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
5 $(PKG)_IGNORE := |
5616
879b94d8a548
* src/gcc-gmp.mk, src/gmp.mk: update to v6.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
5324
diff
changeset
|
6 $(PKG)_VERSION := 6.2.1 |
879b94d8a548
* src/gcc-gmp.mk, src/gmp.mk: update to v6.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
5324
diff
changeset
|
7 $(PKG)_CHECKSUM := 2dcf34d4a432dbe6cce1475a835d20fe44f75822 |
4474
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
8 $(PKG)_SUBDIR := gmp-$($(PKG)_VERSION) |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
9 $(PKG)_FILE := gmp-$($(PKG)_VERSION).tar.bz2 |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
10 $(PKG)_URL := https://gmplib.org/download/gmp/$($(PKG)_FILE) |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
11 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
12 $(PKG)_DEPS := |
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:
3504
diff
changeset
|
15 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
944
26c10955389a
remove code duplication between packages gmp and gcc-gmp
Volker Grabsch <vog@notjusthosting.com>
parents:
941
diff
changeset
|
16 echo $(gmp_VERSION) |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
18 |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
19 define $(PKG)_BUILD |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
20 mkdir '$(1).build' |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
21 cd '$(1).build' && '$(1)/configure' \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
22 --prefix='$(BUILD_TOOLS_PREFIX)' \ |
3504
f8e5b89bb3e3
Make build gcc dependancies static
John Donoghue <john.donoghue@ieee.org>
parents:
3502
diff
changeset
|
23 --disable-shared |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
24 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
25 $(MAKE) -C '$(1).build' -j 1 install |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
26 endef |