Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion anneal/tools/build-prebuilt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ tar -xzf rustc-dev.tar.gz -C rust --strip-components=2
tar -xzf llvm-tools.tar.gz -C rust --strip-components=2
tar -xzf miri.tar.gz -C rust --strip-components=2
tar -xzf rust-src.tar.gz -C rust --strip-components=2

# Move charon and charon-driver to rust/bin to sit alongside rustc
# This allows them to find shared libraries in ../lib relative to themselves.
mv charon charon-driver rust/bin/

# Nix preserves read-only permissions from the store, so we must make files
# writable.
chmod -R +w .
Expand All @@ -112,7 +117,7 @@ lake exe cache get

# Force precompilation by unsetting CI environment variable.
# This ensures that shared libraries required for plugin loading are generated.
CI="" lake build
CI="" lake build Aeneas

# Generate the dependency graph
lake exe graph imports.dot --to Aeneas,Aeneas.Std.Core,Aeneas.Std.WP,Aeneas.Tactic.Solver.ScalarTac,Aeneas.Std.Scalar.Core --include-deps
Expand Down
Loading