Skip to content

fix(cmake): Serialize test linking on Windows to avoid applocal races - #1064

Open
dino-saurabh wants to merge 2 commits into
apache:mainfrom
dino-saurabh:fix/windows-test-link-race
Open

dino-saurabh wants to merge 2 commits into
apache:mainfrom
dino-saurabh:fix/windows-test-link-race

Conversation

@dino-saurabh

Copy link
Copy Markdown

vcpkg's post-link z-applocal steps copy DLLs into the shared test directory and collide when Ninja links tests in parallel. Link tests one at a time on Windows (https://cmake.org/cmake/help/latest/variable/WIN32.html).

Closes #944

vcpkg's post-link z-applocal steps copy DLLs into the shared test directory
and collide when Ninja links tests in parallel. Link tests one at a time on
Windows (https://cmake.org/cmake/help/latest/variable/WIN32.html).

Closes apache#944
@dino-saurabh dino-saurabh changed the title fix(cmake): serialize test linking on Windows to avoid applocal races fix(cmake): Serialize test linking on Windows to avoid applocal races Oct 26, 2026
@dino-saurabh
dino-saurabh marked this pull request as ready for review October 26, 2026 17:37
Comment thread src/iceberg/test/CMakeLists.txt
Adding suggested comments.

Co-authored-by: Junwang Zhao <zhjwpku@gmail.com>
@zhjwpku zhjwpku added the ready to merge This PR has been approved and it is ready to merge. label Oct 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge This PR has been approved and it is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows CI: parallel vcpkg z-applocal steps fail with file lock

2 participants