diff options
author | Justin M Wozniak <woz@anl.gov> | 2019-06-14 09:49:51 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-06-14 09:49:51 -0500 |
commit | 8afae13369c91b59183a229cd585686d71562fb1 (patch) | |
tree | da42f39367de1ff7056d326ea5f7200299ff91a3 /var/spack/repos/builtin/packages/adlbx | |
parent | 1b8f641016f1a2080ac1385f27ad038919ed2f83 (diff) | |
download | spack-8afae13369c91b59183a229cd585686d71562fb1.tar.gz spack-8afae13369c91b59183a229cd585686d71562fb1.tar.bz2 spack-8afae13369c91b59183a229cd585686d71562fb1.tar.xz spack-8afae13369c91b59183a229cd585686d71562fb1.zip |
swift-t: New release packages for 1.4.3 (#11684)
Diffstat (limited to 'var/spack/repos/builtin/packages/adlbx')
-rw-r--r-- | var/spack/repos/builtin/packages/adlbx/package.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/adlbx/package.py b/var/spack/repos/builtin/packages/adlbx/package.py index fb01a1ffed..3df61b2a1c 100644 --- a/var/spack/repos/builtin/packages/adlbx/package.py +++ b/var/spack/repos/builtin/packages/adlbx/package.py @@ -12,12 +12,20 @@ class Adlbx(AutotoolsPackage): homepage = 'http://swift-lang.org/Swift-T' url = 'http://swift-lang.github.io/swift-t-downloads/spack/adlbx-0.0.0.tar.gz' + git = "https://github.com/swift-lang/swift-t.git" + version('master', branch='master') + version('0.9.2', 'a7d9e208eb3b49b8bb857562f6bb61bb') version('0.9.1', '07151ddef5fb83d8f4b40700013d9daf') version('0.8.0', '34ade59ce3be5bc296955231d47a27dd') + depends_on('exmcutils@master', when='@master') depends_on('exmcutils@:0.5.3', when='@:0.8.0') depends_on('exmcutils', when='@0.9.1:') + depends_on('autoconf', type='build', when='@master') + depends_on('automake', type='build', when='@master') + depends_on('libtool', type='build', when='@master') + depends_on('m4', type='build', when='@master') depends_on('mpi') def setup_environment(self, spack_env, run_env): @@ -26,6 +34,13 @@ class Adlbx(AutotoolsPackage): spack_env.set('CXX', spec['mpi'].mpicxx) spack_env.set('CXXLD', spec['mpi'].mpicxx) + @property + def configure_directory(self): + if self.version == Version('master'): + return 'lb/code' + else: + return '.' + def configure_args(self): args = ['--with-c-utils=' + self.spec['exmcutils'].prefix] return args |