mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
82eec21fee
7c218dacd0e9602b8f755be42e96c49706f96305 build: specify cmake build dir for multiprocess depends build (fanquake) Pull request description: When no build dir is specified, cmake will warn: ```bash Preprocessing libmultiprocess... Configuring libmultiprocess... CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. ``` It's unclear if this will actually ever become an error, but it's also easy enough to just supply the directory, and save this maybe breaking in future. ACKs for top commit: ryanofsky: Code review ACK 7c218dacd0e9602b8f755be42e96c49706f96305. I guess the purpose of the warning is to encourage people not to build in the source directory, but reasons for encouraging this don't really apply to the depends build system, so it is appropriate to disable the warning. hebasto: ACK 7c218dacd0e9602b8f755be42e96c49706f96305, tested on Ubuntu 22.04. Tree-SHA512: 6904f2095fe62cead4abc644ec888c5d836e54a3c0b2a84c467029116e5d14eba35190570acaa23c6831aed9a4a65898134480cc46cdb141279ec0dc6f534d5f
19 lines
543 B
Makefile
19 lines
543 B
Makefile
package=native_libmultiprocess
|
|
$(package)_version=5741d750a04e644a03336090d8979c6d033e32c0
|
|
$(package)_download_path=https://github.com/chaincodelabs/libmultiprocess/archive
|
|
$(package)_file_name=$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=ac848db49a6ed53e423c62d54bd87f1f08cbb0326254a8667e10bbfe5bf032a4
|
|
$(package)_dependencies=native_capnp
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake) .
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|