Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable AVX2 on nightly builds. #358

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Disable AVX2 on nightly builds. #358

merged 2 commits into from
Dec 22, 2023

Conversation

teo-tsirpanis
Copy link
Member

@teo-tsirpanis teo-tsirpanis commented Dec 22, 2023

Because building the Core and running the C# tests happens on separate jobs, they might run on a different machine. If the building machine supports AVX2 and the testing machine does not, the latter will fail with an invalid opcode error.

This is my latest theory on why the macOS nightly builds often fail, especially since nightly builds on other TileDB projects also fail on macOS. With this PR we always disable AVX2 when building the Core.

If this PR gets merged and we don't get a related nightly failure for two weeks, I will consider the failures fixed and will close all relevant issues.

@@ -20,7 +20,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- BOOTSTRAP: ../bootstrap --enable-s3 --enable-serialization --force-build-all-deps --enable-vcpkg
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--force-build-all-deps has no effect with vcpkg enabled.

@teo-tsirpanis teo-tsirpanis merged commit 31e7f41 into main Dec 22, 2023
4 checks passed
@teo-tsirpanis teo-tsirpanis deleted the teo-tsirpanis-patch-1 branch December 22, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants