annotate src/qhull.mk @ 5534:372ea4c0afb2

Move of-ocs PKG_XXXX to inst dir and add break patch * src/of-ocs-3-break-fixes.patch, src/of-ocs-4-pkgadd-fixes.patch: new files * dist-files.mk: add ref to files
author John Donoghue <john.donoghue@ieee.org>
date Sun, 13 Sep 2020 08:15:14 -0400
parents f80eb3519e2a
children d862fd40cc42
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 :=
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
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)' \
4954
c105cddd23d5 * src/qhull.mk: redirect doc install path so doesnt install docs
John Donoghue
parents: 4874
diff changeset
31 -DDOC_INSTALL_DIR='$(1)' \
4874
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
32 ../$($(PKG)_SUBDIR)
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
33 make -C $(1)/../.build -j $(JOBS)
c4e929fb081d Update qhull to 2015.2
John Donoghue
parents: 4336
diff changeset
34 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
35 endef