turbine ^intel-oneapi-mpi: fix prefix specification (#42247)
This commit is contained in:
		| @@ -57,9 +57,14 @@ def configure_args(self): | |||||||
|             "--with-c-utils=" + self.spec["exmcutils"].prefix, |             "--with-c-utils=" + self.spec["exmcutils"].prefix, | ||||||
|             "--with-adlb=" + self.spec["adlbx"].prefix, |             "--with-adlb=" + self.spec["adlbx"].prefix, | ||||||
|             "--with-tcl=" + self.spec["tcl"].prefix, |             "--with-tcl=" + self.spec["tcl"].prefix, | ||||||
|             "--with-mpi=" + self.spec["mpi"].prefix, |  | ||||||
|             "--disable-static-pkg", |             "--disable-static-pkg", | ||||||
|         ] |         ] | ||||||
|  | 
 | ||||||
|  |         if self.spec.satisfies("^intel-oneapi-mpi"): | ||||||
|  |             args.append("--with-mpi=" + self.spec["intel-oneapi-mpi"].package.component_prefix) | ||||||
|  |         else: | ||||||
|  |             args.append("--with-mpi=" + self.spec["mpi"].prefix) | ||||||
|  | 
 | ||||||
|         if "+hdf5" in self.spec: |         if "+hdf5" in self.spec: | ||||||
|             args.append("--with-hdf5=ON") |             args.append("--with-hdf5=ON") | ||||||
|         else: |         else: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 eugeneswalker
					eugeneswalker