Skip to content

Commit 4370a79

Browse files
committed
Remove unnecessary flag for WINARM64
1 parent 49be421 commit 4370a79

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

R/tbb.R

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ tbbCxxFlags <- function() {
5858
return("-DRCPP_PARALLEL_USE_TBB=0")
5959

6060
flags <- c("-DRCPP_PARALLEL_USE_TBB=1")
61-
62-
# TBB does not have assembly code for Windows ARM64
63-
# so we need to use compiler builtins
64-
if (TBB_ENABLED && is_windows()) {
65-
if (R.version$arch == "aarch64") {
66-
flags <- c(flags, "-DTBB_USE_GCC_BUILTINS")
67-
}
68-
}
6961

7062
# if TBB_INC is set, apply those library paths
7163
tbbInc <- Sys.getenv("TBB_INC", unset = TBB_INC)

inst/include/RcppParallel.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
#endif
1919

2020
#if RCPP_PARALLEL_USE_TBB
21-
# if defined(WINNT) && defined(__aarch64__) && !defined(TBB_USE_GCC_BUILTINS)
22-
# define TBB_USE_GCC_BUILTINS 1
23-
# endif
2421
# include "RcppParallel/TBB.h"
2522
#endif
2623

0 commit comments

Comments
 (0)