Jaremy Creechley 46e175752c
rename
2023-11-20 22:40:10 -07:00

19 lines
527 B
Nim

{.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: "../build/product_cpp/product.cpp".}
{.compile: "../build/product_cpp/main.cpp".}