Skip to content

Commit b3b19be

Browse files
committed
Merge bitcoin/bitcoin#29203: build: Drop ALLOW_HOST_PACKAGES support in depends
080763a build: Drop `ALLOW_HOST_PACKAGES` support in depends (Hennadii Stepanov) Pull request description: The `ALLOW_HOST_PACKAGES` variable was introduced in bitcoin#10508 "to speed up build and avoid timeout". It is no longer the case for our CI infrastructure, which uses self- hosted persistent workers and depends caching. In the current circumstances, it does not seem worth porting this feature to the upcoming [CMake-based](bitcoin/bitcoin#28607) build system. ACKs for top commit: fanquake: ACK 080763a - I can't imagine this option got any use outside our CI. It's also mostly just at odds with the idea of a self-contained dependency builder. TheCharlatan: ACK 080763a Tree-SHA512: 36f52690be913479c5d12be36760b8de1a6e891fe7c2cf98a7b8d6561006a6b18631e431351d79e97edb9409f9902d032aedf7b963aa7615e54b59fc2a58f7d6
2 parents 9e1306f + 080763a commit b3b19be

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

ci/test/00_setup_env_native_qt5.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export LC_ALL=C.UTF-8
99
export CONTAINER_NAME=ci_native_qt5
1010
export CI_IMAGE_NAME_TAG="docker.io/debian:bullseye"
1111
# Use minimum supported python3.9 and gcc-10, see doc/dependencies.md
12-
export PACKAGES="gcc-10 g++-10 python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
13-
export DEP_OPTS="NO_QT=1 NO_UPNP=1 NO_NATPMP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1 CC=gcc-10 CXX=g++-10"
12+
export PACKAGES="gcc-10 g++-10 python3-zmq"
13+
export DEP_OPTS="NO_UPNP=1 NO_NATPMP=1 DEBUG=1 CC=gcc-10 CXX=g++-10"
1414
export TEST_RUNNER_EXTRA="--previous-releases --coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
1515
export RUN_UNIT_TESTS_SEQUENTIAL="true"
1616
export RUN_UNIT_TESTS="false"

depends/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
242242
-e 's|@CXXFLAGS@|$(strip $(host_CXXFLAGS) $(host_$(release_type)_CXXFLAGS))|' \
243243
-e 's|@CPPFLAGS@|$(strip $(host_CPPFLAGS) $(host_$(release_type)_CPPFLAGS))|' \
244244
-e 's|@LDFLAGS@|$(strip $(host_LDFLAGS) $(host_$(release_type)_LDFLAGS))|' \
245-
-e 's|@allow_host_packages@|$(ALLOW_HOST_PACKAGES)|' \
246245
-e 's|@no_qt@|$(NO_QT)|' \
247246
-e 's|@no_qr@|$(NO_QR)|' \
248247
-e 's|@no_zmq@|$(NO_ZMQ)|' \

depends/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ The following can be set when running make: `make FOO=bar`
110110
- `NO_UPNP`: Don't download/build/cache packages needed for enabling UPnP
111111
- `NO_NATPMP`: Don't download/build/cache packages needed for enabling NAT-PMP
112112
- `NO_USDT`: Don't download/build/cache packages needed for enabling USDT tracepoints
113-
- `ALLOW_HOST_PACKAGES`: Packages that are missed in dependencies (due to `NO_*` option or
114-
build script logic) are searched for among the host system packages using
115-
`pkg-config`. It allows building with packages of other (newer) versions
116113
- `MULTIPROCESS`: Build libmultiprocess (experimental, requires CMake)
117114
- `DEBUG`: Disable some optimizations and enable more runtime checking
118115
- `HOST_ID_SALT`: Optional salt to use when generating host package ids

depends/config.site.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ fi
8989
PKG_CONFIG="$(which pkg-config) --static"
9090

9191
PKG_CONFIG_PATH="${depends_prefix}/share/pkgconfig:${depends_prefix}/lib/pkgconfig"
92-
if test -z "@allow_host_packages@"; then
93-
PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
94-
fi
92+
PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
9593

9694
CPPFLAGS="-I${depends_prefix}/include/ ${CPPFLAGS}"
9795
LDFLAGS="-L${depends_prefix}/lib ${LDFLAGS}"

0 commit comments

Comments
 (0)