Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/builds/build-linux-arm.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
export LC_ALL=C.UTF-8 | export LC_ALL=C.UTF-8 | ||||
set -euxo pipefail | set -euxo pipefail | ||||
# shellcheck source=../ci-fixture.sh | # shellcheck source=../ci-fixture.sh | ||||
source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | ||||
build_static_dependencies | build_static_dependencies linux-arm | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DCMAKE_TOOLCHAIN_FILE=${CMAKE_PLATFORMS_DIR}/LinuxARM.cmake" | "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_PLATFORMS_DIR}/LinuxARM.cmake" | ||||
# This will prepend our executable commands with the given emulator call | # This will prepend our executable commands with the given emulator call | ||||
"-DCMAKE_CROSSCOMPILING_EMULATOR=$(command -v qemu-arm-static)" | "-DCMAKE_CROSSCOMPILING_EMULATOR=$(command -v qemu-arm-static)" | ||||
# The ZMQ functional test will fail with qemu (due to a qemu limitation), | # The ZMQ functional test will fail with qemu (due to a qemu limitation), | ||||
# so disable it to avoid the failure. | # so disable it to avoid the failure. | ||||
# Extracted from stderr: | # Extracted from stderr: | ||||
Show All 19 Lines |