Skip to content

build: isolate Windows NVENC twin import and export artifacts - #1627

Merged
zackees merged 2 commits into
masterfrom
fix/nvenc-twin-output
Oct 21, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/nvenc-twin-output

Conversation

@zackees

@zackees zackees commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Fixes #1626.

Change

Set the NVENC Rust twin's archive output directory to its existing dedicated module directory. Windows import libraries and .exp export objects then stop colliding with the installed production twin. Both DLL/module paths and filenames remain unchanged; production install/package behavior is unchanged.

RED → GREEN

  • RED 5ebbecd21: actual target properties produce identical import-library paths for both variants with Windows Ninja and Ninja Multi-Config. Linux/macOS module destinations already pass.
  • GREEN b64869e04: the focused CMake fixtures pass for Windows single-config and Debug/Release/RelWithDebInfo multi-config, plus Linux/macOS. They inspect generated linker artifact paths and verify unchanged production and twin DLL/module destinations and matching parity filenames.
  • Native failure evidence: VST full-run job 119340768888 logs two writers to the same obs-nvenc.lib/obs-nvenc.exp and LNK1104. This is an output-path defect, not a blind retry of that failure.

The test generates Windows link rules with the local GNU compiler without linking; native Windows MSVC validation remains required. Native Windows x64 app job 119347202421 passed. Its linker log confirms separate .lib/.exp prefixes under build_x64/obs-nvenc-with-rust/RelWithDebInfo/ and unchanged build_x64/plugins/obs-nvenc/RelWithDebInfo/, with both DLL paths unchanged. The local focused suite passes all 42 checks. PR CI 39636038589 passed. Windows ARM64 app also passed. The extra full run finished with a canceled macOS ARM64 app job 119347201562 (all other non-skipped jobs succeeded), so no full-run success is claimed. The Windows-only artifact defect has direct native x64/ARM64 validation; normal merge-result checks are active. No C test/public header/production source changes. #854 is released while this prerequisite is handled sequentially.

@zackees

zackees commented Oct 21, 2026

Copy link
Copy Markdown
Member Author

Coordination with #1588: its hybrid-default change renames the opt-in twin to obs-nvenc-c-reference, which retains the same missing ARCHIVE_OUTPUT_DIRECTORY defect. I am adding the equivalent one-line reference-output fix plus a focused regression in #1588 before landing it. Your existing-master Rust-twin fix remains useful independently; the test will need to recognize the reference target after #1588 lands.

@zackees
zackees marked this pull request as ready for review October 21, 2026 16:48
@zackees
zackees added this pull request to the merge queue Oct 21, 2026
Merged via the queue into master with commit e5a0f4f Oct 21, 2026
51 of 52 checks passed
@zackees
zackees deleted the fix/nvenc-twin-output branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

build: Windows NVENC twins collide on import-library and export-object outputs

1 participant