fix: build-one image bincraft v4.4.0 + ship patch registry #104
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/build-one-patch-registry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the targeted rebuild path (
just rebuild→docker/build-one.Dockerfile) so it actually applies patches.Two problems, both of which would make
build-one.R'spatches = "local/patches"a silent no-op or a hard error:v4.2.1, which predates thepatchesargument — sobuild_binary_package(patches = ...)would fail withunused argument. Bumped to v4.4.0 to match the.crowworkflows.build-one.Rwas copied in;local/patches/registry.jsonwas absent, sopatches = "local/patches"resolved to a nonexistent/work/local/patchesand silently applied nothing. AddedCOPY patches /work/local/patches(build context islocal/, CWD is/work).Why
This is the path used to verify the patching end-to-end, e.g.:
rts2 depends on RcppParallel; with this fix the container installs bincraft v4.4.0, ships the registry, and the patched RcppParallel binary (
RCPP_PARALLEL_USE_TBB=0) is served to pak during dependency install. ExpectApplying patch to RcppParallel …in the log, RcppParallel installed as a binary (no recompile), then rts2 building and uploading.