summaryrefslogtreecommitdiff
path: root/math/stanmath/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/stanmath/files')
-rw-r--r--math/stanmath/files/patch-make_compiler__flags14
-rw-r--r--math/stanmath/files/patch-runTests.py11
2 files changed, 25 insertions, 0 deletions
diff --git a/math/stanmath/files/patch-make_compiler__flags b/math/stanmath/files/patch-make_compiler__flags
new file mode 100644
index 000000000000..4bb3e44294c9
--- /dev/null
+++ b/math/stanmath/files/patch-make_compiler__flags
@@ -0,0 +1,14 @@
+--- make/compiler_flags.orig 2021-08-28 03:13:59 UTC
++++ make/compiler_flags
+@@ -274,9 +274,9 @@ LDLIBS_TBB ?= $(LDFLAGS_TBB)
+
+ endif
+
+-ifdef TBB_INTERFACE_NEW
++#ifdef TBB_INTERFACE_NEW
+ CPPFLAGS_TBB ?= -DTBB_INTERFACE_NEW
+-endif
++#endif
+
+ ################################################################################
+ # Setup STAN_THREADS
diff --git a/math/stanmath/files/patch-runTests.py b/math/stanmath/files/patch-runTests.py
new file mode 100644
index 000000000000..19b25694039f
--- /dev/null
+++ b/math/stanmath/files/patch-runTests.py
@@ -0,0 +1,11 @@
+--- runTests.py.orig 2021-08-28 03:33:35 UTC
++++ runTests.py
+@@ -172,7 +172,7 @@ def generateTests(j):
+ if isWin():
+ doCommand("mingw32-make -j%d generate-tests -s" % (j or 1))
+ else:
+- doCommand("make -j%d generate-tests -s" % (j or 1))
++ doCommand("gmake -j%d generate-tests -s" % (j or 1))
+
+
+ def divide_chunks(l, n):