Build: qualify Alpine/musl target support (refs #38)
This commit is contained in:
1 parent
5d4589056a
commit
9f8c56a7ee
1 file changed
+18
-11
+18
-11
@@ -70,23 +70,30 @@ message(STATUS "Void target: ${VOID_TARGET_MANIFEST_TARGET}")
|
||||
The Linux profile is the reference target: every module is allowed and the
|
||||
per-module platform code selects the native implementation.
|
||||
|
||||
### Linux / musl (unqualified)
|
||||
### Linux / musl (configure/build/install/consume qualified)
|
||||
|
||||
| Item | Value |
|
||||
|------|-------|
|
||||
| Triple | `x86_64-alpine-linux-musl` |
|
||||
| Compiler | Alpine GCC 14.2+ or Clang 19+ |
|
||||
| Standard library | libstdc++ (or libc++) with musl 1.2.5 |
|
||||
| CMake / generator | CMake 4.0+, Ninja |
|
||||
| Dependencies | `boost-dev`, `openssl-dev`, `sqlite-dev`, `lua5.4-dev` from apk |
|
||||
| Modules | all (no allowlist) |
|
||||
| Status | **not qualified**: no musl toolchain in the qualification environment |
|
||||
| Triple | `x86_64-alpine-linux-musl` (Alpine 3.23.8, musl 1.2.5-r24) |
|
||||
| Compiler | Alpine GCC 15.2.0 (Clang accepted by the allowlist) |
|
||||
| Standard library | libstdc++ with musl 1.2.5 |
|
||||
| CMake / generator | CMake 4.1.3, Ninja 1.13.2 |
|
||||
| Dependencies | `boost-dev` 1.84.0, `openssl-dev` 3.5.10, `sqlite-dev` 3.53.4, `lua5.4-dev` 5.4.8, `linux-headers` from apk |
|
||||
| Language | C++26, reflection `no` (GCC 15), `<expected>` `yes` |
|
||||
| Modules | `Async Binary Containers Core Crypto Data Functional FunctionalCoreFormatting IO IPC LogState Math Memory Net ObservabilityHooks Resilience Sqlite System SystemAsync Text Time` |
|
||||
| Observed | RelWithDebInfo with `-DVOID_WARNINGS_AS_ERRORS=ON` and `-DVOID_ENABLE_TESTING=OFF`: configure detected `linux-musl`, build passed, `cmake --install` to a prefix succeeded, and the isolated `TargetProfile` consumer configured, linked, and ran (`VoidTargetProfileConsumer` 1/1) recording `target=linux-musl triple=x86_64-alpine-linux-musl compiler=GNU-15.2.0 linkage=shared reflection=no` |
|
||||
|
||||
The test suite is **not qualified** on musl yet: with
|
||||
`VOID_ENABLE_TESTING=ON`, reflection-dependent tests
|
||||
(`tests/standalone/Core/FlagsReflect.cpp`, `Core/Meta.cpp`) fail to compile
|
||||
when `VOID_HAS_CXX26_REFLECTION` is false. Library
|
||||
configure/build/install/consume is qualified; runtime behaviour still needs
|
||||
test coverage on this profile.
|
||||
|
||||
Detection uses `CMAKE_C_COMPILER -dumpmachine` (or
|
||||
`CMAKE_C_LIBRARY_ARCHITECTURE`/`CMAKE_C_FLAGS`) matching `musl`. The profile is
|
||||
recognized and configured like Linux, but no Alpine build has been observed,
|
||||
so musl-specific behaviour (subprocess `/proc`, `dl`, locale) must not be
|
||||
assumed. Record the exact tuple before claiming support.
|
||||
recognized and configured like Linux; musl-specific behaviour (subprocess
|
||||
`/proc`, `dl`, locale) must still be verified before claiming full support.
|
||||
|
||||
### Windows client (compile/install/consume + Wine runtime qualified)
|
||||
|
||||
|
||||
Reference in new issue
Block a user