mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
Enable all arm64 acceleration in travis tests
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
ae129c3a20
commit
ad0b2f7677
18
.travis.yml
18
.travis.yml
@ -90,15 +90,10 @@ jobs:
|
|||||||
- gcc
|
- gcc
|
||||||
script:
|
script:
|
||||||
# Do a manual build+test sequence rather than using all.sh, because
|
# 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
|
# there's no all.sh component that does what we want.
|
||||||
# CFLAGS for arm64 host CC.
|
|
||||||
- scripts/config.py full
|
- 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 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
|
- make test
|
||||||
- programs/test/selftest
|
- programs/test/selftest
|
||||||
- tests/scripts/test_psa_constant_names.py
|
- tests/scripts/test_psa_constant_names.py
|
||||||
@ -118,15 +113,10 @@ jobs:
|
|||||||
- gnutls-bin
|
- gnutls-bin
|
||||||
script:
|
script:
|
||||||
# Do a manual build+test sequence rather than using all.sh, because
|
# 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
|
# there's no all.sh component that does what we want.
|
||||||
# CFLAGS for arm64 host CC.
|
|
||||||
- scripts/config.py full
|
- 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 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.
|
# GnuTLS supports CAMELLIA but compat.sh doesn't properly enable it.
|
||||||
- tests/compat.sh -p GnuTLS -e 'CAMELLIA'
|
- tests/compat.sh -p GnuTLS -e 'CAMELLIA'
|
||||||
- tests/scripts/travis-log-failure.sh
|
- tests/scripts/travis-log-failure.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user