Skip to content

Commit

Permalink
Use TileDB 2.21.0-rc1 (reverting previous tweaks)
Browse files Browse the repository at this point in the history
Changes in #666 accomodating the CPack-induced changes have been reverted
  • Loading branch information
eddelbuettel committed Mar 14, 2024
1 parent 546059b commit 51c1997
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
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 \
-lwebp -lmagic -ltre \
-llibmagic -lwebp -lpcre2-posix -lpcre2-8 \
-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: 2 additions & 5 deletions tools/fetchTileDBLib.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ 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 @@ -38,10 +37,8 @@ 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.tar.gz", ver, arch, avx2, shrtver)),
macos = file.path(baseurl,sprintf("%s/tiledb-macos-%s-%s.tar.gz", ver, arch, shrtver)),
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)),
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.21.0-rc0
sha: 5e75f71
version: 2.21.0-rc1
sha: 0ea9c13

0 comments on commit 51c1997

Please sign in to comment.