mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
Release notes: https://github.com/ninja-build/ninja/releases
Version 1.13.0 added GNU Make jobserver support[1] so we switch back to
the official repo by partly reverting buildroot commit
227d7e0cba.
Comparing build times of mesa3d/iris between 1.13.2 and Kitware's latest
tag v1.13.0.gd74ef.kitware.jobserver-pipe-1 showed no difference on a
16c/32t machine with BR2_JLEVEL=0. The Kitware version adds pipe support
whose future is uncertain[2].
[1] https://github.com/ninja-build/ninja/releases/tag/v1.13.0
https://github.com/ninja-build/ninja/pull/2506
[2] https://github.com/ninja-build/ninja/pull/2506#issuecomment-2659944455
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
20 lines
538 B
Makefile
20 lines
538 B
Makefile
################################################################################
|
|
#
|
|
# ninja
|
|
#
|
|
################################################################################
|
|
|
|
NINJA_VERSION = 1.13.2
|
|
NINJA_SITE = $(call github,ninja-build,ninja,v$(NINJA_VERSION))
|
|
NINJA_LICENSE = Apache-2.0
|
|
NINJA_LICENSE_FILES = COPYING
|
|
|
|
# Filed against a different project called monitor-ninja
|
|
NINJA_IGNORE_CVES += CVE-2021-4336
|
|
|
|
define HOST_NINJA_INSTALL_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/bin/ninja
|
|
endef
|
|
|
|
$(eval $(host-cmake-package))
|