Files
Build-System/contrib/voidlibrary-migration
faumaray d1cd937c33
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 9s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 6s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 11s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 58s
feat(migration): describe nine more VoidLibrary modules natively
2026-12-05 08:57:12 +03:00
..

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.

Apply to a VoidLibrary clone

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.