227d7e0cba
Switch to the Kitware(cmake maintainer) fork of ninja with make jobserver support. This fork has tagged releases based on upstream release tags with jobserver support added. It is sad that we need to switch to a fork to get this feature, but upstream is fighting it over philosophical issues, even though dozens of people request the feature and a PR for it has existed since 6 years [1]. [1] https://github.com/ninja-build/ninja/issues/1139 Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
18 lines
513 B
Makefile
18 lines
513 B
Makefile
################################################################################
|
|
#
|
|
# ninja
|
|
#
|
|
################################################################################
|
|
|
|
NINJA_VERSION_MAJOR = 1.10.2
|
|
NINJA_VERSION = $(NINJA_VERSION_MAJOR).g51db2.kitware.jobserver-1
|
|
NINJA_SITE = $(call github,Kitware,ninja,v$(NINJA_VERSION))
|
|
NINJA_LICENSE = Apache-2.0
|
|
NINJA_LICENSE_FILES = COPYING
|
|
|
|
define HOST_NINJA_INSTALL_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/bin/ninja
|
|
endef
|
|
|
|
$(eval $(host-cmake-package))
|