Skip to content

Set of patches successfully used in FreeOrion project#349

Open
o01eg wants to merge 31 commits intopython-cmake-buildsystem:masterfrom
o01eg:freeorion-patches-android-5
Open

Set of patches successfully used in FreeOrion project#349
o01eg wants to merge 31 commits intopython-cmake-buildsystem:masterfrom
o01eg:freeorion-patches-android-5

Conversation

@o01eg
Copy link
Copy Markdown

@o01eg o01eg commented Apr 15, 2025

Those patches were tested with Python 3.10.16 version on MacOS, Windows and Android.

Victor Paleologue and others added 25 commits January 31, 2026 01:10
Translated to CMake from a patch on the Yocto project:
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/python/python3/0002-Don-t-do-runtime-test-to-get-float-byte-order.patch?h=zeus
It avoids the execution of a program on the target device,
and produces a clearer endianness result.
* Disable C4101 'identifier' : unreferenced local variable for libpython.
* Disable C4018 'expression' : signed/unsigned mismatch for libpython.
* Disable C4244 'conversion' conversion from 'type1' to 'type2', possible
  loss of data for libpython.
* Disable C4996 The compiler encountered a deprecated declaration. for
  libpython.
This is required when using multi-config cmake generators.
@o01eg o01eg force-pushed the freeorion-patches-android-5 branch from 52b4f06 to 15bf16a Compare February 18, 2026 14:13
@o01eg
Copy link
Copy Markdown
Author

o01eg commented Feb 18, 2026

@jcfr I've updated it on top of master to fix conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants