Skip to content

Commit

Permalink
On Windows also link with -lsharpyuv
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Sep 5, 2023
1 parent 82338c4 commit ae0746a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,23 @@ jobs:
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
shell: Rscript {0}
- name: Check
env:
_R_CHECK_CRAN_INCOMING_: false
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--no-vignettes", "--as-cran"), build_args = c("--no-build-vignettes"), error_on = "error", check_dir = "check")
shell: Rscript {0}
- name: Show install log
if: failure()
run: |
installfile <- "check/tiledb.Rcheck/00install.out"
if (file.exists(installfile)) writeLines(readLines(installfile))
shell: Rscript {0}
- name: Show check log
if: failure()
run: |
checkfile <- "check/tiledb.Rcheck/00check.log"
if (file.exists(checkfile)) writeLines(readLines(checkfile))
shell: Rscript {0}
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PKG_LIBS = \
-L$(RWINLIB)/lib$(subst gcc,,$(COMPILED_BY))$(R_ARCH) \
-L$(RWINLIB)/lib$(R_ARCH)$(CRT) \
-ltiledbstatic -lbz2 -lzstd -llz4 -lz -lspdlog \
-lwebp -lwebpdecoder -lwebpdemux -lwebpmux \
-lwebp -lwebpdecoder -lwebpdemux -lwebpmux -lsharpyuv \
-llibmagic -lpcre2-posix -lpcre2-8 \
-laws-cpp-sdk-identity-management -laws-cpp-sdk-cognito-identity -laws-cpp-sdk-sts -laws-cpp-sdk-s3 -laws-cpp-sdk-core -laws-c-event-stream -laws-checksums -laws-c-common \
-lShlwapi -lBcrypt -lRpcrt4 -lWininet -lWinhttp -lws2_32 -lVersion -lUserenv
Expand Down

0 comments on commit ae0746a

Please sign in to comment.