We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b61065 commit f17ce36Copy full SHA for f17ce36
var/spack/repos/builtin/packages/lbann/package.py
@@ -159,7 +159,10 @@ def cmake_args(self):
159
'-DLBANN_WITH_TBINF=OFF',
160
'-DLBANN_WITH_VTUNE:BOOL=%s' % ('+vtune' in spec),
161
'-DLBANN_DATATYPE={0}'.format(spec.variants['dtype'].value),
162
- '-DLBANN_VERBOSE=0'])
+ '-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)])
166
167
if self.spec.satisfies('@:0.90') or self.spec.satisfies('@0.95:'):
168
args.extend([
0 commit comments