diff options
author | Tom Vander Aa <vanderaa@imec.be> | 2022-01-28 10:35:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 10:35:10 +0100 |
commit | f7f7a168e942760a9a28779f622e13e7a1ca74b4 (patch) | |
tree | 5f0092dd93dcc28bc61a89862913fc292d65a72c | |
parent | 80f92cfddeb5aa835ec5853596127bbf5cbc9318 (diff) | |
download | spack-f7f7a168e942760a9a28779f622e13e7a1ca74b4.tar.gz spack-f7f7a168e942760a9a28779f622e13e7a1ca74b4.tar.bz2 spack-f7f7a168e942760a9a28779f622e13e7a1ca74b4.tar.xz spack-f7f7a168e942760a9a28779f622e13e7a1ca74b4.zip |
ucx backtrace-detail variant (#28625)
ucx has the configure option --[enable|disable]-backtrace detail.
This option is not explicitely set by spack, causing problems on my system, because
./configure does not find the bfd.h header file / libbfd.so library.
Added variant + dependencies (binutils). Disabled by default
-rw-r--r-- | var/spack/repos/builtin/packages/ucx/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ucx/package.py b/var/spack/repos/builtin/packages/ucx/package.py index 579594932d..80a6a57b7d 100644 --- a/var/spack/repos/builtin/packages/ucx/package.py +++ b/var/spack/repos/builtin/packages/ucx/package.py @@ -81,6 +81,8 @@ class Ucx(AutotoolsPackage, CudaPackage): description="Compile with Device Memory support") variant('cm', default=False, description="Compile with IB Connection Manager support") + variant('backtrace-detail', default=False, + description="Enable using BFD support for detailed backtrace") depends_on('numactl') depends_on('rdma-core') @@ -96,6 +98,7 @@ class Ucx(AutotoolsPackage, CudaPackage): depends_on('xpmem', when='+xpmem') depends_on('knem', when='+knem') depends_on('binutils+ld', when='%aocc', type='build') + depends_on('binutils+ld', when='+backtrace-detail') configure_abs_path = 'contrib/configure-release' @@ -132,6 +135,7 @@ class Ucx(AutotoolsPackage, CudaPackage): config_args.extend(self.enable_or_disable('assertions')) config_args.extend(self.enable_or_disable('logging')) + config_args.extend(self.enable_or_disable('backtrace-detail')) config_args.extend(self.with_or_without('pic')) config_args.extend(self.with_or_without('rc')) config_args.extend(self.with_or_without('ud')) |