Skip to content

Commit

Permalink
Force use of portable blst in Nim bindings (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia authored Aug 11, 2023
1 parent 9d85ed8 commit e76a7c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ analysis-report/
*bindings/csharp/*.dll
__pycache__
.DS_Store

# nimble build dir
build/
1 change: 1 addition & 0 deletions bindings/nim/kzg_abi.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down

0 comments on commit e76a7c0

Please sign in to comment.