aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-12-14 04:41:32 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-12-14 04:41:32 +0000
commit7b0dbf98fe0a6f223f0955463b340e3d88559da7 (patch)
treeea839ef7ec9e323f75b574a553c4c90bed4bdd88 /reproduce/software
parentac80e3bc163a177c5b33ad2a1b8ab9f6f09becd8 (diff)
R explicitly built without support for OpenMP
OpenMP takes a LONG TIME to build, so to keep things reproducible we are explicitly disabling OpenMP, if a user needs OpenMP, its trivial to just add it as a prerequisite of R. The problem is that in some scenarios (based on other dependencies and when they were built in the build directory), OpenMP may be present when R is being installed and in other it may not. We don't want the result to be different between the two builds.
Diffstat (limited to 'reproduce/software')
-rw-r--r--reproduce/software/make/high-level.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk
index f6c2f76..7fc41e4 100644
--- a/reproduce/software/make/high-level.mk
+++ b/reproduce/software/make/high-level.mk
@@ -1035,7 +1035,8 @@ $(ibidir)/R: $(ibidir)/libpng \
| $(tdir)/R-$(R-version).tar.gz
export R_SHELL=$(SHELL); \
$(call gbuild, R-$(R-version), static, \
- --without-x --with-readline) \
+ --without-x --with-readline \
+ --disable-openmp) \
&& echo "R $(R-version)" > $@
# SCAMP documentation says ATLAS is a mandatory prerequisite for using