Changeset View
Changeset View
Standalone View
Standalone View
contrib/gitian-descriptors/gitian-linux.yml
--- | --- | ||||
name: "bitcoin-abc-linux" | name: "bitcoin-abc-linux" | ||||
enable_cache: true | enable_cache: true | ||||
distro: "debian" | distro: "debian" | ||||
suites: | suites: | ||||
- "buster" | - "buster" | ||||
architectures: | architectures: | ||||
- "amd64" | - "amd64" | ||||
multiarch: | |||||
- "i386" | |||||
packages: | packages: | ||||
- "autoconf" | - "autoconf" | ||||
- "automake" | - "automake" | ||||
- "binutils-aarch64-linux-gnu" | - "binutils-aarch64-linux-gnu" | ||||
- "binutils-arm-linux-gnueabihf" | - "binutils-arm-linux-gnueabihf" | ||||
- "binutils-gold" | - "binutils-gold" | ||||
- "bsdmainutils" | - "bsdmainutils" | ||||
- "build-essential" | - "build-essential" | ||||
- "ca-certificates" | - "ca-certificates" | ||||
- "curl" | - "curl" | ||||
- "faketime" | - "faketime" | ||||
- "g++-aarch64-linux-gnu" | - "g++-aarch64-linux-gnu" | ||||
- "g++-arm-linux-gnueabihf" | - "g++-arm-linux-gnueabihf" | ||||
- "gcc-aarch64-linux-gnu" | - "gcc-aarch64-linux-gnu" | ||||
- "gcc-arm-linux-gnueabihf" | - "gcc-arm-linux-gnueabihf" | ||||
- "git" | - "git" | ||||
- "gperf" | - "gperf" | ||||
- "lib32stdc++-8-dev" | |||||
- "libc6-dev:i386" | |||||
- "libtool" | - "libtool" | ||||
- "ninja-build" | - "ninja-build" | ||||
- "pkg-config" | - "pkg-config" | ||||
- "python3" | - "python3" | ||||
# FIXME: these dependencies are only required to make CMake happy when building | # FIXME: these dependencies are only required to make CMake happy when building | ||||
# native tools. They can be removed when the `NativeExecutable.cmake` gets | # native tools. They can be removed when the `NativeExecutable.cmake` gets | ||||
# improved to avoid requiring all the bitcoin-abc dependencies. | # improved to avoid requiring all the bitcoin-abc dependencies. | ||||
- "libboost-all-dev" | - "libboost-all-dev" | ||||
- "libevent-dev" | - "libevent-dev" | ||||
- "libssl-dev" | - "libssl-dev" | ||||
repositories: | repositories: | ||||
- "distribution": "buster-backports" | - "distribution": "buster-backports" | ||||
"source": "deb http://deb.debian.org/debian/ buster-backports main" | "source": "deb http://deb.debian.org/debian/ buster-backports main" | ||||
packages: | packages: | ||||
- "cmake" | - "cmake" | ||||
remotes: | remotes: | ||||
- "url": "https://github.com/Bitcoin-ABC/bitcoin-abc.git" | - "url": "https://github.com/Bitcoin-ABC/bitcoin-abc.git" | ||||
"dir": "bitcoin" | "dir": "bitcoin" | ||||
files: [] | files: [] | ||||
script: | | script: | | ||||
WRAP_DIR=$HOME/wrapped | WRAP_DIR=$HOME/wrapped | ||||
HOSTS="i686-pc-linux-gnu x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu" | HOSTS="x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu" | ||||
# CMake toolchain file name differ from host name | # CMake toolchain file name differ from host name | ||||
declare -A CMAKE_TOOLCHAIN_FILE | declare -A CMAKE_TOOLCHAIN_FILE | ||||
CMAKE_TOOLCHAIN_FILE[i686-pc-linux-gnu]=Linux32.cmake | |||||
CMAKE_TOOLCHAIN_FILE[x86_64-linux-gnu]=Linux64.cmake | CMAKE_TOOLCHAIN_FILE[x86_64-linux-gnu]=Linux64.cmake | ||||
CMAKE_TOOLCHAIN_FILE[arm-linux-gnueabihf]=LinuxARM.cmake | CMAKE_TOOLCHAIN_FILE[arm-linux-gnueabihf]=LinuxARM.cmake | ||||
CMAKE_TOOLCHAIN_FILE[aarch64-linux-gnu]=LinuxAArch64.cmake | CMAKE_TOOLCHAIN_FILE[aarch64-linux-gnu]=LinuxAArch64.cmake | ||||
# Allow extra cmake option to be specified for each host | # Allow extra cmake option to be specified for each host | ||||
declare -A CMAKE_EXTRA_OPTIONS | declare -A CMAKE_EXTRA_OPTIONS | ||||
# ARM assembly is supported but experimental, disable it for the release | # ARM assembly is supported but experimental, disable it for the release | ||||
CMAKE_EXTRA_OPTIONS[arm-linux-gnueabihf]="-DSECP256K1_USE_ASM=OFF" | CMAKE_EXTRA_OPTIONS[arm-linux-gnueabihf]="-DSECP256K1_USE_ASM=OFF" | ||||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |