diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/linktest/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/linktest/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/linktest/package.py | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/var/spack/repos/builtin/packages/linktest/package.py b/var/spack/repos/builtin/packages/linktest/package.py index 86c31a2d0d..c11f77fbc6 100644 --- a/var/spack/repos/builtin/packages/linktest/package.py +++ b/var/spack/repos/builtin/packages/linktest/package.py @@ -11,29 +11,34 @@ class Linktest(MakefilePackage): """Performance tool to generate communication matrix using parallel ping-pong benchmark""" - homepage = "https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/LinkTest/_node.html" - url = "https://apps.fz-juelich.de/jsc/linktest/download.php?version=1.2p1" + homepage = ( + "https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/LinkTest/_node.html" + ) + url = "https://apps.fz-juelich.de/jsc/linktest/download.php?version=1.2p1" - maintainers = ['pramodk'] + maintainers = ["pramodk"] - version('1.2p1', sha256='981b96da1d5bf214507b8e219a36e8d0183d8bd5c10539b26f660b2c83e5269d', extension='tar.gz') + version( + "1.2p1", + sha256="981b96da1d5bf214507b8e219a36e8d0183d8bd5c10539b26f660b2c83e5269d", + extension="tar.gz", + ) - depends_on('mpi') - depends_on('sionlib') + depends_on("mpi") + depends_on("sionlib") def edit(self, spec, prefix): - with working_dir('src'): - makefile = FileFilter('Makefile') - makefile.filter('= gcc', '= cc') - makefile.filter('mpicc', spec['mpi'].mpicc) - makefile.filter('#SIONLIB_INST=.*', - 'SIONLIB_INST=%s' % spec['sionlib'].prefix) + with working_dir("src"): + makefile = FileFilter("Makefile") + makefile.filter("= gcc", "= cc") + makefile.filter("mpicc", spec["mpi"].mpicc) + makefile.filter("#SIONLIB_INST=.*", "SIONLIB_INST=%s" % spec["sionlib"].prefix) def build(self, spec, prefix): - with working_dir('src'): + with working_dir("src"): make() def install(self, spec, prefix): mkdir(prefix.bin) - install('src/mpilinktest', prefix.bin) - install('src/pingponganalysis', prefix.bin) + install("src/mpilinktest", prefix.bin) + install("src/pingponganalysis", prefix.bin) |