Skip to content

Commit

Permalink
wrap compiler command and flags in single quotes in NVFLAGS value
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Mar 30, 2021
1 parent 664d91b commit 68e15c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/easyblocks/c/cp2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ def configure_step(self):
'--std=c++11',
'-arch sm_%s' % cuda_cc.replace('.', ''),
# control host compilers + options
'-ccbin="%s"' % os.getenv('CXX'),
'-Xcompiler="%s"' % os.getenv('CXXFLAGS'),
"-ccbin='%s'" % os.getenv('CXX'),
"-Xcompiler='%s'" % os.getenv('CXXFLAGS'),
])

# avoid group nesting
Expand Down

0 comments on commit 68e15c5

Please sign in to comment.