Alex Bennée <alex.ben...@linaro.org> writes:
> This is a port of my kvm-unit-tests barrier test. A couple of things > are done in a more user-space friendly way but the tests are the same. > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> <snip> > + > +# Barrier tests need atomic definitions, steal QEMUs > +barrier: CFLAGS+=-I$(SRC_PATH)/include/qemu Hmm that should be: modified tests/tcg/arm/Makefile.target @@ -10,7 +10,7 @@ VPATH += $(ARM_SRC) ARM_TESTS=hello-arm test-arm-iwmmxt -TESTS += $(ARM_TESTS) fcvt +TESTS += $(ARM_TESTS) fcvt barrier hello-arm: CFLAGS+=-marm -ffreestanding hello-arm: LDFLAGS+=-nostdlib @@ -30,3 +30,7 @@ endif # On ARM Linux only supports 4k pages EXTRA_RUNS+=run-test-mmap-4096 + +# Barrier tests need aqrel +barrier: CFLAGS+=-march=armv8-a +barrier: LDFLAGS+=-lpthread -- Alex Bennée