+
Skip to content

Conversation

vkonst
Copy link

@vkonst vkonst commented Nov 3, 2021

Circuits compilation inside a Docker container running circom.

To simplify/avoid installation of dependencies (circom):

  • WASM tester updated to support compilation of circuits in a container during test run
  • Bash script added for circuits compilation inside a container (w/o the test runner)
  • Test helper added for configuration of the WASM tester to work with circom in a conainer
    (The CIRCOM_DOCKER env param shall be set to any non-zero value to enable this mode)
  • Test examples extended to demonstrate use of the test helper

-v /etc/passwd:/etc/passwd:ro \
-v /etc/group:/etc/group:ro \
--user $(id -u) \
aspiers/circom circom $@
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully this can be replaced with iden3/circom or even just circom at some point :-)

options.compiler += `-v /etc/group:/etc/group:ro `;
options.compiler += `--user ${uid} `;
}
options.compiler += "aspiers/circom circom";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here - hopefully can be replaced with iden3/circom or circom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载