annotate src/qhull.mk @ 4874:c4e929fb081d

Update qhull to 2015.2 * dist-files.mk: remove ref to qhull-2-fixes.patch * src/qhull-2-fixes.patch: removed * src/qhull-1-fixes.patch: update patch * src/qhull.mk: update version,checksum, update and build rule
author John Donoghue
date Tue, 30 Oct 2018 16:29:41 -0400
parents 0641ed0cbc53
children c105cddd23d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2890
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := qhull
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4874
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
6 $(PKG)_VERSION := 2015.2
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
7 $(PKG)_CHECKSUM := 0dd03e0232124c81c696fac60db71ca7327eb16e
2890
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := qhull-$($(PKG)_VERSION).tar.gz
4874
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
10 $(PKG)_URL := https://github.com/qhull/$(PKG)/archive/$($(PKG)_VERSION).tar.gz
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
2890
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
4874
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
13 $(PKG)_CMAKE_OPTS :=
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
14 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
15 ifeq ($(MXE_SYSTEM),mingw)
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
16 $(PKG)_CMAKE_OPTS := -G "MSYS Makefiles"
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
17 endif
3887
768c5d4c5b4e new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
18 endif
768c5d4c5b4e new configure option: --enable-qhull-no-strict-aliasing-flag
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
19
2890
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_UPDATE
4874
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
21 $(WGET) -q -O- 'https://github.com/qhull/qhull/tags' | \
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
22 $(SED) -n 's|.*releases/tag/\([0-9][^"]*\).*|\1|p' | $(SORT) -V | \
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
23 tail -1
2890
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 endef
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 define $(PKG)_BUILD
4874
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
27 mkdir '$(1)/../.build'
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
28 cd '$(1)/../.build' && cmake \
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
29 $($(PKG)_CMAKE_OPTS) \
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
30 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
31 ../$($(PKG)_SUBDIR)
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
32 make -C $(1)/../.build -j $(JOBS)
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
33 make -C $(1)/../.build -j 1 install DESTDIR=$(3)
2890
152e3e693568 Include qhull as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 endef