aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/ppc64
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-09-29 12:42:04 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-10-06 11:53:40 +0100
commit15b273f8e6a4740768fba3878a346c82ef48a966 (patch)
tree4b0fc44b5ffa1dfb23fccf89d4cd71aa30c664f3 /tests/tcg/ppc64
parentc6cf8a20521c7114893042cb7c75866bd07838ae (diff)
downloadqemu-15b273f8e6a4740768fba3878a346c82ef48a966.zip
qemu-15b273f8e6a4740768fba3878a346c82ef48a966.tar.gz
qemu-15b273f8e6a4740768fba3878a346c82ef48a966.tar.bz2
tests/tcg: move compiler tests to Makefiles
Further decoupling of tests/tcg from the main QEMU Makefile, and making the build more similar between the cross compiler case and the vetted container images. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220929114231.583801-25-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/ppc64')
-rw-r--r--tests/tcg/ppc64/Makefile.target7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tcg/ppc64/Makefile.target b/tests/tcg/ppc64/Makefile.target
index 7db7a3e..f081f1c 100644
--- a/tests/tcg/ppc64/Makefile.target
+++ b/tests/tcg/ppc64/Makefile.target
@@ -4,6 +4,13 @@
VPATH += $(SRC_PATH)/tests/tcg/ppc64
+config-cc.mak: Makefile
+ $(quiet-@)( \
+ $(call cc-option,-mpower8-vector, CROSS_CC_HAS_POWER8_VECTOR); \
+ $(call cc-option,-mpower10, CROSS_CC_HAS_POWER10)) 3> config-cc.mak
+
+-include config-cc.mak
+
ifneq ($(CROSS_CC_HAS_POWER8_VECTOR),)
PPC64_TESTS=bcdsub non_signalling_xscv
endif