Skip to content

Commit

Permalink
CI: wheels / before-all: install libgl1-mesa-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Nov 21, 2024
1 parent e66da2b commit fa5961d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa5961d

Please sign in to comment.