We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da9610 commit 229c08bCopy full SHA for 229c08b
tools/config/configure.R
@@ -24,7 +24,7 @@ if (file.exists(makevars)) {
24
25
# Figure out the appropriate CXX prefix for the current
26
# version of R + configuration.
27
-cxx <- NULL
+cxx <- "/usr/bin/c++"
28
candidates <- c("CXX11", "CXX1X", "CXX")
29
for (candidate in candidates) {
30
value <- r_cmd_config(candidate)
@@ -34,6 +34,11 @@ for (candidate in candidates) {
34
}
35
36
37
+# Check for the intel compiler
38
+if (any(grepl("icpc", cxx, fixed = TRUE))) {
39
+ define(COMPILER = "icpc")
40
+}
41
+
42
# work around issue with '-Werror=format-security' being specified without
43
# a prior '-Wformat', which makes gcc angry
44
cxxflags <- read_r_config(sprintf("%sFLAGS", cxx), envir = NULL)[[1]]
0 commit comments