Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/lang/J/files/patch-make_jvars.sh
16149 views
1
--- make/jvars.sh.orig 2019-03-10 15:55:44 UTC
2
+++ make/jvars.sh
3
@@ -2,7 +2,7 @@
4
# source shell script (read with . jvars.sh) so stuff is easy to find
5
6
# edit following if your install is not standard
7
-jgit=~/git/jsource # git jsource folder
8
+jgit=~/jsource-j807-release # git jsource folder
9
jbld=~/jbld # test libraries and binaries will be put here
10
11
# platform and shared library suffix
12
@@ -10,7 +10,12 @@ jplatform=`uname|tr '[:upper:]' '[:lower:]'`
13
jsuffix=so
14
if [ $jplatform = "darwin" ] ; then jsuffix=dylib ; fi
15
16
-CC=clang # compiler
17
+USE_OPENMP="${USE_OPENMP:=0}"
18
+if [ $USE_OPENMP -eq 1 ] ; then
19
+ CC=gcc8
20
+else
21
+ CC=clang # compiler
22
+fi
23
24
# should not be necessary to edit after here
25
tsu=$jgit/test/tsu.ijs
26
27