-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redistributable binaries #1250
Comments
This is in preparation for mit-plv#1250. We generate `with_bedrock2_*` binaries which support bedrock2 output but default to C. We also install these by default when we are installing with bedrock2 enabled. These will be the source files that we want to package up into source releases of our generated code, as well as the source we use for generating statically-linked redistributable binaries.
This is in preparation for #1250. We generate `with_bedrock2_*` binaries which support bedrock2 output but default to C. We also install these by default when we are installing with bedrock2 enabled. These will be the source files that we want to package up into source releases of our generated code, as well as the source we use for generating statically-linked redistributable binaries.
At least a Docker image published in docker hub. |
This should be doable. MathComp automatically publishes docker images on top of Coq, maybe we can do the same (just |
Do you really want to maintain this, though? I would much rather spend my time learning how to statically link ocaml than dealing with docker and deployment automation. |
Docker is known to be a painful experience, but these days is more stable. The docker image I have in mind is one that contains the executables produced during extraction, e.g. word_by_word_montgomery, unsaturated_solinas, etc. $ docker pull fiat-crypto
$ docker run <docker-params> fiat-crypto word_by_word_montgomery <params> To build this image, it requires first to compile fiat-crypto in a builder image, which can be done in Github/CI All these steps can be triggered only when a new version is released. |
It would be nice to build statically-linked portable binaries for Windows, Mac, and Linux (c.f. this blog post, for example), and include them, as well as the generated OCaml source code and a simple make/dune file, with releases. Presumably these binaries should support bedrock2, but, unlike the current bedrock2 binaries, should default to C.
The text was updated successfully, but these errors were encountered: