mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
bls|ci: Fix C++17 build, add it to CI (#4055)
* ci: Add C++17 build * bls: Add explicit CBLSSecretKey copy ctor and operator=
This commit is contained in:
parent
08ebd31fdb
commit
704d34b2e4
@ -237,6 +237,13 @@ linux64-build:
|
||||
variables:
|
||||
BUILD_TARGET: linux64
|
||||
|
||||
linux64_cxx17-build:
|
||||
extends: .build-template
|
||||
needs:
|
||||
- x86_64-unknown-linux-gnu-debug
|
||||
variables:
|
||||
BUILD_TARGET: linux64_cxx17
|
||||
|
||||
linux64_nowallet-build:
|
||||
extends:
|
||||
- .build-template
|
||||
|
@ -67,6 +67,14 @@ elif [ "$BUILD_TARGET" = "linux64" ]; then
|
||||
export PYZMQ=true
|
||||
export RUN_UNITTESTS=true
|
||||
export RUN_INTEGRATIONTESTS=true
|
||||
elif [ "$BUILD_TARGET" = "linux64_cxx17" ]; then
|
||||
export HOST=x86_64-unknown-linux-gnu
|
||||
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
||||
export BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports --enable-crash-hooks --enable-c++17"
|
||||
export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
|
||||
export PYZMQ=true
|
||||
export RUN_UNITTESTS=true
|
||||
export RUN_INTEGRATIONTESTS=true
|
||||
elif [ "$BUILD_TARGET" = "linux64_nowallet" ]; then
|
||||
export HOST=x86_64-unknown-linux-gnu
|
||||
export DEP_OPTS="NO_WALLET=1"
|
||||
|
@ -231,6 +231,8 @@ public:
|
||||
using CBLSWrapper::CBLSWrapper;
|
||||
|
||||
CBLSSecretKey() {}
|
||||
CBLSSecretKey(const CBLSSecretKey&) = default;
|
||||
CBLSSecretKey& operator=(const CBLSSecretKey&) = default;
|
||||
|
||||
void AggregateInsecure(const CBLSSecretKey& o);
|
||||
static CBLSSecretKey AggregateInsecure(const std::vector<CBLSSecretKey>& sks);
|
||||
|
Loading…
Reference in New Issue
Block a user