mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
9c64708269
* build: Add cmake as depends package (cmake.mk) The bls-signatures library requires cmake 3.14 * depends: Update chia_bls to version 1.0.0 of dashpay/bls-signatures * depends: Rename package chia_bls to bls-dash * depends: Disable blspy/tests/benchmarks build for chia_bls Note: Building with tests would require the following: depends: Fix macOS build for versions < 10.12 Seems like older versions of macOS pretend to support c++17 std libs but do not have/have issues with uncaught_exceptions. "Catch", the testing framework used in the bls lib wants those by default but setting `DCATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS` disables them which should be just fine to do in all cases here. --- depends/packages/chia_bls.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/depends/packages/chia_bls.mk b/depends/packages/chia_bls.mk index e79a85844f..25749b74ab 100644 --- a/depends/packages/chia_bls.mk +++ b/depends/packages/chia_bls.mk @@ -28,6 +28,8 @@ define $(package)_set_vars $(package)_config_opts_darwin+= -DCMAKE_AR="$(host_prefix)/native/bin/$($(package)_ar)" $(package)_config_opts_darwin+= -DCMAKE_RANLIB="$(host_prefix)/native/bin/$($(package)_ranlib)" endif + + $(package)_cppflags+= -DCATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS endef define $(package)_config_cmds -- * depends: Drop obsolete variable * bls: Integrate the upgraded version into the codebase * depends: Pre-fetch relic to fix gitian Can fetch apt packages only when building with lxc Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
20 lines
506 B
Makefile
20 lines
506 B
Makefile
packages:=boost openssl libevent zeromq gmp bls-dash backtrace cmake
|
|
|
|
qt_native_packages = native_protobuf
|
|
qt_packages = qrencode protobuf zlib
|
|
|
|
qt_linux_packages:=qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig
|
|
|
|
qt_darwin_packages=qt
|
|
qt_mingw32_packages=qt
|
|
|
|
wallet_packages=bdb
|
|
|
|
upnp_packages=miniupnpc
|
|
|
|
darwin_native_packages = native_biplist native_ds_store native_mac_alias
|
|
|
|
ifneq ($(build_os),darwin)
|
|
darwin_native_packages += native_cctools native_cdrkit native_libdmg-hfsplus
|
|
endif
|