B_NATIVE is a variable for Makefile, if it is set to 1 then the
compiler will optimize the code with -mtune=native and -march=native
(2) Implement editorconfig checker workflow
This implementation can detect bad trailing whitespace and missing LF
at the EOF. But some tabs indentation checker is still a bit conflict
with Linux kernel coding style when it lines up multiple arguments that
are broken down into multiple lines.
We plan to fix the conflict in the near future, but it is not an urgent
issue at the moment.
(1) Add B_NATIVE build
B_NATIVE
is a variable for Makefile, if it is set to 1 then the compiler will optimize the code with-mtune=native
and-march=native
(2) Implement editorconfig checker workflow
This implementation can detect bad trailing whitespace and missing LF at the EOF. But some tabs indentation checker is still a bit conflict with Linux kernel coding style when it lines up multiple arguments that are broken down into multiple lines.
We plan to fix the conflict in the near future, but it is not an urgent issue at the moment.
Fixes: https://github.com/GNUWeeb/GNUWeebBot/issues/30