Commit ff814557 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

ENH compilation with searching for hdf5 #58

parent d52fa713
......@@ -9,6 +9,7 @@ bool Meric::DETAILED = mutils::getenv("MERIC_DETAILED" , false);
bool Meric::AGGREGATE = mutils::getenv("MERIC_AGGREGATE" , true);
bool Meric::DEBUG = mutils::getenv("MERIC_DEBUG" , false);
bool Meric::SAMPLES = mutils::getenv("MERIC_SAMPLES" , false);
bool Meric::HDF5 = mutils::getenv("MERIC_HDF5" , true);
std::string Meric::COUNTERS = mutils::getenv("MERIC_COUNTERS" , std::string("none"));
std::string Meric::BARRIERS = mutils::getenv("MERIC_BARRIERS" , std::string("all"));
std::string Meric::OUTPUT_DIR = mutils::getenv("MERIC_OUTPUT_DIR", std::string("mericMeasurement"));
......@@ -88,6 +89,10 @@ int Meric::getDefaultParameters()
}
#endif
#ifndef HAVE_HDF5_H
Meric::HDF5 = false;
#endif
if (ret)
return ret;
......
......@@ -37,6 +37,7 @@ public:
static bool DEBUG;
static bool SAMPLES;
static bool IGNORE;
static bool HDF5;
static int MODE;
static std::string COUNTERS;
static std::string OUTPUT_DIR;
......
......@@ -28,6 +28,7 @@ def configure(ctx):
if(not ctx.check_cc(header_name="x86_adapt.h", execute=False, mandatory=False)):
ctx.check_cc(header_name="numa.h", execute=False, mandatory=True)
ctx.check_cc(header_name="papi.h", execute=False, mandatory=False)
ctx.check_cc(header_name="hdf5.h", execute=False, mandatory=False)
ctx.check_cc(header_name="restclient-cpp/restclient.h", execute=False, mandatory=False)
# ctx.check_cc(header_name="cilk/cilk_api.h", execute=False, mandatory=False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment