diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2023-02-16 22:06:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 23:06:12 -0600 |
commit | 603569e321013a1a63a637813c94c2834d0a0023 (patch) | |
tree | 366d3ba04458bb748c1f494e270401a56c10a7f2 /var/spack/repos/builtin/packages/kokkos-legacy | |
parent | b9358099488b6c9851e28ca912c8be246178974a (diff) | |
download | spack-603569e321013a1a63a637813c94c2834d0a0023.tar.gz spack-603569e321013a1a63a637813c94c2834d0a0023.tar.bz2 spack-603569e321013a1a63a637813c94c2834d0a0023.tar.xz spack-603569e321013a1a63a637813c94c2834d0a0023.zip |
Style: black 23, skip magic trailing comma (#35351)
* Style: black 23, skip magic trailing commas
* isort should use same line length as black
* Fix unused import
* Update version of black used in CI
* Update new packages
* Update new packages
Diffstat (limited to 'var/spack/repos/builtin/packages/kokkos-legacy')
-rw-r--r-- | var/spack/repos/builtin/packages/kokkos-legacy/package.py | 40 |
1 files changed, 8 insertions, 32 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos-legacy/package.py b/var/spack/repos/builtin/packages/kokkos-legacy/package.py index 4a32f40c86..4bf7e85844 100644 --- a/var/spack/repos/builtin/packages/kokkos-legacy/package.py +++ b/var/spack/repos/builtin/packages/kokkos-legacy/package.py @@ -185,34 +185,13 @@ class KokkosLegacy(Package): ) # Checks on Kokkos version and Kokkos options - conflicts( - "+aggressive_vectorization", - when="@:2.0", - ) - conflicts( - "+disable_profiling", - when="@:2.0", - ) - conflicts( - "+disable_dualview_modify_check", - when="@:2.03.04", - ) - conflicts( - "+enable_profile_load_print", - when="@:2.03.04", - ) - conflicts( - "+compiler_warnings", - when="@:2.03.14", - ) - conflicts( - "+disable_deprecated_code", - when="@:2.5", - ) - conflicts( - "+enable_eti", - when="@:2.6", - ) + conflicts("+aggressive_vectorization", when="@:2.0") + conflicts("+disable_profiling", when="@:2.0") + conflicts("+disable_dualview_modify_check", when="@:2.03.04") + conflicts("+enable_profile_load_print", when="@:2.03.04") + conflicts("+compiler_warnings", when="@:2.03.14") + conflicts("+disable_deprecated_code", when="@:2.5") + conflicts("+enable_eti", when="@:2.6") # Check that we haven't specified a gpu architecture # without specifying CUDA @@ -256,10 +235,7 @@ class KokkosLegacy(Package): def install(self, spec, prefix): generate = which(join_path(self.stage.source_path, "generate_makefile.bash")) with working_dir("build", create=True): - g_args = [ - "--prefix=%s" % prefix, - "--with-hwloc=%s" % spec["hwloc"].prefix, - ] + g_args = ["--prefix=%s" % prefix, "--with-hwloc=%s" % spec["hwloc"].prefix] arch_args = [] kokkos_options_args = [] cuda_options_args = [] |