rattler-build
rattler-build copied to clipboard
Automatically give a tip for common issues
We have a bunch of "common" issues in the conda-forge knowledge base. For example, on macOS one sometimes needs to -D_LIBCPP_DISABLE_AVAILABILITY.
We could scan the logs and if we see an error like:
│ │ $BUILD_PREFIX/bin/../include/c++/v1/__format/format_parse_context.h:93:31: error: 'basic_format_parse_context<wchar_t>' is unavailable
│ │ 93 | using wformat_parse_context = basic_format_parse_context<wchar_t>;
│ │ | ^
│ │ $BUILD_PREFIX/bin/../include/c++/v1/__format/format_parse_context.h:26:56: note: 'basic_format_parse_context<wchar_t>' has been explicitly marked unavailable here
│ │ 26 | class _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FORMAT basic_format_parse_context {
Automatically add a tip that mentions this.
There are also a few common ones with visual studio build tools missing!