diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-04-08 18:28:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 18:28:57 +0200 |
commit | 13f3bd533dfac3c226fd644bfbe8243070c3f7a9 (patch) | |
tree | 0e372effab0b90c550575b8d08a73c8823a5c3e3 | |
parent | 8c0b695f1334d94cf3e8b7fc02197c830cc00b41 (diff) | |
download | spack-13f3bd533dfac3c226fd644bfbe8243070c3f7a9.tar.gz spack-13f3bd533dfac3c226fd644bfbe8243070c3f7a9.tar.bz2 spack-13f3bd533dfac3c226fd644bfbe8243070c3f7a9.tar.xz spack-13f3bd533dfac3c226fd644bfbe8243070c3f7a9.zip |
ucx: fix opt default value and typo (#29967)
-rw-r--r-- | var/spack/repos/builtin/packages/ucx/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ucx/package.py b/var/spack/repos/builtin/packages/ucx/package.py index 291f79ac92..b2302129da 100644 --- a/var/spack/repos/builtin/packages/ucx/package.py +++ b/var/spack/repos/builtin/packages/ucx/package.py @@ -54,7 +54,7 @@ class Ucx(AutotoolsPackage, CudaPackage): description='Enable logging') variant('debug', default=False, description='Enable debugging') - variant('opt', default='0', values=('0', '1', '2', '3'), multi=False, + variant('opt', default='3', values=('0', '1', '2', '3'), multi=False, description='Set optimization level') variant('assertions', default=False, description='Enable assertions') @@ -160,7 +160,7 @@ class Ucx(AutotoolsPackage, CudaPackage): config_args.extend(self.enable_or_disable('optimizations')) config_args.append('--enable-compiler-opt=' + - self.spec.variant['opt'].value) + self.spec.variants['opt'].value) config_args.extend(self.enable_or_disable('assertions')) config_args.extend(self.enable_or_disable('logging')) |