From 7b0dbf98fe0a6f223f0955463b340e3d88559da7 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sat, 14 Dec 2019 04:41:32 +0000 Subject: 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. --- reproduce/software/make/high-level.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'reproduce/software/make') 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 -- cgit v1.2.1