The R Project SVN R

Rev

Rev 86405 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86405 Rev 87888
Line 62... Line 62...
62
    aarch64 <- FALSE
62
    aarch64 <- FALSE
63
    if (!havex64) { 
63
    if (!havex64) { 
64
        fout <- system(
64
        fout <- system(
65
                    paste("file", shQuote(file.path(srcdir, "bin", "R.exe"))),
65
                    paste("file", shQuote(file.path(srcdir, "bin", "R.exe"))),
66
                    intern=TRUE)
66
                    intern=TRUE)
67
        if (grepl("Aarch64", fout, fixed = TRUE))
67
        if (grepl("Aarch64", fout, fixed = TRUE)
-
 
68
            || grepl("ARM64", fout, fixed = TRUE))
68
            aarch64 <- TRUE
69
            aarch64 <- TRUE
69
    }
70
    }
70
 
71
 
71
    if (aarch64) {
72
    if (aarch64) {
72
       # To distinguish aarch64 version from x86_64 version installed on
73
       # To distinguish aarch64 version from x86_64 version installed on