hwloc: update url_for_version (#32735)
This commit is contained in:
parent
31d54da198
commit
59415e6fc8
1 changed files with 2 additions and 6 deletions
|
@ -26,8 +26,6 @@ class Hwloc(AutotoolsPackage):
|
|||
|
||||
homepage = "https://www.open-mpi.org/projects/hwloc/"
|
||||
url = "https://download.open-mpi.org/release/hwloc/v2.0/hwloc-2.0.2.tar.gz"
|
||||
list_url = "http://www.open-mpi.org/software/hwloc/"
|
||||
list_depth = 2
|
||||
git = "https://github.com/open-mpi/hwloc.git"
|
||||
|
||||
maintainers = ["bgoglin"]
|
||||
|
@ -146,10 +144,8 @@ def determine_version(cls, exe):
|
|||
return match.group(1) if match else None
|
||||
|
||||
def url_for_version(self, version):
|
||||
return "http://www.open-mpi.org/software/hwloc/v%s/downloads/hwloc-%s.tar.gz" % (
|
||||
version.up_to(2),
|
||||
version,
|
||||
)
|
||||
url = "https://download.open-mpi.org/release/hwloc/v{0}/hwloc-{1}.tar.gz"
|
||||
return url.format(version.up_to(2), version)
|
||||
|
||||
def configure_args(self):
|
||||
args = []
|
||||
|
|
Loading…
Reference in a new issue