Názor k článku Nuitka: pokročilý AOT překladač jazyka Python od atarist - me to jde: $ python -m nuitka --standalone --onefile...

  • Článek je starý, nové názory již nelze přidávat.
  • 23. 5. 2024 18:56

    atarist

    me to jde:

    $ python -m nuitka --standalone --onefile harmonic_fp16.py
    Nuitka-Options: Used command line options: --standalone --onefile harmonic_fp16.py
    Nuitka: Starting Python compilation with Nuitka '2.2.3' on Python '3.11' commercial grade 'not installed'.
    Nuitka-Plugins:anti-bloat: Not including '_bisect' automatically in order to avoid bloat, but this may cause: may slow down by using
    Nuitka-Plugins:anti-bloat: fallback implementation.
    Nuitka-Plugins:anti-bloat: Not including '_json' automatically in order to avoid bloat, but this may cause: may slow down by using
    Nuitka-Plugins:anti-bloat: fallback implementation.
    Nuitka: Completed Python level compilation and optimization.
    Nuitka: Generating source code for C backend compiler.
    Nuitka: Running data composer tool for optimal constant value handling.
    Nuitka: Running C compilation via Scons.
    Nuitka-Scons: Backend C compiler: gcc (gcc 13).
    Nuitka-Scons: Backend linking program with 118 files (no progress information available for this stage).
    Nuitka-Scons:WARNING: You are not using ccache, re-compilation of identical code will be slower than necessary. Use your OS package
    Nuitka-Scons:WARNING: manager to install it.
    Nuitka-Postprocessing: Creating single file from dist folder, this may take a while.
    Nuitka-Onefile: Running bootstrap binary compilation via Scons.
    Nuitka-Scons: Onefile C compiler: gcc (gcc 13).
    Nuitka-Scons: Onefile linking program with 1 files (no progress information available for this stage).
    Nuitka-Scons:WARNING: You are not using ccache, re-compilation of identical code will be slower than necessary. Use your OS package
    Nuitka-Scons:WARNING: manager to install it.
    Nuitka-Onefile: Using compression for onefile payload.
    Nuitka-Onefile: Onefile payload compression ratio (20.80%) size 88835015 to 18478682.
    Nuitka-Onefile: Keeping onefile build directory 'harmonic_fp16.onefile-build'.
    Nuitka: Keeping dist folder 'harmonic_fp16.dist' for inspection, no need to use it.
    Nuitka: Keeping build directory 'harmonic_fp16.build'.
    Nuitka: Successfully created 'harmonic_fp16.bin

    vysledek ma nejakych 18MB, to je podezrele malo :)