From 0482e4f09a75926af85260190b4ef389e88bc239 Mon Sep 17 00:00:00 2001 From: Rafael Ravedutti Date: Sat, 22 May 2021 03:26:56 +0200 Subject: [PATCH] Avoid resize messages on run_stub output and build objects from assembly files Signed-off-by: Rafael Ravedutti --- Makefile | 3 ++- scripts/run_stub.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23b00ce..2378bba 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,8 @@ ${TARGET}-%: $(BUILD_DIR) $(OBJ) $(SRC_DIR)/main-%.c asm: $(BUILD_DIR) $(ASM) -$(BUILD_DIR)/%.o: %.c +$(BUILD_DIR)/%.o: %.s +#$(BUILD_DIR)/%.o: %.c @echo "===> COMPILE $@" $(Q)$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ $(Q)$(CC) $(CPPFLAGS) -MT $(@:.d=.o) -MM $< > $(BUILD_DIR)/$*.d diff --git a/scripts/run_stub.sh b/scripts/run_stub.sh index 9a90e89..5ceea52 100644 --- a/scripts/run_stub.sh +++ b/scripts/run_stub.sh @@ -33,7 +33,8 @@ for timesteps in ${TIMESTEPS}; do for nruns in ${NRUNS}; do output=$( ./${EXEC} -f ${FREQUENCY} -n ${timesteps} -na ${atoms_per_unit_cell} -nx ${nx} -ny ${ny} -nz ${nz} -csv | - grep -v steps + grep -v steps | + grep -iv resize ) perf=$(echo $output | cut -d',' -f8) if [ -z "$best_perf" ]; then