From 2b607da2b3a60fbdb80a40f41081f3d263d0dd03 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 1 Nov 2023 09:57:49 +0000 Subject: [PATCH] scripts: Clear the toolchain environment variables for virtiofsd virtiofsd must be built with the default gnu toolchain so clear the environment variables that may poisoned by the alternative C library support. Signed-off-by: Rob Bradford --- scripts/run_integration_tests_aarch64.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run_integration_tests_aarch64.sh b/scripts/run_integration_tests_aarch64.sh index 931916168..3182e8a63 100755 --- a/scripts/run_integration_tests_aarch64.sh +++ b/scripts/run_integration_tests_aarch64.sh @@ -42,7 +42,8 @@ build_virtiofsd() { if [ ! -f "$VIRTIOFSD_DIR/.built" ]; then pushd $VIRTIOFSD_DIR - time cargo build --release + rm -rf target/ + time RUSTFLAGS="" TARGET_CC="" cargo build --release cp target/release/virtiofsd "$WORKLOADS_DIR/" || exit 1 touch .built popd