adol-c: use f-strings (#40438)
This commit is contained in:
parent
86d2200523
commit
639ef9e24a
1 changed files with 2 additions and 2 deletions
|
@ -83,12 +83,12 @@ def configure_args(self):
|
|||
configure_args = []
|
||||
|
||||
if "+boost" in spec:
|
||||
configure_args.append("--with-boost={0}".format(spec["boost"].prefix))
|
||||
configure_args.append(f"--with-boost={spec['boost'].prefix}")
|
||||
else:
|
||||
configure_args.append("--with-boost=no")
|
||||
|
||||
if "+openmp" in spec:
|
||||
configure_args.append("--with-openmp-flag={0}".format(self.compiler.openmp_flag))
|
||||
configure_args.append(f"--with-openmp-flag={self.compiler.openmp_flag}")
|
||||
|
||||
configure_args.extend(
|
||||
self.enable_or_disable("advanced-branching", variant="advanced_branching")
|
||||
|
|
Loading…
Reference in a new issue