Skip to content

Commit 9f81d0a

Browse files
committed
Merge branch 'master' of github.com:RcppCore/RcppParallel
2 parents cf1b3bf + 7ca676a commit 9f81d0a

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: RcppParallel
22
Type: Package
33
Title: Parallel Programming Tools for Rcpp
4-
Version: 4.3.8
4+
Version: 4.3.9
55
Date: 2015-04-13
66
Authors@R: c(
77
person("JJ", "Allaire", role = c("aut", "cre"), email = "jj@rstudio.com"),

NEWS

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
RcppParallel 4.3.7
1+
RcppParallel 4.3.9
22
------------------------------------------------------------------------
33

4-
* Add tbbmalloc library
54
* Add support for TBB on Solaris
5+
6+
RcppParallel 4.3.8
7+
------------------------------------------------------------------------
8+
9+
* Add tbbmalloc library
610
* Fix failure to compile on OS X Snow Leopard R toolchain
711
* Correctly pass clang to TBB configure when R is using clang
812

src/Makevars

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ ifeq ($(USE_TBB), Windows)
4747

4848
endif
4949

50+
# For Solaris detect if this is 32-bit R on x86 and if so forward that to TBB
5051
ifeq ($(USE_TBB), SunOS)
51-
R_32BIT = $(shell ${R_HOME}/bin/Rscript -e 'cat(.Machine$$sizeof.pointer == 4)')
52-
ifeq ($(R_32BIT), TRUE)
53-
MAKE_ARGS += arch=ia32
52+
SUNOS_ARCH = $(shell uname -p)
53+
ifneq ($(SUNOS_ARCH), sparc)
54+
R_32BIT = $(shell ${R_HOME}/bin/Rscript -e 'cat(.Machine$$sizeof.pointer == 4)')
55+
ifeq ($(R_32BIT), TRUE)
56+
MAKE_ARGS += arch=ia32
57+
endif
5458
endif
5559
endif
5660

@@ -63,9 +67,9 @@ tbb:
6367
mkdir -p ../inst/lib/$(ARCH_DIR); \
6468
cd tbb/src; \
6569
if [[ "$(CC)" == clang* ]]; then \
66-
make cpp0x=1 compiler=clang $(MAKE_ARGS); \
70+
$(MAKE) cpp0x=1 compiler=clang $(MAKE_ARGS); \
6771
else \
68-
make cpp0x=1 $(MAKE_ARGS); \
72+
$(MAKE) cpp0x=1 $(MAKE_ARGS); \
6973
fi; \
7074
cd ../..; \
7175
cp tbb/build/lib_release/$(TBB_COPY_PATTERN) ../inst/lib/$(ARCH_DIR)

0 commit comments

Comments
 (0)