Unverified 提交 2470667d authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub

Meson: Pin ninja version to 1.10.2.4 (#948)

上级 c905ef53
# Changelog # Changelog
### NEXT
* Meson: Pin `ninja` version to 1.10.2.4 to avoid segfault in Linux using `ninja` latest version 1.11.1 (PR #).
### 3.11.1 ### 3.11.1
* `ActiveSpeakerObserver`: Revert 'dominantspeaker' event changes in PR #941 to avoid breaking changes (PR #947). * `ActiveSpeakerObserver`: Revert 'dominantspeaker' event changes in PR #941 to avoid breaking changes (PR #947).
......
...@@ -32,6 +32,11 @@ MESON_ARGS ?= "" ...@@ -32,6 +32,11 @@ MESON_ARGS ?= ""
# Workaround for NixOS and Guix that don't work with pre-built binaries, see: # Workaround for NixOS and Guix that don't work with pre-built binaries, see:
# https://github.com/NixOS/nixpkgs/issues/142383. # https://github.com/NixOS/nixpkgs/issues/142383.
PIP_BUILD_BINARIES = $(shell [ -f /etc/NIXOS -o -d /etc/guix ] && echo "--no-binary :all:") PIP_BUILD_BINARIES = $(shell [ -f /etc/NIXOS -o -d /etc/guix ] && echo "--no-binary :all:")
# Let's use a specific version of ninja to avoid version 1.11.1 due to a bug in
# Meson:
# https://mediasoup.discourse.group/t/partly-solved-could-not-detect-ninja-v1-8-2-or-newer/
# https://github.com/ninja-build/ninja/issues/2211
NINJA_VERSION ?= 1.10.2.4
# Disable `*.pyc` files creation. # Disable `*.pyc` files creation.
export PYTHONDONTWRITEBYTECODE = 1 export PYTHONDONTWRITEBYTECODE = 1
...@@ -95,7 +100,7 @@ ifeq ($(wildcard $(PIP_DIR)),) ...@@ -95,7 +100,7 @@ ifeq ($(wildcard $(PIP_DIR)),)
echo "Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package" echo "Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package"
# Install `meson` and `ninja` using `pip` into custom location, so we don't # Install `meson` and `ninja` using `pip` into custom location, so we don't
# depend on system-wide installation. # depend on system-wide installation.
$(PYTHON) -m pip install --upgrade --target=$(PIP_DIR) $(PIP_BUILD_BINARIES) meson==$(MESON_VERSION) ninja $(PYTHON) -m pip install --upgrade --target=$(PIP_DIR) $(PIP_BUILD_BINARIES) meson==$(MESON_VERSION) ninja==$(NINJA_VERSION)
endif endif
setup: meson-ninja setup: meson-ninja
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论