Skip to content

Commit 695ce12

Browse files
Merge #6993: depends: update 'src/dashbls' to dashpay/bls-signatures@6169ee9c as 83d0727
0ff505c build: stop tracking cmake dependency relic_conf.h.in (Kittywhiskers Van Gogh) 83d0727 Squashed 'src/dashbls/' changes from dd683653c6..6169ee9c91 (Kittywhiskers Van Gogh) 61a1f72 revert: stop tracking cmake dependency relic_conf.h.in (Kittywhiskers Van Gogh) Pull request description: ## Additional Information * Expected subtree hash `fd3a6b99a590fadd699fe9bad2336679d351ca5604938996da4e211f77d962af` (see [instructions](#6323 (review)) to calculate) * Includes the following changes * dashpay/bls-signatures#117 * dashpay/bls-signatures#118 * dashpay/bls-signatures#116 * dashpay/bls-signatures#119 ## Breaking Changes None expected. ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)** - [x] I have added or updated relevant unit/integration/functional/e2e tests **(note: N/A)** - [x] I have made corresponding changes to the documentation **(note: N/A)** - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK 0ff505c PastaPastaPasta: utACK 0ff505c Tree-SHA512: 8430e6ee36990344cac49a112dfd0cc76083b0b4991a9213872f54982f4c106e544b065bedee47ab9f928f8650787de83d55c232a32050c07b2100f428963424
2 parents 303480f + 0ff505c commit 695ce12

File tree

261 files changed

+27240
-18129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+27240
-18129
lines changed

src/dashbls/.github/workflows/build-binds.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ concurrency:
1717

1818
jobs:
1919
build:
20-
name: ${{ matrix.os }}, Python ${{ matrix.python }}, Go ${{ matrix.golang }}
20+
name: ${{ matrix.os }}, Python ${{ matrix.python }}, Go ${{ matrix.golang }}, Rust ${{ matrix.rust }}
2121
runs-on: ${{ matrix.os }}
2222
strategy:
2323
fail-fast: false
2424
matrix:
2525
os: [macos-latest, ubuntu-latest]
26-
golang: [ '1.22' ]
27-
python: ['3.9', '3.10', '3.11', '3.12']
26+
golang: [ '1.24' ]
27+
python: ['3.10', '3.11', '3.12', '3.13']
28+
rust: [ '1.91.0' ]
2829

2930
steps:
3031
- name: Checkout code
@@ -73,12 +74,23 @@ jobs:
7374
- name: Build library using CMake
7475
run: |
7576
mkdir -p build && cd build
76-
cmake ..
77+
cmake .. -DCMAKE_BUILD_TYPE=Debug
7778
cmake --build . -- -j 6
7879
7980
- name: Build Go bindings
80-
# TODO: macos build is broken. Whoever needs this - please fix it and remove `if` below.
81-
if: startsWith(matrix.os, 'ubuntu')
8281
run: |
8382
cd go-bindings
83+
make config
8484
make
85+
86+
- name: Install Rust
87+
run: |
88+
rustup toolchain install ${{ matrix.rust }}
89+
rustup default ${{ matrix.rust }}
90+
rustc --version
91+
cargo --version
92+
93+
- name: Build and test Rust bindings
94+
run: |
95+
cd rust-bindings/bls-dash-sys
96+
cargo test

src/dashbls/.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
if: startsWith(matrix.builder, 'cmake')
5454
run: |
5555
mkdir -p build && cd build
56-
CC=${{ matrix.compiler.cc }} CXX=${{ matrix.compiler.cxx }} cmake .. -DBUILD_BLS_PYTHON_BINDINGS=0 -DARITH=${{ matrix.backend }}
56+
CC=${{ matrix.compiler.cc }} CXX=${{ matrix.compiler.cxx }} cmake .. -DARITH=${{ matrix.backend }} -DBUILD_BLS_PYTHON_BINDINGS=0 -DCMAKE_BUILD_TYPE=Debug
5757
cmake --build . -- -j 6
5858
mv src/runtest ..
5959
Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Copyright (c) 2022 The Dash Core developers
1+
# Copyright (c) 2022-2025 The Dash Core developers
22
# Distributed under the MIT software license, see the accompanying
33
# file COPYING.MIT or http://www.opensource.org/licenses/mit-license.php.
44

