Closed apivovarov closed 3 years ago
Some platforms (e.g. OpenWRT) do not have execinfo.h in their SDK.
execinfo.h
We should check that cxxabi.h and execinfo.h are present before enabling DMLC_LOG_STACK_TRACE by default in build_config_default.h
cxxabi.h
DMLC_LOG_STACK_TRACE
This check is already done in cmake/build_config.h.in. To be consistent we should also do it in build_config_default.h
About TVM PR-7701. TVM uses dmlc-core as a header only library. They do not want to add new "dmlc" cmake target to TVM project and build libdmlc.a library. Looks like TVM can only use build_config_default.h
libdmlc.a
build_config_default.h
Some platforms (e.g. OpenWRT) do not have
execinfo.h
in their SDK.We should check that
cxxabi.h
andexecinfo.h
are present before enablingDMLC_LOG_STACK_TRACE
by default in build_config_default.hThis check is already done in cmake/build_config.h.in. To be consistent we should also do it in build_config_default.h