Mercurial > mxe-octave
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 |
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 | 6 $(PKG)_VERSION := 2015.2 |
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 | 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 | 13 $(PKG)_CMAKE_OPTS := |
14 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) | |
15 ifeq ($(MXE_SYSTEM),mingw) | |
16 $(PKG)_CMAKE_OPTS := -G "MSYS Makefiles" | |
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 | 21 $(WGET) -q -O- 'https://github.com/qhull/qhull/tags' | \ |
22 $(SED) -n 's|.*releases/tag/\([0-9][^"]*\).*|\1|p' | $(SORT) -V | \ | |
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 | 27 mkdir '$(1)/../.build' |
28 cd '$(1)/../.build' && cmake \ | |
29 $($(PKG)_CMAKE_OPTS) \ | |
30 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ | |
31 ../$($(PKG)_SUBDIR) | |
32 make -C $(1)/../.build -j $(JOBS) | |
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 |