Commit 4f720d84 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

ENH compilation aborts when both adapt and numa are missing #28

parent 45d81f64
......@@ -25,7 +25,8 @@ def configure(ctx):
ctx.env.append_unique("CXXFLAGS", [ "-I"+ctx.path.abspath()+"/include/"])
ctx.check_cc(header_name="linux/perf_event.h", execute=False, mandatory=False)
ctx.check_cc(header_name="cpufreq.h", execute=False, mandatory=False)
ctx.check_cc(header_name="x86_adapt.h", execute=False, mandatory=False)
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="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