Skip to content

Instantly share code, notes, and snippets.

View EwoutH's full-sized avatar

Ewout ter Hoeven EwoutH

View GitHub Profile
@EwoutH
EwoutH / PyPI-non-ABI-stable-wheels-proposal.md
Created October 17, 2022 15:58
Introduce system to recognize, manage and install non-ABI-stable Python wheels (created with alpha/beta versions of Python)

Problem

Wheels are extremely important for the Python ecosystem, and especially the scientific subsection. Newer Python versions offer many benefits, like new features and faster performance. On the release of a new Python version, for many packages wheels are unfortunately often not immediately available for that version.

This is a problem with many aspects, and in this feature request a system is proposed to partly but significant improve this situations.

The Python annual release cycle, as described in PEP 602, knows 3 phases. In the Alpha phase new features are added and bugs are fixed, during 7 months. The 3-month Beta phase allows for bug fixes. The 2-month release candidate phase is not clearly described in PEP 602, but practically only essential bugs and security issues are fixed. Historically, it also starts the ABI-stable phase for that minor Python version (Python 3.10.0rc1 | [3.11.0rc1](https://ww

@EwoutH
EwoutH / zopfli-compile.txt
Created October 23, 2019 09:31
AppVeyor Zopfli build warnings and errors
Build FAILED.
"C:\projects\zopfli\cmake_build\zopfli.sln" (default target) (1) ->
"C:\projects\zopfli\cmake_build\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\projects\zopfli\cmake_build\libzopfli.vcxproj.metaproj" (default target) (4) ->
"C:\projects\zopfli\cmake_build\libzopfli.vcxproj" (default target) (5) ->
(ClCompile target) ->
C:\projects\zopfli\src\zopfli\cache.c(36,9): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t' [C:\projects\zopfli\cmake_build\libzopfli.vcxproj]
C:\projects\zopfli\src\zopfli\cache.c(70,27): warning C4267: '=': conversion from 'size_t' to 'unsigned char', possible loss of data [C:\projects\zopfli\cmake_build\libzopfli.vcxproj]
C:\projects\zopfli\src\zopfli\cache.c(73,21): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\projects\zopfli\cmake_build\libzopfli.vcxproj]
C:\projects\zopfli\src\zopfli\deflate.c(392,49): warning C4267: 'funct
@EwoutH
EwoutH / arm-errors.txt
Created October 8, 2019 22:32
SVT-AV1 ARM build errors
[ 8%] Building C object Source/Lib/Common/ASM_SSE4_1/CMakeFiles/COMMON_ASM_SSE4_1.dir/EbComputeSAD_Intrinsic_SSE4_1.c.o
[ 9%] Building C object Source/Lib/Common/ASM_SSE4_1/CMakeFiles/COMMON_ASM_SSE4_1.dir/EbBlend_a64_mask_sse4.c.o
/root/SVT-AV1/Source/Lib/Common/ASM_SSSE3/EbHighbdIntraPrediction_Intrinsic_SSSE3.c:5:10: fatal error: tmmintrin.h: No such file or directory
#include <tmmintrin.h>
^~~~~~~~~~~~~
compilation terminated.
Source/Lib/Common/ASM_SSSE3/CMakeFiles/COMMON_ASM_SSSE3.dir/build.make:86: recipe for target 'Source/Lib/Common/ASM_SSSE3/CMakeFiles/COMMON_ASM_SSSE3.dir /EbHighbdIntraPrediction_Intrinsic_SSSE3.c.o' failed
make[2]: *** [Source/Lib/Common/ASM_SSSE3/CMakeFiles/COMMON_ASM_SSSE3.dir/EbHighbdIntraPrediction_Intrinsic_SSSE3.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/root/SVT-AV1/Source/Lib/Common/ASM_SSE4_
@EwoutH
EwoutH / encoder-commands-20191008.txt
Created October 8, 2019 10:22
Encoder Linux compile and benchmark commands
sudo apt-get update;
sudo apt-get install -y build-essential git cmake make yasm wget mercurial cmake-curses-gui nasm;
sudo apt-get install -y -qq gcc-8 g++-8;
export PATH=$PATH:/usr/bin/
wget -O sintel.y4m https://media.xiph.org/video/derf/y4m/sintel_trailer_2k_1080p24.y4m
wget -O netflix-10b.y4m https://media.xiph.org/video/derf/ElFuente/Netflix_FoodMarket2_4096x2160_60fps_10bit_420.y4m
sudo rm -rf x265
@EwoutH
EwoutH / gist:b762f3d87670bc41ec1899d23e24403e
Created April 13, 2019 10:59
rav1e cargo dependencies
rav1e v0.1.0 (C:\projects\rav1e)
├── arg_enum_proc_macro v0.1.1
│ ├── proc-macro2 v0.4.27
│ │ └── unicode-xid v0.1.0
│ ├── quote v0.6.12
│ │ └── proc-macro2 v0.4.27 (*)
│ └── syn v0.15.30
│ ├── proc-macro2 v0.4.27 (*)
│ ├── quote v0.6.12 (*)
│ └── unicode-xid v0.1.0 (*)