chore(deps): bump VoidLibrary to 1b194734
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
044f2bd62e
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_TESTS "Build declaration SDK and native engine test suites" ON)
|
||||||
option(VBS_BUILD_BENCHMARKS "Build reproducible VBS benchmark harness" 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_SOURCE_DIR "" CACHE PATH "Development-only VoidLibrary source override (bypasses pin)")
|
||||||
set(VBS_VOID_REVISION "de1fdcda72ddd6ac069fba433b13f643327efa3f")
|
set(VBS_VOID_REVISION "1b1947340f8080dbf457d4218cbbee1743f8438d")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# Target Windows 10 APIs: MinGW headers only declare e.g. DUPLICATE_EXTENTS_DATA
|
# 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.
|
# (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");
|
auto library = project.dependency("VoidLibrary");
|
||||||
library
|
library
|
||||||
.git("https://git.faumaray.com/Void/VoidLibrary.git",
|
.git("https://git.faumaray.com/Void/VoidLibrary.git",
|
||||||
Void::Build::Commit{"de1fdcda72ddd6ac069fba433b13f643327efa3f"})
|
Void::Build::Commit{"1b1947340f8080dbf457d4218cbbee1743f8438d"})
|
||||||
.native_builder({{"VOID_ENABLED_MODULES",
|
.native_builder({{"VOID_ENABLED_MODULES",
|
||||||
"Configuration;Text;Unicode;Async;Algorithms;Crypto;Archive;Testing;Log"},
|
"Configuration;Text;Unicode;Async;Algorithms;Crypto;Archive;Testing;Log"},
|
||||||
// Only the Testing library is needed, not VoidLibrary's own test
|
// 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);
|
.link(library.target("Void::Log"), Void::Build::Visibility::Public);
|
||||||
if (targets_windows(ctx)) {
|
if (targets_windows(ctx)) {
|
||||||
// Winsock for the registry client and the native Windows HTTP fallbacks.
|
// 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);
|
BuildSupport::compiler_warnings(core, ctx);
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ foreach(profile IN ITEMS debug release)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
expect_json(git dependencies 0 source kind)
|
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)
|
expect_json(native dependencies 0 builder)
|
||||||
string(JSON option_type TYPE "${graph}" dependencies 0 options BUILD_SHARED_LIBS)
|
string(JSON option_type TYPE "${graph}" dependencies 0 options BUILD_SHARED_LIBS)
|
||||||
if(NOT option_type STREQUAL "BOOLEAN")
|
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(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.targets().at(12).name, std::string{"vbs_selfhost_tests"});
|
||||||
Void::Testing::expect_eq(project.dependencies().at(0).revision,
|
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"});
|
Void::Testing::expect_eq(project.dependencies().at(0).builder, std::string{"native"});
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user