Skip to content

Commit

Permalink
Add mcl backend
Browse files Browse the repository at this point in the history
Removed mcl windows-latest workflows

Fixed mcl nim patch

Updated java.patch for mcl

Removed java patch wrong parameter

Fixed python patch for mcl

Added -lstdc++ to mcl go patch

fixed mcl rust patch

Added linkage of std++ library for mcl rust patch

fixed arkworks3 csharp patch

updated bindings

patch files

Fixed c_bindings feature building with Mcl

Mcl code formatting

Removed unused import

Fixed mcl clippy warnings

Add mcl CI

Add mcl backend

c bindings feature

MCL backend implementation

Add mcl CI

Add mcl backend

c bindings feature

MCL backend implementation
  • Loading branch information
Maksasj committed Jan 25, 2025
1 parent 3853b67 commit 00c7cf5
Show file tree
Hide file tree
Showing 132 changed files with 7,140 additions and 5,228 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/backend-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Excluding mcl for now due to they have different project layout
backend: [blst, zkcrypto, arkworks5, arkworks4, arkworks3, constantine]
backend: [blst, zkcrypto, arkworks5, arkworks4, arkworks3, constantine, mcl]
include:
# Setup exec_once_per_backend flag
- os: ubuntu-latest
Expand All @@ -29,7 +28,12 @@ jobs:
support_ckzg: true
- backend: constantine
support_ckzg: true

- backend: mcl
support_ckzg: true
exclude:
- os: windows-latest
backend: mcl

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Excluding mcl for now due to they have different project layout
backend: [blst, zkcrypto, arkworks5, arkworks4, arkworks3, constantine]
backend: [blst, zkcrypto, arkworks5, arkworks4, arkworks3, constantine, mcl]
include:
# Set default clippy flag
- clippy-flag: --features=default,std,rand,parallel
Expand Down Expand Up @@ -93,6 +92,12 @@ jobs:
# FIXME: Check for wasm support
support_wasm: false
support_ckzg: true
- backend: mcl
support_wasm: true
support_ckzg: true
exclude:
- os: windows-latest
backend: mcl

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
backend: [blst, zkcrypto, arkworks5, arkworks4, arkworks3, constantine]
backend: [blst, zkcrypto, arkworks5, arkworks4, arkworks3, constantine, mcl]
target: [windows, linux]
include:
# Set target-name for target builds
Expand Down
182 changes: 14 additions & 168 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ members = [
"blst-sppark",
"kzg",
"kzg-bench",
"mcl/kzg",
"mcl/kzg-bench",
"mcl",
"zkcrypto",
"constantine",
"rust-eth-kzg-benches",
]


[profile.bench]
lto = "thin"
1 change: 1 addition & 0 deletions kzg/src/das.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use core::fmt::Debug;
use core::mem::size_of;

#[cfg(feature = "parallel")]
use rayon::prelude::*;
Expand Down
File renamed without changes.
Loading

0 comments on commit 00c7cf5

Please sign in to comment.