-
Notifications
You must be signed in to change notification settings - Fork 5
use Linux binaries without avx2 by default #321
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
Conversation
55c90df
to
3beb4c6
Compare
cmake/Modules/FindTileDB_EP.cmake
Outdated
@@ -64,8 +64,8 @@ if (NOT TILEDB_FOUND) | |||
endif() | |||
|
|||
else() # Linux | |||
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.17.4/tiledb-linux-x86_64-2.17.4-a1f648e.tar.gz") | |||
SET(DOWNLOAD_SHA1 "7849cbbf19f5f9252e4be5350328754b01938aaa") | |||
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.17.4/tiledb-linux-x86_64-noavx2-2.17.4-a1f648e.tar.gz") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you'll need to add an alternate URL for the other set of binaries in order for grade to use them, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes exactly. Will push shortly
237273c
to
54469bd
Compare
54469bd
to
0f09402
Compare
CMakeLists.txt
Outdated
@@ -55,6 +55,7 @@ option(TILEDB_GIT_TAG "Git tag to use for building" "") | |||
option(FORCE_BUILD_TILEDB "Force building TileDB and don't check for system installation" OFF) | |||
option(DOWNLOAD_TILEDB_PREBUILT "If tiledb is being super built, this controls downloading prebuilt artifacts or building from source" ON) | |||
option(TILEDB_SKIP_S3AWSSDK_DIR_LENGTH_CHECK "If true, skip check needed path length for awssdk (TILEDB_S3) dependent builds" OFF) | |||
option(USE_AVX2 "If true TileDB-Java will use the Linux binaries with AVX2" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "precompiled" (if we build from source the architecture will match the current CPU)
0f09402
to
0de1529
Compare
This PR will make the Java API to use the Linux noavx2 binaries by default. This resolves #309. Also introduced the
USE_AVX2
gradle property.