| 1ee492bd | 15-Feb-2022 |
Bruce Richardson <[email protected]> |
buildtools/chkincs: check missing C++ guards
Simply compiling a C header with a C++ compiler is not enough to flag missing 'extern "C"' guards. To catch missing guards, we can just use a simple grep
buildtools/chkincs: check missing C++ guards
Simply compiling a C header with a C++ compiler is not enough to flag missing 'extern "C"' guards. To catch missing guards, we can just use a simple grep for the 'extern "C"' part, and error out if any files have a miss.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|
| 2654ce5c | 11-Jan-2022 |
Thomas Monjalon <[email protected]> |
doc: replace deprecated distutils version parsing
When using Python 3.10, this warning appears: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. U
doc: replace deprecated distutils version parsing
When using Python 3.10, this warning appears: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
The PEP 632 recommends replacing "distutils.version" with "packaging".
Bugzilla ID: 914 Cc: [email protected]
Reported-by: Jerin Jacob <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Tested-by: Jerin Jacob <[email protected]>
show more ...
|
| cd27047d | 26-Apr-2021 |
Nick Connolly <[email protected]> |
build: support drivers symlink on Windows
The symlink-drivers-solibs.sh script was disabled as part of 'install' for Windows because there is no support for shell scripts. However, this means that d
build: support drivers symlink on Windows
The symlink-drivers-solibs.sh script was disabled as part of 'install' for Windows because there is no support for shell scripts. However, this means that driver related DLLs are not present in the installed 'libdir' directory. Add a python script to perform the install and use it for Windows if the version of meson supports using an external program with add_install_script (>= 0.55.0).
On Windows, symbolic links are somewhat problematic since the SeCreateSymbolicLinkPrivilege is required to be able to create them. In addition, different cross-compilation environments handle symbolic links differently, e.g. WSL, Msys2, Cygwin. Rather than trying to distinguish these scenarios, the python script will perform a file copy for any Windows specific names.
On Windows, the shared library outputs have different names depending upon which toolset has been used to build them. The script currently handles Clang and GCC.
On Linux the functionality is unchanged, but could be replaced with the python script once the required minimum version of meson is >= 0.55.0.
Cc: [email protected]
Signed-off-by: Nick Connolly <[email protected]> Tested-by: Narcisa Vasile <[email protected]> Acked-by: Narcisa Vasile <[email protected]> Reviewed-by: Bruce Richardson <[email protected]>
show more ...
|