Skip to content

Commit 46c093a

Browse files
author
kalibera
committed
Use Rtools45 instead of Rtools44 in installer build on Windows.
git-svn-id: https://svn.r-project.org/R/trunk@87995 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 3bffaf6 commit 46c093a

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

src/gnuwin32/fixed/etc/Makeconf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ ifeq ($(R_INSTALLER_BUILD), yes)
4545
ifneq ($(strip $(R_CUSTOM_TOOLS_SOFT)),)
4646
LOCAL_SOFT = $(R_CUSTOM_TOOLS_SOFT)
4747
else
48-
## The rtools44 installer sets RTOOLS44_HOME (or RTOOLS44_AARCH64_HOME)
48+
## The rtools45 installer sets RTOOLS45_HOME (or RTOOLS45_AARCH64_HOME)
4949

50-
# INSTALLER-BUILD-x86_64: RTOOLS44_HOME ?= c:/rtools44
51-
# INSTALLER-BUILD-x86_64: LOCAL_SOFT = $(subst \,/,$(RTOOLS44_HOME))/x86_64-w64-mingw32.static.posix
50+
# INSTALLER-BUILD-x86_64: RTOOLS45_HOME ?= c:/rtools45
51+
# INSTALLER-BUILD-x86_64: LOCAL_SOFT = $(subst \,/,$(RTOOLS45_HOME))/x86_64-w64-mingw32.static.posix
5252

53-
# INSTALLER-BUILD-aarch64: RTOOLS44_HOME ?= c:/rtools44-aarch64
54-
# INSTALLER-BUILD-aarch64: LOCAL_SOFT = $(subst \,/,$(RTOOLS44_AARCH64_HOME))/aarch64-w64-mingw32.static.posix
53+
# INSTALLER-BUILD-aarch64: RTOOLS45_HOME ?= c:/rtools45-aarch64
54+
# INSTALLER-BUILD-aarch64: LOCAL_SOFT = $(subst \,/,$(RTOOLS45_AARCH64_HOME))/aarch64-w64-mingw32.static.posix
5555
endif
5656
endif
5757
R_TOOLS_SOFT ?= $(LOCAL_SOFT)

src/gnuwin32/fixed/etc/Rcmd_environ

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ R_BZIPCMD=${R_BZIPCMD-'bzip2'}
3636
SED=${SED-sed}
3737

3838
## keep in step with Rprofile.windows
39-
# INSTALLER-BUILD-x86_64:R_RTOOLS44_PATH="${RTOOLS44_HOME:-c:/rtools44}/x86_64-w64-mingw32.static.posix/bin;${RTOOLS44_HOME:-c:/rtools44}/usr/bin"
40-
# INSTALLER-BUILD-aarch64:R_RTOOLS44_PATH="${RTOOLS44_AARCH64_HOME:-c:/rtools44-aarch64}/aarch64-w64-mingw32.static.posix/bin;${RTOOLS44_AARCH64_HOME:-c:/rtools44-aarch64}/usr/bin"
39+
# INSTALLER-BUILD-x86_64:R_RTOOLS45_PATH="${RTOOLS45_HOME:-c:/rtools45}/x86_64-w64-mingw32.static.posix/bin;${RTOOLS45_HOME:-c:/rtools45}/usr/bin"
40+
# INSTALLER-BUILD-aarch64:R_RTOOLS45_PATH="${RTOOLS45_AARCH64_HOME:-c:/rtools45-aarch64}/aarch64-w64-mingw32.static.posix/bin;${RTOOLS45_AARCH64_HOME:-c:/rtools45-aarch64}/usr/bin"
4141
# trailing slash to protect against trailing backslash in PATH
42-
# INSTALLER-BUILD:PATH="${R_CUSTOM_TOOLS_PATH:-${R_RTOOLS44_PATH}};${PATH}/"
42+
# INSTALLER-BUILD:PATH="${R_CUSTOM_TOOLS_PATH:-${R_RTOOLS45_PATH}};${PATH}/"
4343

src/library/profile/Rprofile.windows

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,25 @@ local({
6363

6464
local({
6565
# keep in step with Rcmd_environ
66-
setRtools44Path <- 0
67-
# INSTALLER-BUILD: setRtools44Path <- 1
66+
setRtools45Path <- 0
67+
# INSTALLER-BUILD: setRtools45Path <- 1
6868

69-
if (setRtools44Path) {
69+
if (setRtools45Path) {
7070
aarch64 <- FALSE
7171
# INSTALLER-BUILD-aarch64: aarch64 <- TRUE
7272

7373
if (aarch64) {
74-
rthome <- Sys.getenv("RTOOLS44_AARCH64_HOME",
75-
"c:/rtools44-aarch64")
74+
rthome <- Sys.getenv("RTOOLS45_AARCH64_HOME",
75+
"c:/rtools45-aarch64")
7676
rtpath <- paste0(rthome, "/aarch64-w64-mingw32.static.posix/bin;",
7777
rthome, "/usr/bin")
7878
} else {
79-
rthome <- Sys.getenv("RTOOLS44_HOME", "c:/rtools44")
79+
rthome <- Sys.getenv("RTOOLS45_HOME", "c:/rtools45")
8080
rtpath <- paste0(rthome, "/x86_64-w64-mingw32.static.posix/bin;",
8181
rthome, "/usr/bin")
8282
}
8383
path <- Sys.getenv("R_CUSTOM_TOOLS_PATH", rtpath)
84-
Sys.setenv(R_RTOOLS44_PATH = rtpath)
84+
Sys.setenv(R_RTOOLS45_PATH = rtpath)
8585
Sys.setenv(PATH = paste0(path, ";", Sys.getenv("PATH")))
8686
}
8787
})

0 commit comments

Comments
 (0)