diff --git a/justfile b/justfile index 63555456..3b17cbd4 100644 --- a/justfile +++ b/justfile @@ -33,3 +33,11 @@ imgui_rebase: imgui_te_rebase: cd external/imgui_test_engine/imgui_test_engine && git fetch official && git rebase official/main + +# Runs a musllinux docker container (to test the musllinux cibuild) +cibuild_docker_musllinux: + docker run -it --rm quay.io/pypa/musllinux_1_1_x86_64 bash + +# Runs a manylinux docker container (to test the manylinux cibuild) +cibuild_docker_manylinux: + docker run -it --rm quay.io/pypa/manylinux2014_x86_64 bash diff --git a/pyproject.toml b/pyproject.toml index 8448fe0c..cb8e0cf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,10 +130,15 @@ environment-pass = ["IMMVISION_OPENCV_GIT_REPO"] # pass alternative git repo to # * manylinux_2_24 (Debian 8) uses apt (and is stuck on GCC 6), # => apt install xorg-dev # * musllinux_1_1 MUSL based distributions of Linux (like Alpine). uses apk -before-all = "yum install -y libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel" +# +# Also, do the equivalent of: +# sudo apt-get install -y xorg-dev libgl1-mesa-dev libglfw3-dev libglew-dev xvfb + +# sudo apt-get install -y libgl1-mesa-dev +before-all = "yum install -y libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel mesa-libGL-devel" [[tool.cibuildwheel.overrides]] select = "*-musllinux*" -before-all = "apk add xorg-server-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev" +before-all = "apk add xorg-server-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev mesa-dev" #------------------------------------ # windows wheels options