Address flake errors

This commit is contained in:
Erik Schnetter 2016-06-22 11:09:45 -04:00
parent e398c0dc5b
commit c904a42c5b

View file

@ -22,8 +22,9 @@
# License along with this program; if not, write to the Free Software # License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
############################################################################## ##############################################################################
from spack import * from spack import *
import os
class Julia(Package): class Julia(Package):
"""The Julia Language: A fresh approach to technical computing""" """The Julia Language: A fresh approach to technical computing"""
@ -101,14 +102,15 @@ def install(self, spec, prefix):
# problem. Given how Spack sets up compilers, Julia should # problem. Given how Spack sets up compilers, Julia should
# still use Spack's compilers, even if we don't specify them # still use Spack's compilers, even if we don't specify them
# explicitly. # explicitly.
options = [#"CC=cc", options = [
#"CXX=c++", # "CC=cc",
#"FC=fc", # "CXX=c++",
#"USE_SYSTEM_ARPACK=1", # "FC=fc",
#"USE_SYSTEM_FFTW=1", # "USE_SYSTEM_ARPACK=1",
#"USE_SYSTEM_GMP=1", # "USE_SYSTEM_FFTW=1",
#"USE_SYSTEM_MPFR=1", # "USE_SYSTEM_GMP=1",
#TODO "USE_SYSTEM_PCRE=1", # "USE_SYSTEM_MPFR=1",
# "USE_SYSTEM_PCRE=1",
"prefix=%s" % prefix] "prefix=%s" % prefix]
with open('Make.user', 'w') as f: with open('Make.user', 'w') as f:
f.write('\n'.join(options) + '\n') f.write('\n'.join(options) + '\n')