Skip to content

Commit

Permalink
Windows: update libpq fallback library (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen authored Feb 19, 2025
1 parent 4b2e3c1 commit 5dcf86b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/winlibs.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
if(!file.exists("../windows/libpq/include/libpq-fe.h")){
unlink("../windows", recursive = TRUE)
url <- if(grepl("aarch", R.version$platform)){
"https://github.com/r-windows/bundles/releases/download/libpq-15.3/libpq-15.3-clang-aarch64.tar.xz"
"https://github.com/r-windows/bundles/releases/download/libpq-15.11/libpq-15.11-clang-aarch64.tar.xz"
} else if(grepl("clang", Sys.getenv('R_COMPILED_BY'))){
"https://github.com/r-windows/bundles/releases/download/libpq-15.3/libpq-15.3-clang-x86_64.tar.xz"
"https://github.com/r-windows/bundles/releases/download/libpq-15.11/libpq-15.11-clang-x86_64.tar.xz"
} else if(getRversion() >= "4.2") {
"https://github.com/r-windows/bundles/releases/download/libpq-15.3/libpq-15.3-ucrt-x86_64.tar.xz"
"https://github.com/r-windows/bundles/releases/download/libpq-15.11/libpq-15.11-ucrt-x86_64.tar.xz"
} else {
"https://github.com/rwinlib/libpq/archive/v13.2.0.tar.gz"
}
Expand Down

0 comments on commit 5dcf86b

Please sign in to comment.