Updated SConstruct to reflect new dependencies
This commit is contained in:
parent
cf46fd79b0
commit
e9cfe94dfd
@ -42,6 +42,9 @@ if not conf.CheckHeader('omp.h'):
|
|||||||
if not conf.CheckLibWithHeader('xml2', 'libxml/xmlreader.h', 'CXX'):
|
if not conf.CheckLibWithHeader('xml2', 'libxml/xmlreader.h', 'CXX'):
|
||||||
print "libxml2 library or header not found. Exiting"
|
print "libxml2 library or header not found. Exiting"
|
||||||
Exit(-1)
|
Exit(-1)
|
||||||
|
if not conf.CheckLibWithHeader('z', 'zlib.h', 'CXX'):
|
||||||
|
print "libxml2 library or header not found. Exiting"
|
||||||
|
Exit(-1)
|
||||||
if not conf.CheckCXXHeader('stxxl.h'):
|
if not conf.CheckCXXHeader('stxxl.h'):
|
||||||
print "Could not locate stxxl header. Exiting"
|
print "Could not locate stxxl header. Exiting"
|
||||||
Exit(-1)
|
Exit(-1)
|
||||||
@ -83,6 +86,9 @@ if not conf.CheckCXXHeader('boost/program_options.hpp'):
|
|||||||
if not conf.CheckLibWithHeader('stxxl', 'stxxl.h', 'CXX'):
|
if not conf.CheckLibWithHeader('stxxl', 'stxxl.h', 'CXX'):
|
||||||
print "stxxl library not found. Exiting"
|
print "stxxl library not found. Exiting"
|
||||||
Exit(-1)
|
Exit(-1)
|
||||||
|
if not conf.CheckLibWithHeader('protobuf', 'google/protobuf/descriptor.h', 'CXX'):
|
||||||
|
print "Google Protobuffer library not found. Exiting"
|
||||||
|
Exit(-1)
|
||||||
|
|
||||||
env.Append(CCFLAGS = ' -fopenmp')
|
env.Append(CCFLAGS = ' -fopenmp')
|
||||||
env.Append(LINKFLAGS = ' -fopenmp')
|
env.Append(LINKFLAGS = ' -fopenmp')
|
||||||
|
Loading…
Reference in New Issue
Block a user