adol-c: use f-strings (#40438)
This commit is contained in:
		| @@ -83,12 +83,12 @@ def configure_args(self): | |||||||
|         configure_args = [] |         configure_args = [] | ||||||
| 
 | 
 | ||||||
|         if "+boost" in spec: |         if "+boost" in spec: | ||||||
|             configure_args.append("--with-boost={0}".format(spec["boost"].prefix)) |             configure_args.append(f"--with-boost={spec['boost'].prefix}") | ||||||
|         else: |         else: | ||||||
|             configure_args.append("--with-boost=no") |             configure_args.append("--with-boost=no") | ||||||
| 
 | 
 | ||||||
|         if "+openmp" in spec: |         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( |         configure_args.extend( | ||||||
|             self.enable_or_disable("advanced-branching", variant="advanced_branching") |             self.enable_or_disable("advanced-branching", variant="advanced_branching") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alec Scott
					Alec Scott