Skip to content

Commit 9c7603e

Browse files
committed
don't check Sys.getenv("MAKE") first (debugging GHA)
1 parent 29d388a commit 9c7603e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

R/utils.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,8 @@ arch_is_aarch64 <- function() {
9292
}
9393

9494
# Returns the type of make command to use to compile depending on the OS
95-
# First checks if $MAKE is set, otherwise falls back to system-specific default
9695
make_cmd <- function() {
97-
if (Sys.getenv("MAKE") != "") {
98-
Sys.getenv("MAKE")
99-
} else if ((cmdstan_version() < "2.35.0") && os_is_windows() && !os_is_wsl() &&
96+
if ((cmdstan_version() < "2.35.0") && os_is_windows() && !os_is_wsl() &&
10097
(Sys.getenv("CMDSTANR_USE_RTOOLS") == "")) {
10198
"mingw32-make.exe"
10299
} else {

0 commit comments

Comments
 (0)