From dfedee38586725e5df704d1bb2600ec018151c87 Mon Sep 17 00:00:00 2001 From: Anand Bonde Date: Mon, 16 Dec 2024 11:06:20 -0800 Subject: [PATCH] [build] Enhancement: remove unnecessary echoes These unnecessary echo statements are causing duplicate output, which may cause confusion around how many times builds commands may be executed. --- examples/rust/linux.mk | 1 - examples/rust/windows.mk | 1 - linux.mk | 2 -- windows.mk | 2 -- 4 files changed, 6 deletions(-) diff --git a/examples/rust/linux.mk b/examples/rust/linux.mk index 1bac38d41..ccbe1fe9b 100644 --- a/examples/rust/linux.mk +++ b/examples/rust/linux.mk @@ -21,7 +21,6 @@ all: all-examples cp -f $(BUILD_DIR)/examples/tcp-wait $(BINDIR)/examples/rust/tcp-wait.$(EXEC_SUFFIX) all-examples: - @echo "$(CARGO) build --examples $(CARGO_FEATURES) $(CARGO_FLAGS)" $(CARGO) build --examples $(CARGO_FEATURES) $(CARGO_FLAGS) clean: diff --git a/examples/rust/windows.mk b/examples/rust/windows.mk index 2f8dae897..f3c9b42a8 100644 --- a/examples/rust/windows.mk +++ b/examples/rust/windows.mk @@ -16,7 +16,6 @@ all: all-examples copy /Y $(BUILD_DIR)\examples\tcp-ping-pong.exe $(BINDIR)\examples\rust\tcp-ping-pong.exe all-examples: - @echo "$(CARGO) build --examples $(CARGO_FEATURES) $(CARGO_FLAGS)" $(CARGO) build --examples $(CARGO_FEATURES) $(CARGO_FLAGS) clean: diff --git a/linux.mk b/linux.mk index b9c9a6436..898bd0aa4 100644 --- a/linux.mk +++ b/linux.mk @@ -107,7 +107,6 @@ all-libs: all-libs-demikernel all-libs-demikernel: @echo "LD_LIBRARY_PATH: $(LD_LIBRARY_PATH)" @echo "PKG_CONFIG_PATH: $(PKG_CONFIG_PATH)" - @echo "$(CARGO) build --libs $(CARGO_FEATURES) $(CARGO_FLAGS)" $(CARGO) build --lib $(CARGO_FEATURES) $(CARGO_FLAGS) cp -f $(BUILD_DIR)/$(DEMIKERNEL_LIB) $(LIBDIR)/$(DEMIKERNEL_LIB) @@ -126,7 +125,6 @@ clean-libs-demikernel: all-tests: all-tests-rust all-tests-c all-tests-rust: - @echo "$(CARGO) build --tests $(CARGO_FEATURES) $(CARGO_FLAGS)" $(CARGO) build --tests $(CARGO_FEATURES) $(CARGO_FLAGS) all-tests-c: all-libs diff --git a/windows.mk b/windows.mk index c4229235a..6196f4d53 100644 --- a/windows.mk +++ b/windows.mk @@ -132,7 +132,6 @@ install: all-libs: @echo "LD_LIBRARY_PATH: $(LD_LIBRARY_PATH)" @echo "XDP_PATH: $(XDP_PATH)" - @echo "$(CARGO) build --libs $(CARGO_FEATURES) $(CARGO_FLAGS)" set XDP_PATH=$(XDP_PATH) set RUSTFLAGS=$(RUSTFLAGS) $(CARGO) build --lib $(CARGO_FEATURES) $(CARGO_FLAGS) @@ -147,7 +146,6 @@ all-libs: all-tests: all-tests-rust all-tests-c all-tests-rust: all-libs - @echo "$(CARGO) build --tests $(CARGO_FEATURES) $(CARGO_FLAGS)" set RUSTFLAGS=$(RUSTFLAGS) $(CARGO) build --tests $(CARGO_FEATURES) $(CARGO_FLAGS)