Force use of portable blst in Nim bindings (#335)
This commit is contained in:
parent
9d85ed8b19
commit
e76a7c07e0
|
@ -17,3 +17,6 @@ analysis-report/
|
||||||
*bindings/csharp/*.dll
|
*bindings/csharp/*.dll
|
||||||
__pycache__
|
__pycache__
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# nimble build dir
|
||||||
|
build/
|
||||||
|
|
|
@ -21,6 +21,7 @@ when not defined(kzgExternalBlst):
|
||||||
# Use default blst shipped with c-kzg-4844
|
# Use default blst shipped with c-kzg-4844
|
||||||
{.compile: blstPath & "build/assembly.S".}
|
{.compile: blstPath & "build/assembly.S".}
|
||||||
{.compile: blstPath & "src/server.c"}
|
{.compile: blstPath & "src/server.c"}
|
||||||
|
{.passc: "-D__BLST_PORTABLE__"}
|
||||||
|
|
||||||
{.compile: srcPath & "c_kzg_4844.c"}
|
{.compile: srcPath & "c_kzg_4844.c"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue