Mercurial > mxe-octave
annotate src/gcc-cloog.mk @ 4506:f3d64fe692e6
octave-wrapper.in: Include GCC library directory in LD_LIBRARY_PATH.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Oct 2017 05:54:48 -0400 |
parents | c7285e784532 |
children | b20c53770d87 |
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-cloog |
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.18.4 |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
7 $(PKG)_CHECKSUM := 8f7568ca1873f8d55bb694c8b9b83f7f4c6c1aa5 |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
8 $(PKG)_SUBDIR := cloog-$($(PKG)_VERSION) |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
9 $(PKG)_FILE := cloog-$($(PKG)_VERSION).tar.gz |
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 gcc-isl |
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 $(cloog_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:
3496
diff
changeset
|
22 --disable-shared \ |
3496
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 --with-gmp-prefix='$(BUILD_TOOLS_PREFIX)' \ |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 --with-isl-prefix='$(BUILD_TOOLS_PREFIX)' |
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 '$(JOBS)' |
3c7b3646d0b3
update to gcc 4.8.2 and allow building for MinGW-64
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 $(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
|
27 endef |