Mercurial > mxe-octave
annotate src/double-conversion.mk @ 5579:2734b3818171
Avoid double-free with librsb (bug #58957).
* src/librsb.mk: Add work-around to avoid double-free (provided by Michele
Martone).
* src/mingw-of-sparsersb-1-no-render.patch: Remove patch.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 02 Nov 2020 08:55:18 +0100 |
parents | b19fb3ed330c |
children | 556dfbc6457e |
rev | line source |
---|---|
4526 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := double-conversion | |
5 $(PKG)_IGNORE := | |
5082
d69272f82516
* src/double-conversion.mk: update to v3.1.5
John Donoghue
parents:
5028
diff
changeset
|
6 $(PKG)_VERSION := 3.1.5 |
d69272f82516
* src/double-conversion.mk: update to v3.1.5
John Donoghue
parents:
5028
diff
changeset
|
7 $(PKG)_CHECKSUM := ea899f825b61f374b310654927b41244d80b538e |
4526 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
10 $(PKG)_URL := https://github.com/google/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_DEPS := | |
12 | |
13 $(PKG)_CMAKE_FLAGS := | |
14 | |
15 define $(PKG)_UPDATE | |
4538 | 16 $(WGET) -q -O- 'https://github.com/google/double-conversion/tags' | \ |
17 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ | |
18 tail -1 | |
4526 | 19 endef |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && cmake \ | |
23 $($(PKG)_CMAKE_FLAGS) \ | |
24 -DBUILD_TESTING=no \ | |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5082
diff
changeset
|
25 $(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
|
26 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
4526 | 27 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
28 . | |
29 | |
30 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 | |
31 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install | |
32 endef |