ken2812221
commented at 7:12 pm on October 2, 2018:
contributor
In current MSVC build setup, the code depends on leveldb and secp256k1 that are installed from vcpkg which is not controlled by us. If we update our code, we have to wait for vcpkg port being merged.
This PR move them from vcpkg to local branch to make it as same as autoconf.
The leveldb changes is based on bitcoin-core/leveldb#14 and bitcoin-core/leveldb#18
practicalswift
commented at 8:48 pm on October 2, 2018:
contributor
src/leveldb/ should not be edited locally – the leveldb changes should probably be submitted upstream instead :-)
DrahtBot
commented at 9:40 pm on October 2, 2018:
member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
No conflicts as of last run.
ras0219-msft
commented at 9:42 pm on October 2, 2018:
none
If you want to maintain forks of leveldb/secp256k1 locally then it probably makes more sense to do this than install them via vcpkg.
However, if the intent is to treat them as third party libraries, you might be happier with instead replacing the vcpkg portfiles to point at the modified versions before running install (C:\tools\vcpkg\ports\leveldb\). We always use the local catalog to do the build, so they can just be directly replaced before calling vcpkg remove --outdated; vcpkg install.
Note: If you want them to be removed by remove --outdated, you need to make sure to change the version in ports\leveldb\CONTROL when making modifications.
ken2812221 force-pushed
on Oct 2, 2018
ken2812221 force-pushed
on Oct 2, 2018
fanquake added the label
Windows
on Oct 2, 2018
MarcoFalke
commented at 4:15 am on October 3, 2018:
member
Concept ACK on using the subtree when compiling with msvc. Though, could the subtree bump be done in a separate pull request?
sipsorcery
commented at 8:28 am on October 3, 2018:
member
For what it’s worth I’d agree with @practicalswift that changes to the sub-trees should be done upstream.
I’m a concept ACK on using subtrees for leveldb and secp256k1 for the msvc/Visual Studio build. It does make debugging a little bit easier.
ken2812221
commented at 8:54 am on October 3, 2018:
contributor
@sipsorcery Sorry. I’m not aware that you already submmitted a PR for that. I’ll revert the duplicate thing in bitcoin-core/leveldb#18
@practicalswift@sipsorcery I know that they should be done upstream, but they are not done yet. I could show the result before then and make CI happy. Anyway, this PR shouldn’t be merged before upstream one merged.
DrahtBot added the label
Needs rebase
on Oct 8, 2018
ken2812221 force-pushed
on Oct 8, 2018
ken2812221 force-pushed
on Oct 8, 2018
DrahtBot removed the label
Needs rebase
on Oct 8, 2018
ken2812221 force-pushed
on Oct 8, 2018
DrahtBot added the label
Needs rebase
on Oct 20, 2018
ken2812221 force-pushed
on Oct 21, 2018
DrahtBot removed the label
Needs rebase
on Oct 21, 2018
DrahtBot added the label
Needs rebase
on Nov 7, 2018
ken2812221 force-pushed
on Nov 8, 2018
DrahtBot removed the label
Needs rebase
on Nov 8, 2018
ken2812221 force-pushed
on Nov 8, 2018
laanwj
commented at 4:28 pm on January 16, 2019:
member
Concept ACK, makes sense if MSVC follows the autoconf-based build system in this regard.
ken2812221 force-pushed
on Jan 22, 2019
ken2812221 force-pushed
on Jan 22, 2019
ken2812221 force-pushed
on Jan 22, 2019
ken2812221 force-pushed
on Jan 22, 2019
MarcoFalke added this to the milestone 0.18.0
on Jan 26, 2019
MarcoFalke
commented at 3:10 pm on January 31, 2019:
member
Needs rebase
MarcoFalke added the label
Needs rebase
on Jan 31, 2019
ken2812221 force-pushed
on Jan 31, 2019
DrahtBot removed the label
Needs rebase
on Jan 31, 2019
MarcoFalke
commented at 4:05 pm on January 31, 2019:
member
DrahtBot added the label
Needs rebase
on Jan 31, 2019
msvc: build secp256k1 locally52091066be
msvc: build leveldb locally82dcacb822
ken2812221 force-pushed
on Jan 31, 2019
DrahtBot removed the label
Needs rebase
on Jan 31, 2019
sipsorcery
commented at 7:48 pm on January 31, 2019:
member
tACK52091066be15a86a38c4db182338808f9316c35a.
Builds correctly on VS2017, VS2019 and AppVeyor.
(One note is that Pieter Wuille did comment somewhere that the libsecp256k1 config options set here meant that Windows ecdsa operations were up to 4 times slower than on Linux. I had a quick look but because msvc doesn’t support asm on 64 bit builds didn’t find any way to improve it)
MarcoFalke referenced this in commit
3b19d8e341
on Jan 31, 2019
MarcoFalke merged this
on Jan 31, 2019
MarcoFalke closed this
on Jan 31, 2019
NicolasDorier
commented at 7:28 am on February 1, 2019:
contributor
post merge tACK.
ken2812221 referenced this in commit
bef8fdd6e2
on Feb 1, 2019
MarcoFalke referenced this in commit
6a5feb7d82
on Feb 4, 2019
HashUnlimited referenced this in commit
08d5d81f79
on Feb 5, 2019
ken2812221 deleted the branch
on Feb 9, 2019
ken2812221 referenced this in commit
3c6ef0393f
on Feb 14, 2019
MarcoFalke referenced this in commit
e3b1c7a9d6
on Feb 14, 2019
HashUnlimited referenced this in commit
3933d6669b
on Feb 23, 2019
kallewoof referenced this in commit
66c015529e
on Oct 4, 2019
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-11-17 06:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me