You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This addresses issues like the one in #12467, where some of our compiler flags
end up being dropped during the subconfigure of Univalue. Specifically, we're
still using the compiler-default c++ version rather than forcing c++17.
We can drop the need subconfigure completely in favor of a tighter build
integration, where the sources are listed separately from the build recipes,
so that they may be included directly by upstream projects. This is
similar to the way leveldb build integration works in Core.
Core benefits of this approach include:
- Better caching (for ex. ccache and autoconf)
- No need for a slow subconfigure
- Faster autoconf
- No more missing compile flags
- Compile only the objects needed
There are no benefits to Univalue itself that I can think of. These changes
should be a no-op there, and to downstreams as well until they take advantage
of the new sources.mk.
This also removes the option to use an external univalue to avoid similar ABI
issues with mystery binaries.
Co-authored-by: fanquake <[email protected]>
Copy file name to clipboardExpand all lines: configure.ac
-38Lines changed: 0 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -262,12 +262,6 @@ if test "x$use_asm" = xyes; then
262
262
AC_DEFINE(USE_ASM, 1, [Define this symbol to build in assembly routines])
263
263
fi
264
264
265
-
AC_ARG_WITH([system-univalue],
266
-
[AS_HELP_STRING([--with-system-univalue],
267
-
[Build with system UniValue (default is no)])],
268
-
[system_univalue=$withval],
269
-
[system_univalue=no]
270
-
)
271
265
AC_ARG_ENABLE([zmq],
272
266
[AS_HELP_STRING([--disable-zmq],
273
267
[disable ZMQ notifications])],
@@ -1546,34 +1540,6 @@ if test "x$use_zmq" = xyes; then
1546
1540
esac
1547
1541
fi
1548
1542
1549
-
dnl univalue check
1550
-
1551
-
need_bundled_univalue=yes
1552
-
if test x$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoin_util$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench = xnononononononono; then
0 commit comments