Mercurial > mxe-octave
annotate src/isl.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 | 62cf840a71a5 |
children | 49f199fba615 |
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 |
5920
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
7 $(PKG)_CHECKSUM := ce66c4415906bf2c16a8f09f31383f4fe0991531 |
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
8 $(PKG)_SUBDIR := isl-$(PKG)-$($(PKG)_VERSION)-788faca |
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
10 $(PKG)_URL := https://repo.or.cz/isl.git/snapshot/$($(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 |
5920
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
17 $(WGET) -q -O- 'https://repo.or.cz/isl.git/refs' | \ |
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
18 $(SED) -n 's,.*>tags/isl-\([0-9][^<]*\).*,\1,p' | \ |
3496
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 |
5920
62cf840a71a5
isl: use git repo instead of unresponsive website
John Donoghue <john.donoghue@ieee.org>
parents:
5325
diff
changeset
|
24 cd '$(1)' && ./autogen.sh && ./configure \ |
3496
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 |