SHA256
1
0
forked from pool/ninja

Accepting request 314674 from home:mathletic:branches:devel:tools:building

update to ninja 1.6.0.
Use Python 3 for configuration.

OBS-URL: https://build.opensuse.org/request/show/314674
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=21
This commit is contained in:
Ismail Dönmez 2015-07-01 08:59:14 +00:00 committed by Git OBS Bridge
parent 1dc93a9376
commit b8db698acd
5 changed files with 39 additions and 13 deletions

View File

@ -1,8 +1,8 @@
Index: ninja-1.5.3/src/subprocess_test.cc
Index: ninja-1.6.0/src/subprocess_test.cc
===================================================================
--- ninja-1.5.3.orig/src/subprocess_test.cc
+++ ninja-1.5.3/src/subprocess_test.cc
@@ -166,38 +166,6 @@ TEST_F(SubprocessTest, SetWithMulti) {
--- ninja-1.6.0/src/subprocess_test.cc.orig
+++ ninja-1.6.0/src/subprocess_test.cc
@@ -215,38 +215,6 @@
}
}
@ -17,8 +17,8 @@ Index: ninja-1.5.3/src/subprocess_test.cc
- // Make sure [ulimit -n] isn't going to stop us from working.
- rlimit rlim;
- ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlim));
- if (!EXPECT_GT(rlim.rlim_cur, kNumProcs)) {
- printf("Raise [ulimit -n] well above %u to make this test go\n", kNumProcs);
- if (rlim.rlim_cur < kNumProcs) {
- printf("Raise [ulimit -n] well above %u (currently %lu) to make this test go\n", kNumProcs, rlim.rlim_cur);
- return;
- }
-
@ -36,8 +36,9 @@ Index: ninja-1.5.3/src/subprocess_test.cc
- }
- ASSERT_EQ(kNumProcs, subprocs_.finished_.size());
-}
-#endif // !__APPLE__ && !_WIN32
-#endif // !__APPLE__ && !_WIN32
-
// TODO: this test could work on Windows, just not sure how to simply
// read stdin.
#ifndef _WIN32

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Jul 1 08:04:09 UTC 2015 - foss@grueninger.de
- Update to version 1.6.0
* rules are now scoped to the subninja they're in.
* dupe edges with multiple outputs now uses first edge
instead of last (#867)
* pools actually work now
* generators can now run more often than twice if needed
* unexpected output names now cause a rebuild instead of
a hard error
* POSIX-specific changes
+ child processes get detached from terminal
+ check for SIGINT after ppoll/pselect -> faster Ctrl-C
+ add an explicit SIGTERM signal handler
* Ran ninja under afl-fuzz and fixed all crashes and bugs it found
+ fix crashes on cyclic graphs with multiple outputs
+ failing stat() now aborts build
+ cyclic rule bindings no longer crash
+ dependency cycles with multiple outputs no longer get
ninja into a stuck state
- Update ninja-disable-maxprocs-test.patch to match upstream
changes
- use Python 3 for configure
-------------------------------------------------------------------
Wed Nov 26 07:42:03 UTC 2014 - idonmez@suse.com

View File

@ -20,12 +20,12 @@ Name: ninja
Summary: A small build system closest in spirit to Make
License: Apache-2.0
Group: Development/Tools/Building
Version: 1.5.3
Version: 1.6.0
Release: 0
Url: https://github.com/martine/ninja
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: python-base
BuildRequires: python3-base
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
Patch1: ninja-disable-maxprocs-test.patch
@ -39,7 +39,7 @@ and orchestrates building them, quickly.
%patch1 -p1
%build
python ./configure.py --bootstrap
python3 ./configure.py --bootstrap
%install
mkdir -p %{buildroot}%{_bindir}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c953b5a7c26cfcd082882e3f3e2cd08fee8848ad228bb47223b18ea18777ec0
size 168829

3
v1.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b43e88fb068fe4d92a3dfd9eb4d19755dae5c33415db2e9b7b61b4659009cde7
size 174501