Fix S3 build on Windows; enable S3 build w/out test #1474
Merged
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.
This PR fixes the S3 build on Windows, which was broken due to header reordering in #1463, which created a conflict with a
Windows.h
definition ofGetMessage
->GetMessageA
(x-ref solution in aws/aws-sdk-cpp#402).The breakage was not noticed on CI because we do not currently run a build with S3 enabled on Windows, due to the S3 tests timing out when running against minio on Windows. I've verified that minio is running on CI, with a python script that queries the minio
live
andready
pages (ensures status 200). CI logs also indicate that a number of tests requiring S3 do pass (tests which would fail without minio running).Locally, the tests finish successfully in a few minutes on my Windows laptop. I'm still unclear on the reason for the slowdown on azure.
For now, to catch future S3-related build issues, this PR enables
TILEDB_S3
for the windows builds, but disables the S3 compiler definition before building the tests, which causes the tests to run in the local configuration.