mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-01-08 00:23:09 +00:00
add products
This commit is contained in:
parent
1ac8af2dbc
commit
6f7b769e15
18
example/support/product.nim
Normal file
18
example/support/product.nim
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
{.passc: gorge("pkg-config --cflags gmp nlohmann_json").}
|
||||
{.passl: gorge("pkg-config --libs gmp nlohmann_json").}
|
||||
|
||||
when defined(arm64):
|
||||
{.passc: "-D_LONG_LONG_LIMB".}
|
||||
{.compile("fr_raw_arm64.s", "-O3 -DNDEBUG -arch arm64 -fPIC -D_LONG_LONG_LIMB").}
|
||||
{.compile: "fr_raw_generic.cpp".}
|
||||
{.compile: "fr_generic.cpp".}
|
||||
else:
|
||||
{.compile: "fr.asm".}
|
||||
|
||||
{.compile: "fr.cpp".}
|
||||
{.compile: "calcwit.cpp".}
|
||||
{.compile: "witnesscalc.cpp".}
|
||||
{.compile: "circuits_incl.cpp".}
|
||||
# {.compile: "product.cpp".}
|
||||
{.compile: "main.cpp".}
|
||||
4
example/support/product.nims
Normal file
4
example/support/product.nims
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
--backend:cpp
|
||||
--noMain:on
|
||||
--verbosity:2
|
||||
Loading…
x
Reference in New Issue
Block a user