Browse Source

package/ninja: add make jobserver support

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>
James Hilliard 3 years ago
parent
commit
227d7e0cba
2 changed files with 4 additions and 3 deletions
  1. 1 1
      package/ninja/ninja.hash
  2. 3 2
      package/ninja/ninja.mk

+ 1 - 1
package/ninja/ninja.hash

@@ -1,3 +1,3 @@
 # Locally generated
-sha256  ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed  ninja-1.10.2.tar.gz
+sha256  549c31ee596566b952c600e23eb9b8d39a4112cd5fdeb2e5a83370669176da40  ninja-1.10.2.g51db2.kitware.jobserver-1.tar.gz
 sha256  eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea  COPYING

+ 3 - 2
package/ninja/ninja.mk

@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-NINJA_VERSION = 1.10.2
-NINJA_SITE = $(call github,ninja-build,ninja,v$(NINJA_VERSION))
+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