Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1099 from likebreath/fix_1033
Browse files Browse the repository at this point in the history
static-build: build the real static binary for clh
  • Loading branch information
likebreath authored Aug 27, 2020
2 parents dfa8fe2 + 1e3c577 commit 20a89c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 deletions.
4 changes: 2 additions & 2 deletions static-build/cloud-hypervisor/build-static-clh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ repo_dir="${repo_dir//.git}"
cd "${repo_dir}"
git fetch || true
git checkout "${cloud_hypervisor_version}"
"${script_dir}/docker-build/build.sh"
./scripts/dev_cli.sh build --release --libc musl
rm -f cloud-hypervisor
cp ./target/release/cloud-hypervisor .
cp build/cargo_target/$(uname -m)-unknown-linux-musl/release/cloud-hypervisor .
12 changes: 0 additions & 12 deletions static-build/cloud-hypervisor/docker-build/Dockerfile

This file was deleted.

36 changes: 0 additions & 36 deletions static-build/cloud-hypervisor/docker-build/build.sh

This file was deleted.

0 comments on commit 20a89c7

Please sign in to comment.