mirror of
https://github.com/logos-storage/constantine.git
synced 2026-01-04 06:03:08 +00:00
Fix ARM bench and ignore Windows 32-bit bench
This commit is contained in:
parent
7ae0f51000
commit
f7818b566b
@ -97,11 +97,14 @@ task test, "Run all tests":
|
|||||||
test "-d:Constantine32", "tests/test_ec_weierstrass_projective_g1.nim"
|
test "-d:Constantine32", "tests/test_ec_weierstrass_projective_g1.nim"
|
||||||
|
|
||||||
# Benchmarks compile and run
|
# Benchmarks compile and run
|
||||||
runBench("bench_fp")
|
# ignore Windows 32-bit for the moment
|
||||||
runBench("bench_fp2")
|
# Ensure benchmarks stay relevant. Ignore Windows 32-bit at the moment
|
||||||
runBench("bench_fp6")
|
if not defined(windows) or not (existsEnv"UCPU" or getEnv"UCPU" == "i686"):
|
||||||
runBench("bench_fp12")
|
runBench("bench_fp")
|
||||||
runBench("bench_ec_swei_proj_g1")
|
runBench("bench_fp2")
|
||||||
|
runBench("bench_fp6")
|
||||||
|
runBench("bench_fp12")
|
||||||
|
runBench("bench_ec_swei_proj_g1")
|
||||||
|
|
||||||
task test_no_gmp, "Run tests that don't require GMP":
|
task test_no_gmp, "Run tests that don't require GMP":
|
||||||
# -d:testingCurves is configured in a *.nim.cfg for convenience
|
# -d:testingCurves is configured in a *.nim.cfg for convenience
|
||||||
@ -154,11 +157,14 @@ task test_no_gmp, "Run tests that don't require GMP":
|
|||||||
test "-d:Constantine32", "tests/test_ec_weierstrass_projective_g1.nim"
|
test "-d:Constantine32", "tests/test_ec_weierstrass_projective_g1.nim"
|
||||||
|
|
||||||
# Benchmarks compile and run
|
# Benchmarks compile and run
|
||||||
runBench("bench_fp")
|
# ignore Windows 32-bit for the moment
|
||||||
runBench("bench_fp2")
|
# Ensure benchmarks stay relevant. Ignore Windows 32-bit at the moment
|
||||||
runBench("bench_fp6")
|
if not defined(windows) or not (existsEnv"UCPU" or getEnv"UCPU" == "i686"):
|
||||||
runBench("bench_fp12")
|
runBench("bench_fp")
|
||||||
runBench("bench_ec_swei_proj_g1")
|
runBench("bench_fp2")
|
||||||
|
runBench("bench_fp6")
|
||||||
|
runBench("bench_fp12")
|
||||||
|
runBench("bench_ec_swei_proj_g1")
|
||||||
|
|
||||||
task bench_fp, "Run benchmark 𝔽p with your default compiler":
|
task bench_fp, "Run benchmark 𝔽p with your default compiler":
|
||||||
runBench("bench_fp")
|
runBench("bench_fp")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user