55
LIBMIMALLOC = libmimalloc-secure.la
66

7-
MIMALLOC_CFLAGS = \
7+
MIMALLOC_CPPFLAGS = \
88
-DMI_SECURE=4 \
99
-DNDEBUG
1010

@@ -13,32 +13,34 @@ MIMALLOC_INCLUDES = \
1313
-I$(top_srcdir)/depends/mimalloc/src
1414

1515
MIMALLOC_H = \
16-
depends/mimalloc/include/mimalloc.h \
17-
depends/mimalloc/include/mimalloc-atomic.h \
18-
depends/mimalloc/include/mimalloc-internal.h \
19-
depends/mimalloc/include/mimalloc-new-delete.h \
20-
depends/mimalloc/include/mimalloc-override.h \
21-
depends/mimalloc/include/mimalloc-track.h \
22-
depends/mimalloc/include/mimalloc-types.h \
16+
depends/mimalloc/include/mimalloc-new-delete.h \
17+
depends/mimalloc/include/mimalloc-override.h \
18+
depends/mimalloc/include/mimalloc-stats.h \
19+
depends/mimalloc/include/mimalloc.h \
2320
depends/mimalloc/src/bitmap.h
2421

2522
libmimalloc_secure_la_SOURCES = \
2623
$(MIMALLOC_H) \
27-
depends/mimalloc/src/stats.c \
28-
depends/mimalloc/src/random.c \
29-
depends/mimalloc/src/os.c \
30-
depends/mimalloc/src/bitmap.c \
31-
depends/mimalloc/src/arena.c \
32-
depends/mimalloc/src/segment-cache.c \
33-
depends/mimalloc/src/segment.c \
34-
depends/mimalloc/src/page.c \
35-
depends/mimalloc/src/alloc.c \
3624
depends/mimalloc/src/alloc-aligned.c \
3725
depends/mimalloc/src/alloc-posix.c \
26+
depends/mimalloc/src/alloc.c \
27+
depends/mimalloc/src/arena-meta.c \
28+
depends/mimalloc/src/arena.c \
29+
depends/mimalloc/src/bitmap.c \
3830
depends/mimalloc/src/heap.c \
31+
depends/mimalloc/src/init.c \
32+
depends/mimalloc/src/libc.c \
3933
depends/mimalloc/src/options.c \
40-
depends/mimalloc/src/init.c
34+
depends/mimalloc/src/os.c \
35+
depends/mimalloc/src/page-map.c \
36+
depends/mimalloc/src/page.c \
37+
depends/mimalloc/src/random.c \
38+
depends/mimalloc/src/stats.c \
39+
depends/mimalloc/src/prim/prim.c
4140

42-
libmimalloc_secure_la_CFLAGS = $(AM_CFLAGS) $(MIMALLOC_INCLUDES) $(MIMALLOC_CFLAGS)
41+
libmimalloc_secure_la_CPPFLAGS = $(AM_CPPFLAGS) $(MIMALLOC_CPPFLAGS) $(MIMALLOC_INCLUDES)
42+
libmimalloc_secure_la_CXXFLAGS = $(AM_CXXFLAGS)
43+
libmimalloc_secure_la_CFLAGS = $(AM_CFLAGS)
44+
libmimalloc_secure_la_LDFLAGS = $(AM_LDFLAGS)
4345

4446
noinst_LTLIBRARIES += $(LIBMIMALLOC)

src/dashbls/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.60])
2-
AC_INIT([libdashbls],[1.3.6])
2+
AC_INIT([libdashbls],[2.0])
33
AC_CONFIG_AUX_DIR([build-aux])
44
AC_CONFIG_MACRO_DIR([build-aux/m4])
55

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
build
12
ide/vs20??/*.db
23
ide/vs20??/*.opendb
34
ide/vs20??/*.user
4-
ide/vs20??/*.vcxproj.filters
55
ide/vs20??/.vs
66
ide/vs20??/VTune*
77
out/
88
docs/
99
*.zip
10+
*.tar
11+
*.gz
12+
.vscode
13+
.DS_STore

0 commit comments

Comments
 (0)