Skip to content

Commit

Permalink
Fix formatting for style.
Browse files Browse the repository at this point in the history
  • Loading branch information
elbriggs committed Jul 14, 2023
1 parent 82c4278 commit 27ee6f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions var/spack/repos/builtin/packages/rmgdft/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ def build_targets(self):
spec = self.spec
if "+cuda" in spec:
targets = ["rmg-gpu"]
cuda_arch_list = spec.variants['cuda_arch'].value
cuda_arch_list = spec.variants["cuda_arch"].value
cuda_arch = cuda_arch_list[0]
if cuda_arch != 'none':
args.append('-DCUDA_FLAGS=-arch=sm_{0}'.format(cuda_arch))
if cuda_arch != "none":
args.append("-DCUDA_FLAGS=-arch=sm_{0}".format(cuda_arch))
if "+local_orbitals" in spec:
targets.append("rmg-on-gpu")
else:
Expand Down

0 comments on commit 27ee6f0

Please sign in to comment.