feat(deps): resolve pkg-config modules
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 4s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / fuzz-clang (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 49s

This commit is contained in:
faumaray committed 2026-12-05 13:55:02 +03:00
1 parent f8e0036b37
commit ce041ace07
13 files changed
+663 -12

No files matched your search

+9 -11
View File
@@ -49,7 +49,7 @@ Concrete work this implies:
| Capability | CMake | Meson | build2 *(unverified)* | VBS now | Planned work |
| --- | --- | --- | --- | --- | --- |
| Platforms | Windows, macOS, Linux, BSD, cross | same | same | Linux | Wine-first Windows (§2); macOS deferred |
| Languages | C, C++, CUDA, Fortran, ObjC, ASM, HIP… | C, C++, Rust, D, Fortran, Java… | C/C++ focused | C, C++ | ASM/CUDA/ObjC or a documented extension API |
| Languages | C, C++, CUDA, Fortran, ObjC, ASM, HIP… | C, C++, Rust, D, Fortran, Java… | C/C++ focused | C, C++ | ASM and shader languages (GLSL/HLSL/Slang) |
| Toolchains | MSVC, clang-cl, GCC, Clang, Apple, many | GCC, Clang, MSVC, many | GCC, Clang, MSVC | GCC, Clang (Linux) | MinGW target; MSVC deferred |
| Package/registry | External (vcpkg, Conan, FetchContent) | wrapdb, subprojects | cppget.org / brep | **Built-in registry + solver + lock + binary variants + signatures + SBOM** | federation, mirrors, key distribution |
| Install/package | `install()`, `install(EXPORT)`, CPack (TGZ/ZIP/DEB/RPM/WIX/DMG/NuGet/APK…) | `install_data`, `install_headers`, dist scripts | install module | prefix staging, components, relocatable CMake + native exports, tar, self-extracting `sh`, **stored ZIP**, **DEB (dpkg-validated)**, SBOM, **Ed25519-signed archives with checksums** | **RPM (rpm 6.1-validated)**, **WiX source for MSI** (candle/light on Windows), **UDIF/DMG container** (koly trailer, CRC-32; HFS+ payload is macOS-only) |
@@ -84,6 +84,7 @@ Concrete work this implies:
7. Benchmarks against CMake/Meson/build2 on documented fixtures (including 10k-target scaling).
8. CI on real runners, sanitizer jobs (**sanitizer build run done**), parser fuzzing (**deterministic mutation harness and a Clang/libFuzzer target done**).
9. Remote execution workers (**registry worker/lease/result protocol, queue, remote action execution and parallel workers done**; cross-machine orchestration remains).
10. pkg-config discovery (the top adoption blocker, §8.1) and ASM/shader language support.
## 6. Observed baseline (2026-12-05, x86_64, GCC 16.2, Debug, `benchmarks/compare.sh 20`)
@@ -109,21 +110,18 @@ first, then what makes VBS *better* rather than merely equal.
### 8.1 Adoption blockers
1. **pkg-config discovery.** CMake (`FindPkgConfig`/`find_package`) and Meson
1. **pkg-config discovery - done (Wave 140).** `Dependency::pkgconfig(spec)` resolves `.pc` modules into imported targets. Originally: CMake (`FindPkgConfig`/`find_package`) and Meson
(`dependency()`, auto method order `pkg-config` → `cmake` → framework) both find
system-installed libraries. VBS has registry/git/path/CMake/Meson/Conan providers but no
pkg-config lookup, so most existing Linux projects cannot be built as-is. Add
`.pkgconfig("libfoo >= 1.2")` plus a `.pc` search path in profiles, resolved into an
imported target.
2. **Language breadth.** CMake supports C, C++, CUDA, Fortran, ObjC, ASM, HIP; Meson C, C++,
Rust, D, Fortran, Java. VBS is C/C++ only. Assembly is the cheapest high-value addition
(`.s`, `.S` with the C preprocessor), then CUDA.
3. **Platform breadth.** Native MSVC and Apple Clang/macOS remain deferred by decision; MinGW
cross + Wine is the current Windows story. This stays the biggest "can I use it at work?"
blocker outside Linux.
4. **Credibility evidence.** CI workflows have never run on a real runner, and there is no
10k-target scaling benchmark yet (CMake/Meson handle very large projects daily).
5. **Package-generator parity.** CPack also ships NuGet, PKG/productbuild, APK and IFW
2. **Language breadth: ASM and shader languages.** VBS is C/C++ only. Add assembly (`.s`,
`.S` with the C preprocessor) and the shader languages used by Void projects (GLSL, HLSL,
Slang) through pluggable shader-compiler toolchains with capability probes.
3. **Platform breadth - deferred.** Native MSVC and Apple Clang/macOS stay deferred by
decision; MinGW cross + Wine is the current Windows story.
4. **Package-generator parity.** CPack also ships NuGet, PKG/productbuild, APK and IFW
installers; VBS has tar, `sh`, ZIP, DEB, RPM, WiX and UDIF. NuGet and PKG are the next
useful ones.