chore(deps): bump VoidLibrary to 1b194734
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m34s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m40s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m52s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 7m20s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m58s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 37s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 2m7s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m50s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 17s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 22s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Successful in 2m50s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Successful in 2m49s
VoidBuildSystem CI / 5 · Release (push) Failing after 4s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m34s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m40s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m52s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 7m20s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m58s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 37s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 2m7s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m50s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 17s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 22s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Successful in 2m50s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Successful in 2m49s
VoidBuildSystem CI / 5 · Release (push) Failing after 4s
The new pin makes the dependency detection and pthread flags target-aware (Void/Library#67, #68), so cross-building for Windows no longer picks up host Boost/OpenSSL headers or -pthread. Link ws2_32 publicly in the VBS description: private link options of a static library never reach the final link. Verified: Linux suite 8/8; the self-hosted Windows-target install now succeeds in an Arch container (MinGW-w64 GCC 16).
This commit is contained in:
1 parent
9840cf6f3f
commit
6fe31ebf56
4 files changed
+6
-5
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ endif()
|
||||
option(VBS_BUILD_TESTS "Build declaration SDK and native engine test suites" ON)
|
||||
option(VBS_BUILD_BENCHMARKS "Build reproducible VBS benchmark harness" ON)
|
||||
set(VBS_VOID_SOURCE_DIR "" CACHE PATH "Development-only VoidLibrary source override (bypasses pin)")
|
||||
set(VBS_VOID_REVISION "de1fdcda72ddd6ac069fba433b13f643327efa3f")
|
||||
set(VBS_VOID_REVISION "1b1947340f8080dbf457d4218cbbee1743f8438d")
|
||||
if(WIN32)
|
||||
# Target Windows 10 APIs: MinGW headers only declare e.g. DUPLICATE_EXTENTS_DATA
|
||||
# (used by VoidLibrary's reflink copy) at a modern _WIN32_WINNT/NTDDI_VERSION.
|
||||
|
||||
@@ -23,7 +23,7 @@ void build(Void::Build::Project &project) {
|
||||
auto library = project.dependency("VoidLibrary");
|
||||
library
|
||||
.git("https://git.faumaray.com/Void/VoidLibrary.git",
|
||||
Void::Build::Commit{"de1fdcda72ddd6ac069fba433b13f643327efa3f"})
|
||||
Void::Build::Commit{"1b1947340f8080dbf457d4218cbbee1743f8438d"})
|
||||
.native_builder({{"VOID_ENABLED_MODULES",
|
||||
"Configuration;Text;Unicode;Async;Algorithms;Crypto;Archive;Testing;Log"},
|
||||
// Only the Testing library is needed, not VoidLibrary's own test
|
||||
@@ -67,7 +67,8 @@ void build(Void::Build::Project &project) {
|
||||
.link(library.target("Void::Log"), Void::Build::Visibility::Public);
|
||||
if (targets_windows(ctx)) {
|
||||
// Winsock for the registry client and the native Windows HTTP fallbacks.
|
||||
core.link_option("-lws2_32");
|
||||
// Public: link options of a static library do not reach the final link otherwise.
|
||||
core.link_option("-lws2_32", Void::Build::Visibility::Public);
|
||||
}
|
||||
BuildSupport::compiler_warnings(core, ctx);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ foreach(profile IN ITEMS debug release)
|
||||
endif()
|
||||
endforeach()
|
||||
expect_json(git dependencies 0 source kind)
|
||||
expect_json(de1fdcda72ddd6ac069fba433b13f643327efa3f dependencies 0 source revision)
|
||||
expect_json(1b1947340f8080dbf457d4218cbbee1743f8438d dependencies 0 source revision)
|
||||
expect_json(native dependencies 0 builder)
|
||||
string(JSON option_type TYPE "${graph}" dependencies 0 options BUILD_SHARED_LIBS)
|
||||
if(NOT option_type STREQUAL "BOOLEAN")
|
||||
|
||||
@@ -77,6 +77,6 @@ VOID_TEST(ExampleContexts, example_records_sources_links_and_pin) {
|
||||
Void::Testing::expect_eq(project.targets().at(11).name, std::string{"vbs_v1_tests"});
|
||||
Void::Testing::expect_eq(project.targets().at(12).name, std::string{"vbs_selfhost_tests"});
|
||||
Void::Testing::expect_eq(project.dependencies().at(0).revision,
|
||||
std::string{"de1fdcda72ddd6ac069fba433b13f643327efa3f"});
|
||||
std::string{"1b1947340f8080dbf457d4218cbbee1743f8438d"});
|
||||
Void::Testing::expect_eq(project.dependencies().at(0).builder, std::string{"native"});
|
||||
}
|
||||
Reference in new issue
Block a user