Path: blob/main/lang/J/files/patch-make_jvars.sh
16149 views
--- make/jvars.sh.orig 2019-03-10 15:55:44 UTC1+++ make/jvars.sh2@@ -2,7 +2,7 @@3# source shell script (read with . jvars.sh) so stuff is easy to find45# edit following if your install is not standard6-jgit=~/git/jsource # git jsource folder7+jgit=~/jsource-j807-release # git jsource folder8jbld=~/jbld # test libraries and binaries will be put here910# platform and shared library suffix11@@ -10,7 +10,12 @@ jplatform=`uname|tr '[:upper:]' '[:lower:]'`12jsuffix=so13if [ $jplatform = "darwin" ] ; then jsuffix=dylib ; fi1415-CC=clang # compiler16+USE_OPENMP="${USE_OPENMP:=0}"17+if [ $USE_OPENMP -eq 1 ] ; then18+ CC=gcc819+else20+ CC=clang # compiler21+fi2223# should not be necessary to edit after here24tsu=$jgit/test/tsu.ijs252627