Skip to content

Commit

Permalink
[build] Enhancement: remove unnecessary echoes
Browse files Browse the repository at this point in the history
These unnecessary echo statements are causing duplicate output, which
may cause confusion around how many times builds commands may be
executed.
  • Loading branch information
anandbonde committed Dec 16, 2024
1 parent 4eac415 commit dfedee3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion examples/rust/linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion examples/rust/windows.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions windows.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

Expand Down

0 comments on commit dfedee3

Please sign in to comment.