Closed RandomGamingDev closed 2 weeks ago
I'm afraid we require minimun Python 3.10, so 3.3- is irrelevant. Version should be checked better on script prologue.
Will bsd support ever come to the DagorEngine?
There should not be any global problems for building DagorEngine for any unix/linux OS, including BSD. If you can suggest some relevant OS build for testing I can check and fix issues found. Engine requires modern compilers (gcc and/or clang) capable of at least C++17 and small number of installed libs. make_devtools.py can be changed for specific OS distributive to install needed packages (using names suitable for this distributive and using packet manager available in that OS)
When identifying linux this is used:
but it fails for versions prior to python 3.3 since
sys.platform
used to include the kernel version, which was removed in python 3.3 which can be seen here: https://bugs.python.org/issue12326The standard usage which is documented here is to replace it with
sys.platform.startswith('linux')
not only for linux, both other OSes as well, which provides better backwards and forward compatibility, and also means better support for other platforms (e.g. bsd): https://docs.python.org/3/library/sys.html#sys.platformUnrelated Question: Will bsd support ever come to the DagorEngine?