Repository navigation
obs-build: remux queue test on Windows/macOS via MSVC import libraries (#1878, slice 3) - #1986
Merged
Merged
Conversation
…1878) package_link_options is a todo!() stub: an MSVC target must link <name>.lib by path, without the GNU -L/-Wl,-rpath/-l flags add_package writes today; GNU and Apple targets keep them.
…n the remux queue test on Windows/macOS (GREEN, #1878) package_link_options gives link.exe <name>.lib paths (system libraries by name) and keeps -L/-Wl,-rpath/-l for GNU and Apple targets. The Qt SDK step installs cmocka (brew; vcpkg cmocka + pkgconf on Windows) and runs canonical_remux_queue_runs_unchanged through Cargo and CMake.
libtest rejected the second --exact (run 40031306534).
zackees
force-pushed
the
infra/1878-cmocka-win-mac
branch
from
October 23, 2026 22:24
77a24de to
bce0130
Compare
zackees
marked this pull request as ready for review
October 23, 2026 23:02
zackees
enabled auto-merge
October 23, 2026 23:02
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1878 once green. Stacked on #1968 (in the merge queue).
platform::package_link_optionsis atodo!()stub.msvc_links_package_import_libraries_without_gnu_flagsandgnu_and_apple_keep_search_and_runtime_pathspanic.<name>.libimport library by path, and system libraries by name. Before this,add_packagepassed-L,-Wl,-rpathand-lto link.exe. GNU and Apple targets keep the existing flags, now in one function.cmocka, pluspkgconffor thepkg-configcrate) and runsnative_build::canonical_remux_queue_runs_unchangedthrough Cargo and CMake, withQT_QPA_PLATFORM_PLUGIN_PATHset.vcpkg-bincache.Tiers: Tier 1 (
platform/shared_library.rs), plus the unchanged C++ remux queue test on both hosts. Tiers 2 to 4 are otherwise not affected.Result (run 40035525192):
native_build::canonical_remux_queue_runs_unchanged ... okandnative_build::native_test_graph_generates_qt_metaobjects ... okon bothwindows-2025-vs2026andmacos-26. The Qt SDK step took 1 min 54 s on Windows (including the uncached vcpkg build of cmocka and pkgconf) and 34 s on macOS.Later commits on this branch:
--exactonce.QT_SDK_PATHSnow includestests/native.rs,src/validation*andplatform/shared_library.rs. Without that, the rebased PR's own run skipped the step.