Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/iceberg/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ set(ICEBERG_TEST_RESOURCES "${CMAKE_SOURCE_DIR}/src/iceberg/test/resources")

configure_file("test_config.h.in" "test_config.h")

# vcpkg's z-applocal POST_BUILD copies dependency DLLs into this shared test
# directory. Ninja appends that command to the link recipe, so a link pool of
# depth 1 also serializes the copies. Parallel copies fail with a file lock
# (https://github.com/apache/iceberg-cpp/issues/944).
if(WIN32 AND CMAKE_GENERATOR MATCHES "Ninja")
Comment thread
dino-saurabh marked this conversation as resolved.
set_property(GLOBAL APPEND PROPERTY JOB_POOLS test_link_job_pool=1)
set(CMAKE_JOB_POOL_LINK test_link_job_pool)
endif()

function(add_iceberg_test test_name)
set(options USE_BUNDLE USE_DATA)
set(oneValueArgs)
Expand Down
Loading