-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bench): PoC of integration with zkalc (#425)
* feat(bench): PoC of integration with zkalc * feat(bench): zkalc prepare for adding pairing benches - generic type resulution issue * feat(bench): add pairing and G2 bench for zkalc and nimble build script * fix nimble dependencies * feat(bench-zkalc): polish and output json bench file * fix(nimble): version gate task-level dependencies * fix(deps): std/os instead of commandline for 1.6.x and gmp@#head * fix(deps): .nimble and nimble have different versioning format * fix(zkalc): workaround generic sandwich bug in Nim 1.6.x nim-lang/Nim#8677 nim-lang/Nim#11225 * fix(zkalc CI): skip zkalc build on 32-bit CI as it needs clang multilib * fix(zkalc CI): skip Windows as Clang throws fatal error LNK1107
- Loading branch information
Showing
38 changed files
with
750 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,7 +262,7 @@ jobs: | |
run: | | ||
pacman -S --needed --noconfirm mingw-w64-x86_64-gmp mingw-w64-x86_64-llvm | ||
nimble refresh --verbose -y | ||
nimble install --verbose -y gmp@#head jsony asynctools [email protected] | ||
nimble install --verbose -y gmp@#head jsony asynctools [email protected] cliche | ||
cd constantine | ||
go mod download -modfile=go_test.mod | ||
|
@@ -272,7 +272,7 @@ jobs: | |
shell: bash | ||
run: | | ||
nimble refresh --verbose -y | ||
nimble install --verbose -y gmp@#head jsony asynctools [email protected] | ||
nimble install --verbose -y gmp@#head jsony asynctools [email protected] cliche | ||
cd constantine | ||
go mod download -modfile=go_test.mod | ||
|
@@ -337,6 +337,24 @@ jobs: | |
cd constantine | ||
CTT_ASM=0 cargo test -- --nocapture | ||
- name: Compile Constantine Zkalc benchmark (no assembly) | ||
# Skip 32-bit as that would need clang-multilib or -m32 | ||
# Skip Windows as clang throws fatal error LNK1107 | ||
if: matrix.target.BACKEND == 'NO_ASM' && matrix.target.cpu != 'i386' && runner.os != 'Windows' | ||
shell: bash | ||
run: | | ||
cd constantine | ||
CTT_ASM=0 nimble make_zkalc | ||
- name: Compile Constantine Zkalc benchmark (with assembly) | ||
# Skip 32-bit as that would need clang-multilib or -m32 | ||
# Skip Windows as clang throws fatal error LNK1107 | ||
if: matrix.target.BACKEND == 'ASM' && matrix.target.cpu != 'i386' && runner.os != 'Windows' | ||
shell: bash | ||
run: | | ||
cd constantine | ||
nimble make_zkalc | ||
- name: Run Constantine in-depth tests (Unix - with GMP, with Assembly) | ||
if: runner.os != 'Windows' && matrix.target.BACKEND == 'ASM' | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.