Skip to content

Commit 5524f0f

Browse files
authored
Merge pull request jl777#268 from VerusCoin/dev
Dev
2 parents 66064f1 + 3d18fc6 commit 5524f0f

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

.gitlab-ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@ build:linux:
6868
- ${VERUS_CLI_LINUX}.sha256
6969
expire_in: 1 week
7070

71-
build:linux:arm64:
71+
.build:linux:arm64:
7272
image: asherd/verus-builders:cross-arm
7373
variables:
7474
DOCKER_DRIVER: overlay2
7575
HOST: aarch64-linux-gnu
7676
STRIP: /usr/aarch64-linux-gnu/bin/strip
7777
STATIC_LIBCURL: 1
78+
CXX: g++-8-aarch64-linux-gnu
79+
CC: gcc-8-aarch64-linux-gnu
7880
stage: build
7981
cache:
8082
key: "${CI_JOB_NAME}${CI_COMMIT_REF_NAME}"
@@ -356,11 +358,11 @@ deploy:
356358
- build:linux
357359
- build:windows
358360
- build:mac
359-
- build:linux:arm64
361+
# - build:linux:arm64
360362
script:
361363
- mkdir Windows && mkdir Linux && mkdir MacOS &&
362364
cp ${VERUS_CLI_WINDOWS} Windows &&
363-
cp ${VERUS_CLI_LINUX} ${VERUS_CLI_ARM64_LINUX} Linux &&
365+
cp ${VERUS_CLI_LINUX} Linux &&
364366
cp ${VERUS_CLI_MACOS} MacOS
365367
- echo "$AUTH_KEY" > AUTH_KEY.json &&
366368
gcloud auth activate-service-account
@@ -383,8 +385,8 @@ deploy:
383385
- ${VERUS_CLI_WINDOWS}.sha256
384386
- ${VERUS_CLI_MACOS}
385387
- ${VERUS_CLI_MACOS}.sha256
386-
- ${VERUS_CLI_ARM64_LINUX}
387-
- ${VERUS_CLI_ARM64_LINUX}.sha256
388+
# - ${VERUS_CLI_ARM64_LINUX}
389+
# - ${VERUS_CLI_ARM64_LINUX}.sha256
388390
expire_in: 1 week
389391
########################################################################################################################
390392
####END#### Deploy ####END####

src/Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ if ARCH_ARM
485485
crypto_libverus_portable_crypto_a_CPPFLAGS = -O3 -Wint-conversion -g -march=armv8.1-a+crypto -flax-vector-conversions -funroll-loops -fomit-frame-pointer -fPIC $(AM_CPPFLAGS)
486486
crypto_libverus_portable_crypto_a_CXXFLAGS = -O3 -Wint-conversion -g -march=armv8.1-a+crypto -flax-vector-conversions -funroll-loops -fomit-frame-pointer -fPIC $(AM_CXXFLAGS)
487487
else
488-
crypto_libverus_portable_crypto_a_CPPFLAGS = -O3 -Wint-conversion -march=x86-64 -g -funroll-loops -fomit-frame-pointer -fPIC $(AM_CPPFLAGS)
488+
crypto_libverus_portable_crypto_a_CPPFLAGS = -O3 -Wint-conversion -march=x86-64 -g -funroll-loops -fomit-frame-pointer -fPIC $(AM_CPPFLAGS) -w
489489
crypto_libverus_portable_crypto_a_CXXFLAGS = -O3 -Wint-conversion -march=x86-64 -g -funroll-loops -fomit-frame-pointer -fPIC $(AM_CXXFLAGS)
490490
endif
491491

@@ -761,7 +761,7 @@ endif
761761

762762
libzcashconsensus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(RELDFLAGS)
763763
libzcashconsensus_la_LIBADD = $(LIBSECP256K1)
764-
libzcashconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -I$(srcdir)/cryptoconditions/include -DBUILD_BITCOIN_INTERNAL
764+
libzcashconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -I$(srcdir)/cryptoconditions/include -DBUILD_BITCOIN_INTERNAL -w
765765
libzcashconsensus_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
766766

767767
endif

src/cryptoconditions/src/asn/asn_system.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include "cryptoconditions-config.h"
1414
#endif
1515

16-
#ifndef _BSD_SOURCE
17-
#define _BSD_SOURCE /* for snprintf() on some linux systems */
16+
#ifndef _DEFAULT_SOURCE
17+
#define _DEFAULT_SOURCE /* for snprintf() on some linux systems */
1818
#endif
1919

2020
#include <stdio.h> /* For snprintf(3) */

src/cryptoconditions/src/threshold.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static Fulfillment_t *thresholdToPartialFulfillment(const CC *cond) {
234234
int maxSubThresholds = 1; // maximum required in all nested thresholds, if it is 1, we know that one signature only is required, and we can optimize since waiting for another sig is unnecessary
235235
CCVisitor subThresholdVisitor = {&maxThreshholdCountVisit, "", 0, &maxSubThresholds};
236236
thresholdVisitChildren(cond, subThresholdVisitor);
237-
int evalCount = cc_countEvals(cond);
237+
// int evalCount = cc_countEvals(cond);
238238
int canOptimize = 0;
239239

240240
/*

src/deprecation.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// Deprecation policy:
99
// * Shut down 20 weeks' worth of blocks after the estimated release block height.
1010
// * A warning is shown during the 2 weeks' worth of blocks prior to shut down.
11-
static const int APPROX_RELEASE_HEIGHT = 820300;
11+
static const int APPROX_RELEASE_HEIGHT = 821200;
1212
static const int WEEKS_UNTIL_DEPRECATION = 20;
1313
static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 60 * 24);
1414

zcutil/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ ld -v
104104
HOST="$HOST" BUILD="$BUILD" NO_PROTON="$PROTON_ARG" "$MAKE" "$@" -C ./depends/ V=1
105105
./autogen.sh
106106

107-
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" "$PROTON_ARG" $CONFIGURE_FLAGS CPPFLAGS='-g' CXXFLAGS='-g'
107+
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" "$PROTON_ARG" $CONFIGURE_FLAGS CPPFLAGS='-g -Wno-builtin-declaration-mismatch -Werror' CXXFLAGS='-g'
108108
"$MAKE" "$@" V=1

0 commit comments

Comments
 (0)