blob: 705bc42671abf85183664b5afefb1037975e8a9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Stc(AutotoolsPackage):
"""STC: The Swift-Turbine Compiler"""
homepage = 'http://swift-lang.org/Swift-T'
url = 'http://swift-lang.github.io/swift-t-downloads/spack/stc-0.0.0.tar.gz'
version('0.8.2', '883b0657f1aac9b81158ef0a8989be4c')
depends_on('java', type=('build', 'run'))
depends_on('ant', type='build')
depends_on('turbine', type=('build', 'run'))
depends_on('zsh', type=('build', 'run'))
def configure_args(self):
args = ['--with-turbine=' + self.spec['turbine'].prefix]
return args
|