mirror of
https://github.com/tornadocash/tornado-trees.git
synced 2024-12-04 07:07:25 +01:00
docker update
This commit is contained in:
parent
fe2912fc33
commit
11c48fae14
@ -16,7 +16,6 @@ COPY circuits circuits
|
||||
COPY scripts scripts
|
||||
# ENV NODE_OPTIONS='--trace-gc --trace-gc-ignore-scavenger --max-old-space-size=2048000 --initial-old-space-size=2048000 --no-global-gc-scheduling --no-incremental-marking --max-semi-space-size=1024 --initial-heap-size=2048000'
|
||||
ENV NODE_OPTIONS='--max-old-space-size=2048000'
|
||||
RUN mkdir -p build/circuits
|
||||
RUN yarn circuit:batchTreeUpdateLarge
|
||||
RUN yarn circuit:batchTreeUpdateWitness
|
||||
COPY . .
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/bin/bash -e
|
||||
# required dependencies: libgmp-dev nlohmann-json3-dev nasm g++
|
||||
cd build/circuits
|
||||
cd artifacts/circuits
|
||||
node ../../node_modules/ffiasm/src/buildzqfield.js -q 21888242871839275222246405745257275088548364400416034343698204186575808495617 -n Fr
|
||||
nasm -felf64 fr.asm
|
||||
cp ../../node_modules/circom_runtime/c/*.cpp ./
|
||||
cp ../../node_modules/circom_runtime/c/*.hpp ./
|
||||
g++ -pthread main.cpp calcwit.cpp utils.cpp fr.cpp fr.o ${1}.cpp -o ${1} -lgmp -std=c++11 -O3 -fopenmp -DSANITY_CHECK
|
||||
g++ -pthread main.cpp calcwit.cpp utils.cpp fr.cpp fr.o ${1}.cpp -o ${1} -lgmp -std=c++11 -O3 -fopenmp -DSANITY_CHECK
|
||||
|
Loading…
Reference in New Issue
Block a user