mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
Add ere-dockerized (#75)
This commit is contained in:
@@ -77,6 +77,13 @@ else
|
||||
fi
|
||||
|
||||
# Step 4: Make sure `lib-c`'s build script is ran.
|
||||
#
|
||||
# `ziskos` provides guest program runtime, and `lib-c` is a dependency of `ziskos`,
|
||||
# when we need to compile guest, the `build.rs` of `lib-c` will need to be ran once,
|
||||
# but if there are multiple `build.rs` running at the same time, it will panic.
|
||||
# So here we make sure it's already ran, and the built thing will be stored in
|
||||
# `$CARGO_HOME/git/checkouts/zisk-{hash}/{rev}/lib-c/c/build`, so could be
|
||||
# re-used as long as the `ziskos` has the same version.
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
cd "$TEMP_DIR"
|
||||
cargo init . --name build-lib-c
|
||||
|
||||
Reference in New Issue
Block a user