-
Notifications
You must be signed in to change notification settings - Fork 418
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
Add deterministic build system #268
Comments
They just overhauled the gaia build system to a simpler version. We should use that as reference when we start on this issue. |
Is it possible to statically link the libwasmvm library? not familiar with golang's build system, but static link should make it easier to redistribute binary. EDIT: I thought golang can somehow magically build rust library on the fly, it turns out the prebuilt library is included in the repository directly(https://github.com/CosmWasm/wasmvm/blob/main/api/libwasmvm.dylib) 😄 |
Look at the Docker build in the repo. It does static. With glibc systems we can only build rust dll, which dynamically link to Go. With muslc (alpine), we can make a static build of rust and thus a static build of the wasmd binary. We only include the dlls (not static libs) in wasmvm due to size. I spent several days trying to get static builds to work and using muslc based docker was the best I got. I would be very happy if you can figure out how to build a static lib of wasmvm on a glibc system (ubuntu, Debian, centos, etc) |
This is a very old issue. gaia has moved away from gitian meanwhile. I found the docker approach that was used by terra very nice. |
Closing because not relevant. |
This lets us get deterministic binaries.
cosmos/cosmos-sdk#7247 is a very nice example for the go part. We will need to ensure a deterministic build system for the rust dll as well, but piece by piece
The text was updated successfully, but these errors were encountered: