if [ "$AARCH64" = "true" ]; then
# convert the arch specifier
- OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc"
+ if [ "$CC_FOR_BUILD" = "gcc" ]; then
+ OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc"
+ elif [ "$CC_FOR_BUILD" = "clang" ]; then
+ OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_clang_ubuntu1804"
+ fi
fi
if [ "$BUILD_DOCS" = "true" ]; then
- *required_packages
- [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
+_aarch64_clang_packages: &aarch64_clang_packages
+ - *required_packages
+ - [libgcc-7-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu]
+
_libabigail_build_packages: &libabigail_build_packages
- [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev]
apt:
packages:
- *aarch64_packages
+ - env: DEF_LIB="static" AARCH64=true
+ arch: amd64
+ compiler: clang
+ addons:
+ apt:
+ packages:
+ - *aarch64_clang_packages
+ - env: DEF_LIB="shared" AARCH64=true
+ arch: amd64
+ compiler: clang
+ addons:
+ apt:
+ packages:
+ - *aarch64_clang_packages
# aarch64 gcc jobs
- env: DEF_LIB="static"
arch: arm64