We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b4477d commit fa83462Copy full SHA for fa83462
src/Makevars
@@ -47,10 +47,14 @@ ifeq ($(USE_TBB), Windows)
47
48
endif
49
50
+# For Solaris detect if this is 32-bit R on x86 and if so forward that to TBB
51
ifeq ($(USE_TBB), SunOS)
- R_32BIT = $(shell ${R_HOME}/bin/Rscript -e 'cat(.Machine$$sizeof.pointer == 4)')
52
- ifeq ($(R_32BIT), TRUE)
53
- MAKE_ARGS += arch=ia32
+ SUNOS_ARCH = $(shell uname -p)
+ 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
58
59
60
0 commit comments