Skip to content

Commit

Permalink
gitian: bump build system to focal from bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
xanimo committed Feb 2, 2024
1 parent e234707 commit 26a9f12
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
8 changes: 5 additions & 3 deletions contrib/gitian-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,13 @@ pushd libdogecoin
popd

pushd gitian-builder
mkdir -p patches
wget -P patches https://gist.githubusercontent.com/xanimo/b8e4bc8ac554e384090e1e5eef19b5bf/raw/76f4294fae96a56ee01acf897be523ffaa1fffcb/update-mirrorbase.patch
git apply patches/update-mirrorbase.patch
if [ "$USE_DOCKER" ]; then
bin/make-base-vm --docker --suite bionic --arch amd64
bin/make-base-vm --docker --suite focal --arch amd64
elif [ "$USE_LXC" ]; then
bin/make-base-vm --lxc --suite bionic --arch amd64
bin/make-base-vm --lxc --suite focal --arch amd64
fi

if [ ! -d "inputs" ]; then
Expand Down Expand Up @@ -156,7 +159,6 @@ fi
# DESCRIPTORS+=('win-signer' 'osx-signer')
# fi

# leaving commented in case it failure in loop above
./bin/gbuild -m ${MEM} -j ${PROC} --commit libdogecoin=${COMMIT} --url libdogecoin=${URL} ../libdogecoin/contrib/gitian-descriptors/gitian-linux.yml
if [ "$SIGNER" ]; then
./bin/gsign --signer "$SIGNER" --release "$COMMIT"-"linux" \
Expand Down
23 changes: 11 additions & 12 deletions contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@
name: "libdogecoin-linux-0.1.3"
enable_cache: true
suites:
- "bionic"
- "focal"
architectures:
- "amd64"
packages:
- "curl"
- "shellcheck"
- "g++-aarch64-linux-gnu"
- "g++-7-aarch64-linux-gnu"
- "gcc-7-aarch64-linux-gnu"
- "g++-9-aarch64-linux-gnu"
- "gcc-9-aarch64-linux-gnu"
- "binutils-aarch64-linux-gnu"
- "g++-arm-linux-gnueabihf"
- "g++-7-arm-linux-gnueabihf"
- "gcc-7-arm-linux-gnueabihf"
- "g++-9-arm-linux-gnueabihf"
- "gcc-9-arm-linux-gnueabihf"
- "binutils-arm-linux-gnueabihf"
- "g++-7-multilib"
- "gcc-7-multilib"
- "binutils-gold"
- "git-core"
- "g++-9-multilib"
- "gcc-9-multilib"
- "binutils"
- "git"
- "pkg-config"
- "autoconf"
- "libtool"
- "automake"
- "make"
- "faketime"
- "bsdmainutils"
- "ca-certificates"
- "python"
- "python3"
remotes:
- "url": "${URL}"
"dir": "libdogecoin"
Expand Down Expand Up @@ -144,7 +144,6 @@ script: |
for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
./contrib/scripts/build.sh --host ${i} --depends
./contrib/scripts/combine.sh --target .libs/libdogecoin.a --append "depends/${i}/lib/libunistring.a"
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.3"
done
Expand Down
4 changes: 3 additions & 1 deletion contrib/gitian-descriptors/gitian-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "libdogecoin-osx-0.1.3"
enable_cache: true
suites:
- "bionic"
- "focal"
architectures:
- "amd64"
packages:
Expand All @@ -22,6 +22,8 @@ packages:
- "python3"
- "python3-dev"
- "python3-setuptools"
- "libtinfo5"
- "xorriso"
remotes:
- "url": "${URL}"
"dir": "libdogecoin"
Expand Down
10 changes: 5 additions & 5 deletions contrib/gitian-descriptors/gitian-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "libdogecoin-win-0.1.3"
enable_cache: true
suites:
- "bionic"
- "focal"
architectures:
- "amd64"
packages:
Expand All @@ -15,12 +15,13 @@ packages:
- "automake"
- "faketime"
- "bsdmainutils"
- "mingw-w64"
- "g++-mingw-w64"
- "g++-mingw-w64-x86-64"
- "g++"
- "g++-mingw-w64-i686"
- "nsis"
- "zip"
- "ca-certificates"
- "python"
- "python3"
- "rename"
remotes:
- "url": "${URL}"
Expand Down Expand Up @@ -131,7 +132,6 @@ script: |
for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
./contrib/scripts/build.sh --host ${i} --depends
./contrib/scripts/combine.sh --target .libs/libdogecoin.a --append "depends/${i}/lib/libunistring.a"
./contrib/scripts/pack.sh --host=${i} --prefix=build --commit="0.1.3"
done
Expand Down

0 comments on commit 26a9f12

Please sign in to comment.