orca: add v6.0.0 (#45489)
This commit is contained in:
		@@ -23,6 +23,7 @@ class Orca(Package):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    license("LGPL-2.1-or-later")
 | 
					    license("LGPL-2.1-or-later")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    version("6.0.0", sha256="219bd1deb6d64a63cb72471926cb81665cbbcdec19f9c9549761be67d49a29c6")
 | 
				
			||||||
    version("5.0.4", sha256="c4ea5aea60da7bcb18a6b7042609206fbeb2a765c6fa958c5689d450b588b036")
 | 
					    version("5.0.4", sha256="c4ea5aea60da7bcb18a6b7042609206fbeb2a765c6fa958c5689d450b588b036")
 | 
				
			||||||
    version("5.0.3", sha256="b8b9076d1711150a6d6cb3eb30b18e2782fa847c5a86d8404b9339faef105043")
 | 
					    version("5.0.3", sha256="b8b9076d1711150a6d6cb3eb30b18e2782fa847c5a86d8404b9339faef105043")
 | 
				
			||||||
    version("4.2.1", sha256="a84b6d2706f0ddb2f3750951864502a5c49d081836b00164448b1d81c577f51a")
 | 
					    version("4.2.1", sha256="a84b6d2706f0ddb2f3750951864502a5c49d081836b00164448b1d81c577f51a")
 | 
				
			||||||
@@ -33,7 +34,13 @@ class Orca(Package):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Map Orca version with the required OpenMPI version
 | 
					    # Map Orca version with the required OpenMPI version
 | 
				
			||||||
    # OpenMPI@4.1.1 has issues in pmix environments, hence 4.1.2 here
 | 
					    # OpenMPI@4.1.1 has issues in pmix environments, hence 4.1.2 here
 | 
				
			||||||
    openmpi_versions = {"4.2.0": "3.1.4", "4.2.1": "3.1.4", "5.0.3": "4.1.2", "5.0.4": "4.1.2"}
 | 
					    openmpi_versions = {
 | 
				
			||||||
 | 
					        "4.2.0": "3.1.4",
 | 
				
			||||||
 | 
					        "4.2.1": "3.1.4",
 | 
				
			||||||
 | 
					        "5.0.3": "4.1.2",
 | 
				
			||||||
 | 
					        "5.0.4": "4.1.2",
 | 
				
			||||||
 | 
					        "6.0.0": "4.1.6",
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    for orca_version, openmpi_version in openmpi_versions.items():
 | 
					    for orca_version, openmpi_version in openmpi_versions.items():
 | 
				
			||||||
        depends_on(
 | 
					        depends_on(
 | 
				
			||||||
            "openmpi@{0}".format(openmpi_version), type="run", when="@{0}".format(orca_version)
 | 
					            "openmpi@{0}".format(openmpi_version), type="run", when="@{0}".format(orca_version)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user