Work around the linker incompatibility that exists with fortran and apple-clang (#44547)
This commit is contained in:
		| @@ -986,6 +986,11 @@ def configure_args(self): | |||||||
|         spec = self.spec |         spec = self.spec | ||||||
|         config_args = ["--enable-shared", "--disable-silent-rules", "--disable-sphinx"] |         config_args = ["--enable-shared", "--disable-silent-rules", "--disable-sphinx"] | ||||||
| 
 | 
 | ||||||
|  |         # Work around incompatibility with new apple-clang linker | ||||||
|  |         # https://github.com/open-mpi/ompi/issues/12427 | ||||||
|  |         if spec.satisfies("@5: %apple-clang@15:"): | ||||||
|  |             config_args.append("--with-wrapper-fcflags=-Wl,-ld_classic") | ||||||
|  | 
 | ||||||
|         # All rpath flags should be appended with self.compiler.cc_rpath_arg. |         # All rpath flags should be appended with self.compiler.cc_rpath_arg. | ||||||
|         # Later, we might need to update share/openmpi/mpic++-wrapper-data.txt |         # Later, we might need to update share/openmpi/mpic++-wrapper-data.txt | ||||||
|         # and mpifort-wrapper-data.txt (see filter_rpaths()). |         # and mpifort-wrapper-data.txt (see filter_rpaths()). | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Chris Marsh
					Chris Marsh