Browse Source

wine build: build 64-bit windows binaries

required for qt6

related: https://github.com/spesmilo/electrum/issues/6598
master
SomberNight 1 year ago
parent
commit
fcc4e1d387
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 8
      .cirrus.yml
  2. 2
      contrib/build-wine/make_win.sh

8
.cirrus.yml

@ -188,13 +188,17 @@ task:
cpu: 1 cpu: 1
memory: 2G memory: 2G
pip_cache: pip_cache:
folder: contrib/build-wine/.cache/win32/wine_pip_cache folders:
- contrib/build-wine/.cache/win32/wine_pip_cache
- contrib/build-wine/.cache/win64/wine_pip_cache
fingerprint_script: fingerprint_script:
- echo $CIRRUS_TASK_NAME - echo $CIRRUS_TASK_NAME
- git ls-files -s contrib/deterministic-build/*.txt - git ls-files -s contrib/deterministic-build/*.txt
- git ls-files -s contrib/build-wine/ - git ls-files -s contrib/build-wine/
build2_cache: build2_cache:
folder: contrib/build-wine/.cache/win32/build folders:
- contrib/build-wine/.cache/win32/build
- contrib/build-wine/.cache/win64/build
fingerprint_script: fingerprint_script:
- echo $CIRRUS_TASK_NAME - echo $CIRRUS_TASK_NAME
- cat contrib/make_libsecp256k1.sh | sha256sum - cat contrib/make_libsecp256k1.sh | sha256sum

2
contrib/build-wine/make_win.sh

@ -6,7 +6,7 @@ here="$(dirname "$(readlink -e "$0")")"
test -n "$here" -a -d "$here" || exit test -n "$here" -a -d "$here" || exit
if [ -z "$WIN_ARCH" ] ; then if [ -z "$WIN_ARCH" ] ; then
export WIN_ARCH="win32" # default export WIN_ARCH="win64" # default
fi fi
if [ "$WIN_ARCH" = "win32" ] ; then if [ "$WIN_ARCH" = "win32" ] ; then
export GCC_TRIPLET_HOST="i686-w64-mingw32" export GCC_TRIPLET_HOST="i686-w64-mingw32"

Loading…
Cancel
Save