Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Aug 25, 2024
1 parent c361132 commit f30c404
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,19 @@ EXEC = tests/main
$(EXEC): $(OBJS)
$(CXX) $(LDFLAGS) -o $@ $^

check: tests/main
export LSAN_OPTIONS=verbosity=2:log_threads=1
ifeq ($(processor),$(filter $(processor),aarch64 arm64 arm armv7l))
$(CC) $(ARCH_CFLAGS) -c -O2 sse2neon.h
endif
check: $(EXEC)
export LSAN_OPTIONS=verbosity=2:log_threads=1 && \
ifeq ($(processor),$(filter $(processor),aarch64 arm64 arm armv7l))
$(CC) $(ARCH_CFLAGS) -c -O2 sse2neon.h
endif
$(EXEC_WRAPPER) $^

indent:
@echo "Formatting files with clang-format.."
@if ! hash clang-format-12; then echo "clang-format-12 is required to indent"; fi
clang-format-12 -i sse2neon.h tests/*.cpp tests/*.h

.PHONY: clean check format
.PHONY: clean check indent
clean:
$(RM) $(OBJS) $(EXEC) $(deps) sse2neon.h.gch

Expand Down

0 comments on commit f30c404

Please sign in to comment.