Mercurial > mxe-octave
annotate src/qhull.mk @ 5895:2db7f803d55d release
librsb: Update to version 1.2.0.10 (bug #60042).
* src/librsb.mk: Update version and checksum. Remove work-around for fixed bug.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 19 Sep 2021 14:32:07 +0200 |
parents | b19fb3ed330c |
children | 8279e6b94a0b |
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 := |
5474
f80eb3519e2a
* src/qhull.mk: update to v2020.1
John Donoghue <john.donoghue@ieee.org>
parents:
5111
diff
changeset
|
6 $(PKG)_VERSION := 2020.1 |
f80eb3519e2a
* src/qhull.mk: update to v2020.1
John Donoghue <john.donoghue@ieee.org>
parents:
5111
diff
changeset
|
7 $(PKG)_CHECKSUM := a938aa73a8964f81786a05fc4c98044878e09f07 |
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) | |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5474
diff
changeset
|
15 ifeq ($(MXE_SYSTEM),mingw) |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5474
diff
changeset
|
16 $(PKG)_CMAKE_OPTS := -G "MSYS Makefiles" |
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5474
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 | 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) \ | |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5474
diff
changeset
|
30 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5541
diff
changeset
|
31 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5474
diff
changeset
|
32 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
4954
c105cddd23d5
* src/qhull.mk: redirect doc install path so doesnt install docs
John Donoghue
parents:
4874
diff
changeset
|
33 -DDOC_INSTALL_DIR='$(1)' \ |
4874 | 34 ../$($(PKG)_SUBDIR) |
35 make -C $(1)/../.build -j $(JOBS) | |
36 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
|
37 endef |