feat(cache): add shared HTTP action cache and parallel snapshot hashing
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
- D1: RemoteCasClient + registry /api/v1/cas endpoints with bearer auth and digest verification, StateStore remote action/blob APIs, build-path-independent action keys, --remote-cache CLI - D2: parallel snapshot revalidation hashing via Void::Concurrency::ThreadPool - Verified in Docker GCC 16: 8/8 CTest suites, cross-build-dir 100% cache hit, 5001-file warm no-op 374 ms - Fix self-host recipe source list for RemoteCache.cpp and accept GCC 16 -lgcc_s_asneeded
This commit is contained in:
1 parent
6c225c2dff
commit
09c0a91d1d
19 files changed
+1213
-18
No files matched your search
@@ -123,8 +123,11 @@ std::vector<std::string> split_shell_tokens(std::string_view text) {
|
||||
}
|
||||
|
||||
bool is_safe_system_link_flag(std::string_view tok) {
|
||||
// GCC 16 ships an as-needed linker script for libgcc_s, which CMake exposes as
|
||||
// `-lgcc_s_asneeded` in codemodel link fragments; it is a real system library.
|
||||
return tok == "-pthread" || tok == "-lpthread" || tok == "-ldl" || tok == "-lm" ||
|
||||
tok == "-lrt" || tok.starts_with("-Wl,");
|
||||
tok == "-lrt" || tok == "-lgcc" || tok == "-lgcc_s" || tok == "-lgcc_s_asneeded" ||
|
||||
tok.starts_with("-Wl,");
|
||||
}
|
||||
|
||||
std::string trim_copy(std::string_view sv) {
|
||||
|
||||
Reference in new issue
Block a user