diff options
author | Christian Melki <christian.melki@t2data.com> | 2022-05-13 15:46:21 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-05-18 19:50:24 +0200 |
commit | 09106f3a0b3079179c0470ed9484bfbd122e2459 (patch) | |
tree | b7c1d4003fb40a796a3a009d071ccb2cab7ec10c /patches/ninja-1.10.2.g51db2.kitware.jobserver-1/0001-don-t-close-open-fds.patch | |
parent | ed660a4b4bff78144b040e4553a72f2b1bb70fe8 (diff) | |
download | ptxdist-09106f3a0b3079179c0470ed9484bfbd122e2459.tar.gz ptxdist-09106f3a0b3079179c0470ed9484bfbd122e2459.tar.xz |
host-ninja: Version bump and fork change. 0.8.2 -> 1.10.2.g51db2.kitware.jobserver-1
Almost 5 years in the making. Lots of bugs and behavior has changed.
Upstream release notes from v1.8.2 (mostly referrals to git changes).
v1.9.0: https://groups.google.com/forum/#!topic/ninja-build/nY5Kb7zUvcg
v1.10.0: https://groups.google.com/d/msg/ninja-build/piOltAhywFA/zPfkrTtRCwAJ
v1.10.1: https://groups.google.com/d/msg/ninja-build/QQM54eAhrjU/q5zn_zTlAQAJ
v1.10.2: https://groups.google.com/d/msg/ninja-build/oobwq_F0PpA/FeJC5LoRBgAJ
Now follow in the path of others.
Due to the popular but stalled jobserver feature addition (6 years),
people has started forking ninja just for this feature.
https://github.com/buildroot/buildroot/commit/227d7e0cbaaf093f509f5728f06fad5f53caed7b
Do the same for ptxdist.
* Point ninja URL to the kitware fork.
* Upstream ninja now uses CMAKE. Drop python configuration.
* Reflect the CMAKE / PYTHON changes in the in file.
* Ninja is now default OOT. But lets keep it as it was for now. Disable OOT.
* Drop the old patchset which was the jobserver beside the fix for ptxdist
file descriptor handling.
* Forward file descriptor handling to a new patchset.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
Message-Id: <20220513134621.1963504-1-christian.melki@t2data.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/ninja-1.10.2.g51db2.kitware.jobserver-1/0001-don-t-close-open-fds.patch')
-rw-r--r-- | patches/ninja-1.10.2.g51db2.kitware.jobserver-1/0001-don-t-close-open-fds.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/ninja-1.10.2.g51db2.kitware.jobserver-1/0001-don-t-close-open-fds.patch b/patches/ninja-1.10.2.g51db2.kitware.jobserver-1/0001-don-t-close-open-fds.patch new file mode 100644 index 000000000..a2dfc5b8e --- /dev/null +++ b/patches/ninja-1.10.2.g51db2.kitware.jobserver-1/0001-don-t-close-open-fds.patch @@ -0,0 +1,30 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Mon, 29 Apr 2019 11:16:17 +0200 +Subject: [PATCH] don't close open fds + +PTXdist uses fd 9 to write debug information to the logfile. + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + configure.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.py b/configure.py +index 57e1ca3ab369..e49802f4c75b 100755 +--- a/configure.py ++++ b/configure.py +@@ -191,7 +191,7 @@ class Bootstrap: + try: + if self.verbose: + print(cmdline) +- subprocess.check_call(cmdline, shell=True) ++ subprocess.check_call(cmdline, shell=True, close_fds=False) + except subprocess.CalledProcessError: + print('when running: ', cmdline) + raise +@@ -716,4 +716,4 @@ if options.bootstrap: + if options.verbose: + rebuild_args.append('-v') + +- subprocess.check_call(rebuild_args) ++ subprocess.check_call(rebuild_args, close_fds=False) |