mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
fac577d423
Depends is currently built twice for the Android build. For example, the same task building it twice: * https://cirrus-ci.com/task/6673185279049728?logs=ci#L3418 (aarch64-linux-android) * https://cirrus-ci.com/task/6673185279049728?logs=ci#L3422 (x86_64-pc-linux-gnu, 4 lines later)
25 lines
1 KiB
Bash
25 lines
1 KiB
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2019-2020 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
export HOST=aarch64-linux-android
|
|
export PACKAGES="clang llvm unzip openjdk-8-jdk gradle"
|
|
export CONTAINER_NAME=ci_android
|
|
export DOCKER_NAME_TAG="ubuntu:bionic"
|
|
|
|
export RUN_UNIT_TESTS=false
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
|
|
export ANDROID_API_LEVEL=28
|
|
export ANDROID_BUILD_TOOLS_VERSION=28.0.3
|
|
export ANDROID_NDK_VERSION=21.1.6352462
|
|
export ANDROID_TOOLS_URL=https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest.zip
|
|
export ANDROID_HOME="${DEPENDS_DIR}/SDKs/android"
|
|
export ANDROID_NDK_HOME="${ANDROID_HOME}/ndk/${ANDROID_NDK_VERSION}"
|
|
export DEP_OPTS="ANDROID_SDK=${ANDROID_HOME} ANDROID_NDK=${ANDROID_NDK_HOME} ANDROID_API_LEVEL=${ANDROID_API_LEVEL} ANDROID_TOOLCHAIN_BIN=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/"
|
|
|
|
export BITCOIN_CONFIG="--disable-ccache"
|