annotate src/gcc-isl.mk @ 4676:3edbea625ba8

build-cmake: depend on build-gcc if not using system GCC
author John W. Eaton <jwe@octave.org>
date Fri, 20 Apr 2018 13:51:05 -0400
parents c7285e784532
children 03a5acedac33
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 := gcc-isl
4474
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
5 $(PKG)_IGNORE :=
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
6 $(PKG)_VERSION := 0.16.1
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
7 $(PKG)_CHECKSUM := c5a2b201bf05229647e73203c0bf2d9679d4d21f
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
8 $(PKG)_SUBDIR := isl-$($(PKG)_VERSION)
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
9 $(PKG)_FILE := isl-$($(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 := ftp://gcc.gnu.org/pub/gcc/infrastructure/$($(PKG)_FILE)
3496
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS := gcc-gmp
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
3708
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3504
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
3496
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 echo $(isl_VERSION)
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 endef
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 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
19 mkdir '$(1).build'
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 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:
diff changeset
21 --prefix='$(BUILD_TOOLS_PREFIX)' \
3504
f8e5b89bb3e3 Make build gcc dependancies static
John Donoghue <john.donoghue@ieee.org>
parents: 3501
diff changeset
22 --disable-shared \
3501
33b776056ec1 gcc: fix gmp-prefix
John Donoghue <john.donoghue@ieee.org>
parents: 3496
diff changeset
23 --with-gmp-prefix='$(BUILD_TOOLS_PREFIX)'
3496
3c7b3646d0b3 update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
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:
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:
diff changeset
26 endef