mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 12:10:24 +00:00
bcbce040b6
Improve build portability by including asm-generic/errno.h, instead of linux/errno.h. The difference between these two headers can be summarized as following: - asm-generic/errno.h contains generic error code definitions that are intended to be common across different architectures, - linux/errno.h includes architecture-specific error codes and provides additional (or overrides) error code definitions based on the specific architecture where the code is compiled. Considering the architecture-independent nature of scx, the advantages of being able to use architecture-specific error codes are marginal or negligible (and we should probably discourage using them). Moving towards asm-generic/errno.h, however, allows the removal of cross-compilation dependencies (such as the gcc-multilib package in Debian/Ubuntu) and improves the code portability across various architectures and distributions. This also allows to remove a symlink hack from the github workflow. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> |
||
---|---|---|
.. | ||
build-scheds.yml |