Skip to content

Commit

Permalink
update to TileDB-2.19.0 and generate new bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisStaratzis committed Jan 10, 2024
1 parent d9d48f5 commit 0922f30
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 14 deletions.
20 changes: 10 additions & 10 deletions cmake/Modules/FindTileDB_EP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,29 @@ if (NOT TILEDB_FOUND)
# Try to download prebuilt artifacts unless the user specifies to build from source
if(DOWNLOAD_TILEDB_PREBUILT)
if (WIN32) # Windows
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0-rc1/tiledb-windows-x86_64-2.19.0-rc1-fa30a88a.zip")
SET(DOWNLOAD_SHA1 "3e97565b48d60e7db4ed5c28c41ecfd4b6a009e2")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0/tiledb-windows-x86_64-2.19.0-fa30a88a.zip")
SET(DOWNLOAD_SHA1 "ab8b61a35f0776e851c4eedcb1340df4d8cfb4b3")
elseif(APPLE) # macOS

if (CMAKE_OSX_ARCHITECTURES STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)|(AMD64|amd64)|(^i.86$)")
message(STATUS "Building for intel mac")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0-rc1/tiledb-macos-x86_64-2.19.0-rc1-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "f4222129912a6ac4f531293d74d39e8ce14c9d3d")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0/tiledb-macos-x86_64-2.19.0-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "089b3aa8a92df0bd5a8f7515ed8e5b6bacb5ab47")

elseif (CMAKE_OSX_ARCHITECTURES STREQUAL arm64 OR CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
message(STATUS "Building for apple silicon mac")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0-rc1/tiledb-macos-arm64-2.19.0-rc1-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "aadebffd21fbd9644be9f09eeb4c77729348f30b")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0/tiledb-macos-arm64-2.19.0-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "83acdc7529d50dcf293dbd6bbc81263856c7c74c")
endif()
else() # Linux
if (USE_AVX2)
message(STATUS "Using Linux binaries with AVX2")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0-rc1/tiledb-linux-x86_64-2.19.0-rc1-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "070606027fe31530a0c6d42cd562f2eeaac70508")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0/tiledb-linux-x86_64-2.19.0-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "d236688dbeff2536a8938cf8bf0d478b9f6108f6")
else()
message(STATUS "Using Linux binaries without AVX2")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0-rc1/tiledb-linux-x86_64-noavx2-2.19.0-rc1-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "9a406cbb0138fb0409226087ef5daf5f99c26d06")
SET(DOWNLOAD_URL "https://github.com/TileDB-Inc/TileDB/releases/download/2.19.0/tiledb-linux-x86_64-noavx2-2.19.0-fa30a88a.tar.gz")
SET(DOWNLOAD_SHA1 "b2f8dcbf4ef15d07d9c91904bde147f4beb0907e")
endif()
endif()

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
TILEDB_GIT_REPOSITORY=https://github.com/TileDB-Inc/TileDB
TILEDB_GIT_TAG=2.19.0-rc1
TILEDB_GIT_TAG=2.19.0
TILEDB_VERBOSE=ON
TILEDB_S3=ON
TILEDB_AZURE=OFF
TILEDB_HDFS=OFF
TILEDB_SERIALIZATION=OFF
FORCE_BUILD_TILEDB=ON
FORCE_BUILD_TILEDB=OFF
DOWNLOAD_TILEDB_PREBUILT=ON
TILEDB_SKIP_S3AWSSDK_DIR_LENGTH_CHECK=ON
USE_AVX2=OFF
76 changes: 76 additions & 0 deletions src/main/c/generated/tiledb_wrap.cxx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions src/main/java/io/tiledb/libtiledb/tiledb.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/main/java/io/tiledb/libtiledb/tiledbConstants.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/main/java/io/tiledb/libtiledb/tiledbJNI.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0922f30

Please sign in to comment.