HomePhabricator

[CMAKE] Migrate windows gitian build to cmake and ninja

Description

[CMAKE] Migrate windows gitian build to cmake and ninja

Summary:
Replace autotools by CMake for the windows Gitian builds, and use
Ninja as a generator.

Note 1:
The test_bitcoin binary is no longer part of the Gitian output.

Note 2: There are some more dependencies required.
This is because CMake is run for the native platform in order to build a
couple helper binaries for secp256k1 and univalue. CMake is run from the
project root and check for all the dependencies despite only a compiler
is required. This is a minor inconvenience which can be reworked later.

Depends on D4445.

Test Plan:
Run the Windows Gitian build twice.
Check the hashes are identical between the builds.
Run the binaries and installers for both 32 bits and 64 bits
architectures.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4404

Details

Provenance
FabienAuthored on Nov 6 2019, 13:30
FabienPushed on Nov 21 2019, 15:21
Reviewer
Restricted Project
Differential Revision
D4404: [CMAKE] Migrate windows gitian build to cmake and ninja
Parents
rABC3cf58288f217: [GITIAN] Migrate OSX Gitian builds to CMake and Ninja
Branches
Unknown
Tags
Unknown