-
Notifications
You must be signed in to change notification settings - Fork 53
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
Update tezos/sys build to download headers #544
Conversation
…s the default backend.
Compute entry hash when necessary
Add subtree API to context
Make `WorkingTree` a value or a tree
Implement `list` action on WorkingTree
Avoid serializing a node twice
For now an OCaml install will be required when building.
Allows for both Irmin and Tezedge contexts now.
cf289bf
to
2de786c
Compare
@tizoc |
@bkontur I am still thinking about it, but the basic idea is to move the current build script to it's own So it would be the same code, but will have to be called manually once before the actual build/test/run commands. Then the build script will just verify that the hashes match and fail if they don't. There are two reasons for this:
|
d6fcb1c
to
b57daa2
Compare
Replaced by #551 for now, closing. |
Still a draft, right now requires the environment vaiable
OCAML_WHERE_PATH=$(pwd)/tezos/sys/lib_tezos/artifacts/include
to be set when running cargo commands so that the OCaml headers can be found, waiting for cargo 1.52 to be release which includes a way to set environment variables that get passed down to the build process:rust-lang/cargo#9175
@bkontur btw, I am thinking that it may be better to remove the libtezos download/copy logic from the build script and handle it on a separate standalone script, doing so will simplify things.