Skip to content

fix(build): restore build-shim invocation in build-runtime and normal…#320

Merged
DorianZheng merged 1 commit intomainfrom
fix/build-shim-runtime-path
Mar 1, 2026
Merged

fix(build): restore build-shim invocation in build-runtime and normal…#320
DorianZheng merged 1 commit intomainfrom
fix/build-shim-runtime-path

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

…ize output path

The glibc switch commit (7c55942) accidentally removed the build-shim.sh invocation from build-runtime.sh, causing make cli to fail because the shim binary was never built.

Changes:

  • build-runtime.sh: restore build-shim.sh call and SKIP_SHIM_BUILD CI support; simplify shim path to target/$PROFILE/boxlite-shim
  • build-shim.sh: remove compute_shim_target function; after cargo builds with --target (required to isolate RUSTFLAGS from proc-macro dylib compilation), copy binary to target/$PROFILE/ so all platforms use the same canonical path

…ize output path

The glibc switch commit (7c55942) accidentally removed the
build-shim.sh invocation from build-runtime.sh, causing `make cli`
to fail because the shim binary was never built.

Changes:
- build-runtime.sh: restore build-shim.sh call and SKIP_SHIM_BUILD
  CI support; simplify shim path to target/$PROFILE/boxlite-shim
- build-shim.sh: remove compute_shim_target function; after cargo
  builds with --target (required to isolate RUSTFLAGS from proc-macro
  dylib compilation), copy binary to target/$PROFILE/ so all platforms
  use the same canonical path
@DorianZheng DorianZheng merged commit b970d78 into main Mar 1, 2026
@DorianZheng DorianZheng deleted the fix/build-shim-runtime-path branch March 1, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant