aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJerry Yu <jerry.h.yu@arm.com>2023-03-03 15:58:49 +0800
committerJerry Yu <jerry.h.yu@arm.com>2023-03-13 10:19:34 +0800
commitad0b2f7677dfb0e4727ca02b2aef296fad03970a (patch)
tree357787a357a66e65b869f39ed6d1df698c872642 /.travis.yml
parentae129c3a20735b03b3d2722e46c0e22e56ff62c4 (diff)
downloadmbedtls-ad0b2f7677dfb0e4727ca02b2aef296fad03970a.zip
mbedtls-ad0b2f7677dfb0e4727ca02b2aef296fad03970a.tar.gz
mbedtls-ad0b2f7677dfb0e4727ca02b2aef296fad03970a.tar.bz2
Enable all arm64 acceleration in travis tests
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 4 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml
index cdb79d1..d4deb2c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -90,15 +90,10 @@ jobs:
- gcc
script:
# Do a manual build+test sequence rather than using all.sh, because
- # there's no all.sh component that does what we want. We should set
- # CFLAGS for arm64 host CC.
+ # there's no all.sh component that does what we want.
- scripts/config.py full
- - scripts/config.py unset MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
- - scripts/config.py unset MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY
- - scripts/config.py unset MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT
- - scripts/config.py unset MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY
- make generated_files
- - make CFLAGS='-march=armv8-a+crypto -O3 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' LDFLAGS='-Werror -fsanitize=address,undefined -fno-sanitize-recover=all'
+ - make CFLAGS='-O3 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' LDFLAGS='-Werror -fsanitize=address,undefined -fno-sanitize-recover=all'
- make test
- programs/test/selftest
- tests/scripts/test_psa_constant_names.py
@@ -118,15 +113,10 @@ jobs:
- gnutls-bin
script:
# Do a manual build+test sequence rather than using all.sh, because
- # there's no all.sh component that does what we want. We should set
- # CFLAGS for arm64 host CC.
+ # there's no all.sh component that does what we want.
- scripts/config.py full
- - scripts/config.py unset MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
- - scripts/config.py unset MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY
- - scripts/config.py unset MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT
- - scripts/config.py unset MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY
- make generated_files
- - make CC=clang CFLAGS='-march=armv8-a+crypto -O3 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' LDFLAGS='-Werror -fsanitize=address,undefined -fno-sanitize-recover=all'
+ - make CC=clang CFLAGS='-O3 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' LDFLAGS='-Werror -fsanitize=address,undefined -fno-sanitize-recover=all'
# GnuTLS supports CAMELLIA but compat.sh doesn't properly enable it.
- tests/compat.sh -p GnuTLS -e 'CAMELLIA'
- tests/scripts/travis-log-failure.sh