From dba299c900191295668f8d80f980474a0821f1e2 Mon Sep 17 00:00:00 2001 From: Jiakun Yan Date: Sat, 5 Aug 2023 12:48:03 -0500 Subject: [PATCH] fix package.py --- contrib/spack/packages/lci/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/spack/packages/lci/package.py b/contrib/spack/packages/lci/package.py index 01eabe1a..189c5aa8 100644 --- a/contrib/spack/packages/lci/package.py +++ b/contrib/spack/packages/lci/package.py @@ -96,9 +96,9 @@ def cmake_args(self): self.define_from_variant('LCI_USE_AVX', 'vector'), self.define_from_variant('LCI_CONFIG_USE_ALIGNED_ALLOC', 'aligned'), self.define_from_variant('LCI_OPTIMIZE_FOR_NATIVE', 'native'), - self.define('LCI_USE_INLINE_CQ', 'inline-cq'), + self.define_from_variant('LCI_USE_INLINE_CQ', 'inline-cq'), self.define_from_variant('LCI_IBV_ENABLE_TRY_LOCK_QP', 'qp-lock'), - self.define('LCI_ENABLE_MULTITHREAD_PROGRESS', 'multithread-progress'), + self.define_from_variant('LCI_ENABLE_MULTITHREAD_PROGRESS', 'multithread-progress'), self.define('LCI_USE_DREG_DEFAULT', 1 if self.spec.variants['default-dreg'].value else 0), self.define_from_variant('LCI_DEBUG', 'debug'),