docs(migration): record the verified VoidLibrary VBS migration trial
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-05 07:00:23 +03:00
1 parent 6cf8c53a02
commit ce47c23cda
9 files changed
+226 -1

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# VoidLibrary → VBS migration assets
Verified against VoidLibrary `0002e74` in a separate clone (never the shared checkout).
VoidLibrary does not yet have a first-class build description; this is the trial that proves
VBS can build and test it natively. Tracked upstream as
[Void/Library#61](https://git.faumaray.com/Void/Library/issues/61).
## Apply to a VoidLibrary clone
```sh
cp -r contrib/voidlibrary-migration/. /path/to/VoidLibrary-clone/
cd /path/to/VoidLibrary-clone
vbs build --project . --build-dir build-vbs --profile debug --target void_smoke
vbs test --project . --build-dir build-vbs --target void_smoke
```
`build-support/vl/VoidLibraryModules.{hpp,cpp}` is the native module closure (the same logic as
`recipes/VoidLibrary/VoidLibraryRecipe.cpp`), `build.cpp` declares the enabled module set, and
`tests/vl/smoke.cpp` is a runtime smoke test linked against the built modules.
Keep the smoke test outside `build-support/`: the configuration frontend treats every
`build-support/**/*.cpp` as part of the build description itself.
## Known limits
- Only modules described by the native module table can be enabled; Net (Boost/OpenSSL),
Sqlite (SQLite3), Stacktrace (Boost + dl) and many others are missing.
- Use absolute `--project`/`--build-dir` paths when invoking `vbs` from outside the project root.