Force use of portable blst in Nim bindings (#335)

This commit is contained in:
Justin Traglia 2023-08-11 09:19:36 -05:00 committed by GitHub
parent 9d85ed8b19
commit e76a7c07e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@ -17,3 +17,6 @@ analysis-report/
*bindings/csharp/*.dll
__pycache__
.DS_Store
# nimble build dir
build/

View File

@ -21,6 +21,7 @@ when not defined(kzgExternalBlst):
# Use default blst shipped with c-kzg-4844
{.compile: blstPath & "build/assembly.S".}
{.compile: blstPath & "src/server.c"}
{.passc: "-D__BLST_PORTABLE__"}
{.compile: srcPath & "c_kzg_4844.c"}