diff --git a/tests/Makefile b/tests/Makefile index 5119487..e9d69da 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,14 +1,22 @@ -CXXFLAGS = -I.. -std=c++11 -W -Wall -O2 -fno-exceptions -fno-rtti -ffast-math -ftree-vectorize -march=native -CXX = clang++ -stdlib=libc++ -#CXX = g++ +CXXFLAGS = -I.. -std=c++17 -W -Wall -O2 -fno-exceptions -fno-rtti -ffast-math -ftree-vectorize + +CXX = clang++ -stdlib=libc++ -march=native + +#CXX = g++ -march=native + +#CXX = armv7a-hardfloat-linux-gnueabi-g++ -static -mfpu=neon -march=armv7-a +#QEMU = qemu-arm + +#CXX = aarch64-unknown-linux-gnu-g++ -static -march=armv8-a+crc+simd -mtune=cortex-a72 +#QEMU = qemu-aarch64 .PHONY: clean test tests := $(basename $(wildcard *_test.*)) test: $(tests) - $(patsubst %,./%;,$(tests)) + $(patsubst %,$(QEMU) ./% >/dev/null;,$(tests)) clean: rm -f *_test