Adding support to build ucx development branch (#18089)
* Enabling build of v1.9.x development branch. * v1.8.1 is the preferred (stable) version. * Fixing code style Co-authored-by: Filippo Spiga <fspiga@nvidia.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
		| @@ -12,11 +12,15 @@ class Ucx(AutotoolsPackage, CudaPackage): | |||||||
| 
 | 
 | ||||||
|     homepage = "http://www.openucx.org" |     homepage = "http://www.openucx.org" | ||||||
|     url      = "https://github.com/openucx/ucx/releases/download/v1.3.1/ucx-1.3.1.tar.gz" |     url      = "https://github.com/openucx/ucx/releases/download/v1.3.1/ucx-1.3.1.tar.gz" | ||||||
|  |     git      = "https://github.com/openucx/ucx.git" | ||||||
| 
 | 
 | ||||||
|     maintainers = ['hppritcha'] |     maintainers = ['hppritcha'] | ||||||
| 
 | 
 | ||||||
|  |     # Development | ||||||
|  |     version('1.9-dev', branch='v1.9.x') | ||||||
|  | 
 | ||||||
|     # Current |     # Current | ||||||
|     version('1.9.0', sha256='a7a2c8841dc0d5444088a4373dc9b9cc68dbffcd917c1eba92ca8ed8e5e635fb') |     version('1.9.0', sha256='a7a2c8841dc0d5444088a4373dc9b9cc68dbffcd917c1eba92ca8ed8e5e635fb', preferred=True) | ||||||
|     version('1.8.1', sha256='a48820cb8d0761b5ccf3e7ba03a7c8c1dde6276017657178829e07ffc35b556a') |     version('1.8.1', sha256='a48820cb8d0761b5ccf3e7ba03a7c8c1dde6276017657178829e07ffc35b556a') | ||||||
|     version('1.8.0', sha256='e400f7aa5354971c8f5ac6b881dc2846143851df868088c37d432c076445628d') |     version('1.8.0', sha256='e400f7aa5354971c8f5ac6b881dc2846143851df868088c37d432c076445628d') | ||||||
|     version('1.7.0', sha256='6ab81ee187bfd554fe7e549da93a11bfac420df87d99ee61ffab7bb19bdd3371') |     version('1.7.0', sha256='6ab81ee187bfd554fe7e549da93a11bfac420df87d99ee61ffab7bb19bdd3371') | ||||||
| @@ -71,6 +75,10 @@ class Ucx(AutotoolsPackage, CudaPackage): | |||||||
| 
 | 
 | ||||||
|     configure_abs_path = 'contrib/configure-release' |     configure_abs_path = 'contrib/configure-release' | ||||||
| 
 | 
 | ||||||
|  |     @when('@1.9-dev') | ||||||
|  |     def autoreconf(self, spec, prefix): | ||||||
|  |         Executable('./autogen.sh')() | ||||||
|  | 
 | ||||||
|     def configure_args(self): |     def configure_args(self): | ||||||
|         spec = self.spec |         spec = self.spec | ||||||
|         config_args = [] |         config_args = [] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Filippo Spiga
					Filippo Spiga