Skip to content
Snippets Groups Projects
Commit 82d4d58c authored by Brian Van Essen's avatar Brian Van Essen Committed by scheibelp
Browse files

Lbann package: bug fix (#7066)

Fixed a bug in the guard on cub functionality.  Reduced the
requirements on hwloc to make it simpler to build on Power systems.
parent 85c887a9
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ class Lbann(CMakePackage): ...@@ -56,7 +56,7 @@ class Lbann(CMakePackage):
depends_on('cudnn', when='+gpu') depends_on('cudnn', when='+gpu')
depends_on('cub', when='+gpu') depends_on('cub', when='+gpu')
depends_on('mpi') depends_on('mpi')
depends_on('hwloc') depends_on('hwloc ~pci ~libxml2')
depends_on('opencv@3.2.0: +openmp +core +highgui +imgproc +jpeg +png +tiff +zlib ~eigen', when='+opencv') depends_on('opencv@3.2.0: +openmp +core +highgui +imgproc +jpeg +png +tiff +zlib ~eigen', when='+opencv')
depends_on('protobuf@3.0.2:') depends_on('protobuf@3.0.2:')
depends_on('cnpy') depends_on('cnpy')
...@@ -148,7 +148,7 @@ def cmake_args(self): ...@@ -148,7 +148,7 @@ def cmake_args(self):
args.extend(['-DcuDNN_DIR={0}'.format( args.extend(['-DcuDNN_DIR={0}'.format(
spec['cudnn'].prefix)]) spec['cudnn'].prefix)])
if '+cudnn' in spec: if '+cub' in spec:
args.extend(['-DCUB_DIR={0}'.format( args.extend(['-DCUB_DIR={0}'.format(
spec['cub'].prefix)]) spec['cub'].prefix)])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment