Skip to content

Commit

Permalink
Use TiledDB 2.21.0-rc0 (with tweaks to build setup) (#666)
Browse files Browse the repository at this point in the history
* Use TiledDB 2.21.0-rc0 (with tweaks to build setup)

* Update NEWS, roll micro release version [ci skip]
  • Loading branch information
eddelbuettel authored Mar 13, 2024
1 parent f36409e commit 3266ad4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tiledb
Type: Package
Version: 0.24.0.4
Version: 0.24.0.5
Title: Modern Database Engine for Multi-Modal Data via Sparse and Dense Multidimensional Arrays
Authors@R: c(person("TileDB, Inc.", role = c("aut", "cph")),
person("Dirk", "Eddelbuettel", email = "dirk@tiledb.com", role = "cre"))
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Ongoing Development

* This release of the R package builds against [TileDB 2.20.1](https://github.com/TileDB-Inc/TileDB/releases/tag/2.20.1), and has also been tested against earlier releases as well as the development version (#661)
* This release of the R package builds against both [TileDB 2.20.1](https://github.com/TileDB-Inc/TileDB/releases/tag/2.20.1)
and [TileDB 2.21.0-rc0](https://github.com/TileDB-Inc/TileDB/releases/tag/2.21.0-rc0),
and has also been tested against earlier releases as well as the development version (#661, #666)

## Improvements

Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PKG_LIBS = \
-L$(RWINLIB)/lib$(R_ARCH)$(CRT) \
-ltiledbstatic -lbz2 -lzstd -llz4 -lz -lspdlog -lfmt \
-laws-cpp-sdk-identity-management -laws-cpp-sdk-cognito-identity -laws-cpp-sdk-sts -laws-cpp-sdk-s3 -laws-cpp-sdk-core \
-llibmagic -lwebp -lpcre2-posix -lpcre2-8 \
-lwebp -lmagic -ltre \
-laws-crt-cpp -laws-c-mqtt -laws-c-event-stream -laws-c-s3 -laws-c-auth -laws-c-http -laws-c-io \
-lSecur32 -lCrypt32 \
-laws-c-compression -laws-c-cal \
Expand Down
7 changes: 5 additions & 2 deletions tools/fetchTileDBLib.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if (!file.exists(dcffile)) {
}
dcf <- read.dcf(dcffile)
ver <- dcf[[1, "version"]]
shrtver <- gsub("-rc0$", "", ver)
sha <- dcf[[1, "sha"]]

## on linux, we need to consider AVX2 vs non-AVX2 capabilities on the build machine
Expand All @@ -37,8 +38,10 @@ avx2 <- if (osarg == "linux" && any(grepl("avx2", readLines("/proc/cpuinfo"))))
baseurl <- "https://github.com/TileDB-Inc/TileDB/releases/download"
## now switch based on macOS or Linux, using version, architecture, avx2 if needed, version and sha
dlurl <- switch(osarg,
linux = file.path(baseurl,sprintf("%s/tiledb-linux-%s%s-%s-%s.tar.gz", ver, arch, avx2, ver, sha)),
macos = file.path(baseurl,sprintf("%s/tiledb-macos-%s-%s-%s.tar.gz", ver, arch, ver, sha)),
#linux = file.path(baseurl,sprintf("%s/tiledb-linux-%s%s-%s-%s.tar.gz", ver, arch, avx2, ver, sha)),
#macos = file.path(baseurl,sprintf("%s/tiledb-macos-%s-%s-%s.tar.gz", ver, arch, ver, sha)),
linux = file.path(baseurl,sprintf("%s/tiledb-linux-%s%s-%s.tar.gz", ver, arch, avx2, shrtver)),
macos = file.path(baseurl,sprintf("%s/tiledb-macos-%s-%s.tar.gz", ver, arch, shrtver)),
url = urlarg)
cat("downloading", dlurl, "\n")
op <- options()
Expand Down
4 changes: 2 additions & 2 deletions tools/tiledbVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version: 2.20.1
sha: 249c024
version: 2.21.0-rc0
sha: 5e75f71

0 comments on commit 3266ad4

Please sign in to comment.