Replace univalue subtree with proper dependency on external UniValue #7340
pull luke-jr wants to merge 6 commits into bitcoin:master from luke-jr:sys_univalue changing 72 files +51 −2133-
luke-jr commented at 0:27 am on January 14, 2016: memberThis is not consensus-critical code, so really had no excuse to be subtree’d in the first place.
-
Replace univalue subtree with proper dependency on external UniValue 1d13699162
-
luke-jr force-pushed on Jan 14, 2016
-
luke-jr force-pushed on Jan 14, 2016
-
luke-jr commented at 1:53 am on January 14, 2016: memberAlso, I believe the Travis failure crash is unrelated to this PR, and a bug in UniValue (or Core) that we need to fix independently of this - but I can’t reproduce it… :/
-
depends: Add package for univalue 4752e33afa
-
luke-jr force-pushed on Jan 14, 2016
-
in depends/packages/univalue.mk: in 4752e33afa outdated
0@@ -0,0 +1,21 @@ 1+package=univalue 2+$(package)_version=1.0.1 3+$(package)_download_path=https://codeload.github.com/jgarzik/$(package)/tar.gz
jonasschnelli commented at 8:19 am on January 14, 2016:I think we should use the bitcoin/univalue.git repository to allow multiple people to maintain the repository (the subtree is also pointing to bitcoin/univalue.git).
jonasschnelli commented at 8:23 am on January 14, 2016: contributorHmm.. not sure about that. If I’m right, this would mean, in order to compile bitcoin-core, users need to checkout the univalue git repository and compile univalue by themselves unless there is broad support over package managers (apt-get, etc.)?
IMO we should use subtrees for dependencies that are not available over common package managers (bdb4.8 might be an exception because a) not really necessary [–with-incompatible-bdb] and b) wallet only).
jonasschnelli added the label Build system on Jan 14, 2016laanwj commented at 12:44 pm on January 14, 2016: memberNACK. Univalue is a nice and small library, and it’s useful to have it included.. This makes it much easier for people that want to build.
I’d be OK with the option to use an external univalue, but don’t remove the internal one.
MarcoFalke commented at 5:55 pm on January 14, 2016: membermake -C depends univalue
You’d have to update
doc/build*
Bugfix: depends: Disabled shared libraries for univalue
Static linking libstdc++ (as is done by Travis and gitian) with shared libraries breaks empty std::string with GNU
Bugfix: depends: Build [static] univalue with PIC 6ae79c66ffdepends: Bump univalue to 1.0.2 373ef74b41doc: Add UniValue to build instructions 23e24b093cluke-jr closed this on Jan 15, 2016
MarcoFalke locked this on Sep 8, 2021
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-11-17 21:12 UTC
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 21:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me