Skip to content

Commit 417aad4

Browse files
committed
Merge pull request #3546
f4e72bf Make gitian builds consistent across platforms (Micha)
2 parents 4b4b578 + f4e72bf commit 417aad4

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

contrib/gitian-descriptors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Once you've got the right hardware and software:
3939
git pull
4040
cd ../gitian-builder
4141
git pull
42-
./bin/gbuild --commit bitcoin=HEAD ../bitcoin/contrib/gitian-descriptors/gitian.yml
42+
./bin/gbuild --commit bitcoin=HEAD ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
4343

4444
# Build Win32 dependencies: (only needs to be done once, or when dependency versions change)
4545
./bin/gbuild --commit bitcoin=HEAD ../bitcoin/contrib/gitian-descriptors/boost-win32.yml

contrib/gitian-descriptors/deps-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ architectures:
77
- "amd64"
88
packages:
99
- "unzip"
10+
- "zip"
1011
- "pkg-config"
1112
- "libtool"
1213
- "faketime"
@@ -59,4 +60,4 @@ script: |
5960
cd ../..
6061
#
6162
cd $STAGING
62-
tar -czf $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r1.tar.gz include lib bin host
63+
zip -r $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r1.zip include lib bin host

contrib/gitian-descriptors/gitian.yml renamed to contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ remotes:
2727
- "url": "https://github.com/bitcoin/bitcoin.git"
2828
"dir": "bitcoin"
2929
files:
30-
- "bitcoin-deps-linux32-gitian-r1.tar.gz"
31-
- "bitcoin-deps-linux64-gitian-r1.tar.gz"
30+
- "bitcoin-deps-linux32-gitian-r1.zip"
31+
- "bitcoin-deps-linux64-gitian-r1.zip"
3232
script: |
3333
STAGING="$HOME/install"
3434
OPTFLAGS='-O2'
@@ -38,7 +38,7 @@ script: |
3838
#
3939
mkdir -p $STAGING
4040
cd $STAGING
41-
tar xzfm ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r1.tar.gz
41+
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r1.zip
4242
cd ../build
4343
#
4444
cd bitcoin

doc/release-process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Release Process
5252
wget 'https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2'
5353
cd ..
5454
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/deps-linux.yml
55-
mv build/out/*.tar.gz inputs/
55+
mv build/out/bitcoin-deps-*.zip inputs/
5656
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/boost-win32.yml
5757
mv build/out/boost-win32-*.zip inputs/
5858
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/deps-win32.yml
@@ -64,8 +64,8 @@ Release Process
6464

6565
Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32:
6666

67-
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian.yml
68-
./bin/gsign --signer $SIGNER --release ${VERSION} --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml
67+
./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
68+
./bin/gsign --signer $SIGNER --release ${VERSION} --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
6969
pushd build/out
7070
zip -r bitcoin-${VERSION}-linux-gitian.zip *
7171
mv bitcoin-${VERSION}-linux-gitian.zip ../../../

0 commit comments

Comments
 (0)