diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2020-02-03 09:09:28 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2020-02-04 17:13:29 +0000 |
commit | bb516dfc5b389d1f557752715891a3eedef136f4 (patch) | |
tree | a10f1cfbdd83aa90669947d38f34e7f4e31b8324 /tests/tcg/configure.sh | |
parent | ded663a226de48892ce7a2875c7bca579b65080c (diff) |
tests/tcg: gate pauth-% tests on having compiler support
Otherwise we end up failing to build our tests on CI which may have
older compilers that the user expects. We can get rid of this once we
can fallback to multiarch containers.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200203090932.19147-14-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/configure.sh')
-rwxr-xr-x | tests/tcg/configure.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index e0d1fbb182..9eb6ba3b7e 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -227,6 +227,10 @@ for target in $target_list; do -march=armv8.1-a+sve -o $TMPE $TMPC; then echo "CROSS_CC_HAS_SVE=y" >> $config_target_mak fi + if do_compiler "$target_compiler" $target_compiler_cflags \ + -march=-march=armv8.3-a -o $TMPE $TMPC; then + echo "CROSS_CC_HAS_ARMV8_3=y" >> $config_target_mak + fi ;; esac |