Skip to contentSkip to conversation

package/ninja: add make jobserver support

PATCH In review James Hilliard 2 participants 2 messages May 4, 2022 – May 5, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/ninja/ninja.hash | 2 +-
 package/ninja/ninja.mk   | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
package/ninja/ninja.hash +1 -1
index fd2c594a77..ecde199844 100644
@@ -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
package/ninja/ninja.mk +3 -2
index ab1941023e..bc84046414 100644
@@ -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
 
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · James Hilliard

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's really sad that we have to switch to a fork for this, but no progress
since 6 years, so I guess that's how it is...

Regards,
Arnout

Quoted 20 lines
---
  package/ninja/ninja.hash | 2 +-
  package/ninja/ninja.mk   | 5 +++--
  2 files changed, 4 insertions(+), 3 deletions(-)
package/ninja/ninja.hash +1 -1
index fd2c594a77..ecde199844 100644
@@ -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
package/ninja/ninja.mk +0 -0
index ab1941023e..bc84046414 100644
@@ -4,8 +4,9 @@
  #

package/ninja/ninja.mk line 12

Quoted 10 lines
package/ninja/ninja.mk +3 -2
  ################################################################################
 
-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
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot