With the sanitizers supported in both gcc + clang and all the issues
resolved, let's enable them via build-dev.ini.
This means, developers will see any issues OOTB without having to run
through the CI.
As a nice bonus, let's re-enable them for ubuntu:22.04 - it should be
working fine now.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/172
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
To make it clear and explicit on the topic. Inspired by me reusing some
of those for usbutils and reuse-tool [1] flagging the lack of proper
attribution.
[1] https://github.com/fsfe/reuse-tool
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/145
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Aka "-D werror=true", so we catch as many issues as possible in
automated manner.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/110
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
To make it a little bit more obvious that those should be updated as
well...
On Alpine it fails (as below), so we've disabled it for now.
When gtkdoc-mkhtml calls xsltproc, the latter throws dozens of errors and
fails to produce the libkmod.devhelp2 file. Which meson tries to move
and fails.
Error: no ID for constraint linkend: "int"
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/94
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Developers are supposed to run tests to test their code.
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/104
Functionally identical to the autogen.sh c options. This allows devs
(and upcoming CI) to make use of a pre-defined set.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/86
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>