- update steps for build Bitcoin Core with msys2
- fix test/util/rpcauth-test.py and test/util/test_runner.py to run in msys2
- added test/util/path_helper.py to handle msys2 paths in python
doc, test: Compilation for 64-bit Windows with msys2 #24985
pull rnapoles wants to merge 12 commits into bitcoin:master from rnapoles:msys2-windows-build changing 4 files +197 −28-
rnapoles commented at 1:30 am on April 26, 2022: none
-
* Compilation for 64-bit Windows with msys2
updated doc/build-windows.md and modified test/util/*.py to run under msys2
-
* fix F841 flake8 rule 440a96d213
-
rnapoles renamed this:
doc,test: Compilation for 64-bit Windows with msys2
Compilation for 64-bit Windows with msys2
on Apr 26, 2022 -
DrahtBot added the label Docs on Apr 26, 2022
-
DrahtBot added the label Tests on Apr 26, 2022
-
laanwj added the label Windows on Apr 26, 2022
-
in doc/build-windows.md:108 in 440a96d213 outdated
103+ pacman -Su 104+ pacman -S base-devel gcc vim cmake git mingw-w64-{x86_64,i686}-nsis 105+ pacman -S --needed filesystem msys2-runtime bash libreadline libiconv libarchive libgpgme libcurl pacman ncurses libintl 106+ pacman -S make autoconf autotools automake libtool pkg-config autotools-dev pkg-config 107+ pacman -S mingw-w64-{i686,x86_64}-toolchain mingw-w64-{i686,x86_64}-pkgconf 108+ pacman -S mingw-w64-{i686,x86_64}-{boost,protobuf}
fanquake commented at 8:05 am on April 26, 2022:protobuf is not required.
rnapoles commented at 7:49 pm on April 26, 2022:included in updated doc/build-windows.mdin doc/build-windows.md:112 in 440a96d213 outdated
107+ pacman -S mingw-w64-{i686,x86_64}-toolchain mingw-w64-{i686,x86_64}-pkgconf 108+ pacman -S mingw-w64-{i686,x86_64}-{boost,protobuf} 109+ pacman -S mingw-w64-{i686,x86_64}-crt-git 110+ pacman -S mingw-w64-{i686,x86_64}-libevent 111+ pacman -S mingw-w64-{i686,x86_64}-db mingw-w64-{i686,x86_64}-leveldb 112+ pacman -S mingw-w64-{i686,x86_64}-miniupnpc
fanquake commented at 8:05 am on April 26, 2022:You’re installing miniupnpc and then configuring with--without-miniupnpc
?
rnapoles commented at 7:49 pm on April 26, 2022:included in updated doc/build-windows.mdin doc/build-windows.md:111 in 440a96d213 outdated
106+ pacman -S make autoconf autotools automake libtool pkg-config autotools-dev pkg-config 107+ pacman -S mingw-w64-{i686,x86_64}-toolchain mingw-w64-{i686,x86_64}-pkgconf 108+ pacman -S mingw-w64-{i686,x86_64}-{boost,protobuf} 109+ pacman -S mingw-w64-{i686,x86_64}-crt-git 110+ pacman -S mingw-w64-{i686,x86_64}-libevent 111+ pacman -S mingw-w64-{i686,x86_64}-db mingw-w64-{i686,x86_64}-leveldb
fanquake commented at 8:06 am on April 26, 2022:leveldb is part of our source. It doesn’t need installing.
rnapoles commented at 7:49 pm on April 26, 2022:included in updated doc/build-windows.mdin doc/build-windows.md:128 in 440a96d213 outdated
123+ 124+ ./configure \ 125+ --with-gui=no \ 126+ --without-miniupnpc \ 127+ --without-bdb \ 128+ --without-gui \
fanquake commented at 8:06 am on April 26, 2022:--with-gui=no
and--without-gui
do the same thing.
rnapoles commented at 7:49 pm on April 26, 2022:included in updated doc/build-windows.mdin doc/build-windows.md:129 in 440a96d213 outdated
124+ ./configure \ 125+ --with-gui=no \ 126+ --without-miniupnpc \ 127+ --without-bdb \ 128+ --without-gui \ 129+ --with-qrencode
fanquake commented at 8:07 am on April 26, 2022:Why are you passing--with-qrencode
(gui component) if you’ve explicitly disabled the GUI?
rnapoles commented at 7:49 pm on April 26, 2022:included in updated doc/build-windows.mdin doc/build-windows.md:136 in 440a96d213 outdated
131+ make -J 132+ 133+ make check 134+``` 135+ 136+#### Credits
fanquake commented at 8:07 am on April 26, 2022:Credits section can be removed.
rnapoles commented at 7:51 pm on April 26, 2022:rename to “References” doc/build-windows.md, What do you think about this?
fanquake commented at 9:35 pm on April 26, 2022:What do you think about this?
I still don’t think there’s any need for a references, or credits section. Let alone one that links to a repository that hasn’t been updated in 7 years.
rnapoles commented at 4:15 am on April 27, 2022:I understand, removed outdated references in new commitin doc/build-windows.md:104 in 440a96d213 outdated
99+ 100+#### Install 101+```bash 102+ pacman -Sy 103+ pacman -Su 104+ pacman -S base-devel gcc vim cmake git mingw-w64-{x86_64,i686}-nsis
fanquake commented at 8:11 am on April 26, 2022:vim?
rnapoles commented at 7:51 pm on April 26, 2022:remove in updated doc/build-windows.mdin doc/build-windows.md:131 in 440a96d213 outdated
126+ --without-miniupnpc \ 127+ --without-bdb \ 128+ --without-gui \ 129+ --with-qrencode 130+ 131+ make -J
fanquake commented at 8:13 am on April 26, 2022:-J
alone won’t do anything.
rnapoles commented at 7:52 pm on April 26, 2022:corrected in updated doc/build-windows.mdin doc/build-windows.md:107 in 440a96d213 outdated
102+ pacman -Sy 103+ pacman -Su 104+ pacman -S base-devel gcc vim cmake git mingw-w64-{x86_64,i686}-nsis 105+ pacman -S --needed filesystem msys2-runtime bash libreadline libiconv libarchive libgpgme libcurl pacman ncurses libintl 106+ pacman -S make autoconf autotools automake libtool pkg-config autotools-dev pkg-config 107+ pacman -S mingw-w64-{i686,x86_64}-toolchain mingw-w64-{i686,x86_64}-pkgconf
fanquake commented at 8:16 am on April 26, 2022:Do we definitely needpkgconf
andpkg-config
?
rnapoles commented at 7:52 pm on April 26, 2022:corrected in updated doc/build-windows.mdin doc/build-windows.md:106 in 440a96d213 outdated
101+```bash 102+ pacman -Sy 103+ pacman -Su 104+ pacman -S base-devel gcc vim cmake git mingw-w64-{x86_64,i686}-nsis 105+ pacman -S --needed filesystem msys2-runtime bash libreadline libiconv libarchive libgpgme libcurl pacman ncurses libintl 106+ pacman -S make autoconf autotools automake libtool pkg-config autotools-dev pkg-config
fanquake commented at 8:17 am on April 26, 2022:pkg-config
is listed twice.in doc/build-windows.md:105 in 440a96d213 outdated
100+#### Install 101+```bash 102+ pacman -Sy 103+ pacman -Su 104+ pacman -S base-devel gcc vim cmake git mingw-w64-{x86_64,i686}-nsis 105+ pacman -S --needed filesystem msys2-runtime bash libreadline libiconv libarchive libgpgme libcurl pacman ncurses libintl
fanquake commented at 8:20 am on April 26, 2022:Is pacman meant to be listed here? I’m not sure what the rest of these dependencies are used for.
rnapoles commented at 7:53 pm on April 26, 2022:corrected in updated doc/build-windows.md* update doc remove unused packages and build options without sense b71c1f5b85* only support 64 bits builds e327bc90b5* remove outdated references f24d90b8e3* removed outdated references 4fae554f40Merge branch 'msys2-windows-build' of https://github.com/rnapoles/bitcoin into msys2-windows-build 8f762ba919* move msys2 doc build to end of file 178655ac30Merge branch 'bitcoin:master' into msys2-windows-build e9ce943397* split commands 62c52831b5* prettify doc/build-windows.md 0ad3583b40* prettify doc/build-windows.md removed extra spaces 10239b3b79DrahtBot commented at 2:19 am on April 28, 2022: contributorThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #24993 (test, contrib, refactor: use
with
when opening a file by brunoerg)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
rnapoles renamed this:
Compilation for 64-bit Windows with msys2
doc, test: Compilation for 64-bit Windows with msys2
on Apr 28, 2022fanquake commented at 2:53 pm on April 28, 2022: member@rnapoles note that you’ll need to squash / cleanup your commits (no need to open a new PR). @sipsorcery any thoughts on this?sipsorcery commented at 3:11 pm on April 28, 2022: member@rnapoles I’d recommend splitting this PR up. Some of the changes seem to be pure formatting, some are related to the msys2 change (which is all that is expected given the PR title) and some seem to be changes to the test scripts. It’s a lot easier to get reviewers and ACK’s on PRs if they are single purpose.
In regards to the msys2 change my personal opinion would be that it’s better to stick with mingw because that’s what the Bitcoin Core guix builds are done with.
MarcoFalke commented at 3:14 pm on April 28, 2022: memberI think the plan is to move from mingw to clang windows cross buildsDrahtBot added the label Needs rebase on May 4, 2022DrahtBot commented at 7:19 pm on May 4, 2022: contributor🐙 This pull request conflicts with the target branch and needs rebase.
Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a “draft”.
fanquake commented at 1:18 pm on August 15, 2022: memberIn regards to the msys2 change my personal opinion would be that it’s better to stick with mingw because that’s what the Bitcoin Core guix builds are done with.
Closing for now.
fanquake closed this on Aug 15, 2022
bitcoin locked this on Aug 15, 2023
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-29 01:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me