File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff 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
5656endif
5757R_TOOLS_SOFT ?= $(LOCAL_SOFT )
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ R_BZIPCMD=${R_BZIPCMD-'bzip2'}
3636SED=${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
Original file line number Diff line number Diff line change @@ -63,25 +63,25 @@ local({
6363
6464local({
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})
You can’t perform that action at this time.
0 commit comments