Skip to content

Commit f17ce36

Browse files
bvanessenadamjstewart
authored andcommitted
Fixed path for CEREAL and Protobuf (spack#14641)
1 parent 2b61065 commit f17ce36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

var/spack/repos/builtin/packages/lbann/package.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ def cmake_args(self):
159159
'-DLBANN_WITH_TBINF=OFF',
160160
'-DLBANN_WITH_VTUNE:BOOL=%s' % ('+vtune' in spec),
161161
'-DLBANN_DATATYPE={0}'.format(spec.variants['dtype'].value),
162-
'-DLBANN_VERBOSE=0'])
162+
'-DLBANN_VERBOSE=0',
163+
'-DCEREAL_DIR={0}'.format(spec['cereal'].prefix),
164+
# protobuf is included by py-protobuf+cpp
165+
'-DProtobuf_DIR={0}'.format(spec['protobuf'].prefix)])
163166

164167
if self.spec.satisfies('@:0.90') or self.spec.satisfies('@0.95:'):
165168
args.extend([

0 commit comments

Comments
 (0)