Skip to content

Commit

Permalink
chore(vagrant): Use cross to build pulsar
Browse files Browse the repository at this point in the history
This way we don't require having the musl toolchain installed on
host.
  • Loading branch information
vadorovsky committed Sep 2, 2023
1 parent dd1734c commit c4c9c34
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vagrant/static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@

# Run this from the repository root folder

# Make sure the correct target is installed.
# sudo apt-get install musl-tools
# rustup target add x86_64-unknown-linux-musl

set -e

features="--no-default-features --features core"

export CARGO_BUILD_TARGET=x86_64-unknown-linux-musl
cargo build --bin pulsar-exec ${features}
cargo build --package test-suite
cross build --bin pulsar-exec ${features}
cross build --package test-suite

for vagrantfile in vagrant/*/Vagrantfile
do
Expand Down

0 comments on commit c4c9c34

Please sign in to comment.