diff options
author | Levi Baber <baberlevi@gmail.com> | 2018-07-22 17:17:44 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-07-22 17:17:44 -0500 |
commit | 0cef7b435596f8d283143f5466fddc25adbe292d (patch) | |
tree | cc0bcd3589cea5ab2ca8ab30858ba169d9e4e101 | |
parent | 5acdc2e3353467a1151c84982ce4a34f3eb5802b (diff) | |
download | spack-0cef7b435596f8d283143f5466fddc25adbe292d.tar.gz spack-0cef7b435596f8d283143f5466fddc25adbe292d.tar.bz2 spack-0cef7b435596f8d283143f5466fddc25adbe292d.tar.xz spack-0cef7b435596f8d283143f5466fddc25adbe292d.zip |
Trinity plugins (#8516)
* trinity: fix plugin installation
* trinity: flake8
* trinity: more specific types for dependencies
-rw-r--r-- | var/spack/repos/builtin/packages/trinity/package.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/trinity/package.py b/var/spack/repos/builtin/packages/trinity/package.py index a4fc604a17..eab36f9ae4 100644 --- a/var/spack/repos/builtin/packages/trinity/package.py +++ b/var/spack/repos/builtin/packages/trinity/package.py @@ -44,14 +44,18 @@ class Trinity(MakefilePackage): version('2.6.6', 'b7472e98ab36655a6d9296d965471a56') - depends_on("java@8:") + depends_on("java@8:", type=("build", "run")) depends_on("bowtie2") depends_on("jellyfish") depends_on("salmon") - depends_on("perl+threads") + depends_on("perl+threads", type=("build", "run")) + depends_on("autoconf", type="build") + depends_on("automake", type="build") + depends_on("libtool", type="build") def build(self, spec, prefix): - make + make() + make("trinity_essentials") make("plugins") def install(self, spec, prefix): @@ -73,3 +77,4 @@ class Trinity(MakefilePackage): def setup_environment(self, spack_env, run_env): run_env.set('TRINITY_HOME', self.prefix.bin) + spack_env.append_flags('CXXFLAGS', self.compiler.openmp_flag) |