forked from pool/ninja
Accepting request 314680 from devel:tools:building
1 OBS-URL: https://build.opensuse.org/request/show/314680 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ninja?expand=0&rev=12
This commit is contained in:
commit
0d78c1ed83
@ -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.6.0/src/subprocess_test.cc.orig
|
||||||
+++ ninja-1.5.3/src/subprocess_test.cc
|
+++ ninja-1.6.0/src/subprocess_test.cc
|
||||||
@@ -166,38 +166,6 @@ TEST_F(SubprocessTest, SetWithMulti) {
|
@@ -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.
|
- // Make sure [ulimit -n] isn't going to stop us from working.
|
||||||
- rlimit rlim;
|
- rlimit rlim;
|
||||||
- ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlim));
|
- ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlim));
|
||||||
- if (!EXPECT_GT(rlim.rlim_cur, kNumProcs)) {
|
- if (rlim.rlim_cur < kNumProcs) {
|
||||||
- printf("Raise [ulimit -n] well above %u to make this test go\n", kNumProcs);
|
- printf("Raise [ulimit -n] well above %u (currently %lu) to make this test go\n", kNumProcs, rlim.rlim_cur);
|
||||||
- return;
|
- return;
|
||||||
- }
|
- }
|
||||||
-
|
-
|
||||||
@ -36,8 +36,9 @@ Index: ninja-1.5.3/src/subprocess_test.cc
|
|||||||
- }
|
- }
|
||||||
- ASSERT_EQ(kNumProcs, subprocs_.finished_.size());
|
- 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
|
// TODO: this test could work on Windows, just not sure how to simply
|
||||||
// read stdin.
|
// read stdin.
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
@ -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
|
Wed Nov 26 07:42:03 UTC 2014 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -20,12 +20,12 @@ Name: ninja
|
|||||||
Summary: A small build system closest in spirit to Make
|
Summary: A small build system closest in spirit to Make
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Version: 1.5.3
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/martine/ninja
|
Url: https://github.com/martine/ninja
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-base
|
BuildRequires: python3-base
|
||||||
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
|
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
|
||||||
Patch1: ninja-disable-maxprocs-test.patch
|
Patch1: ninja-disable-maxprocs-test.patch
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ and orchestrates building them, quickly.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python ./configure.py --bootstrap
|
python3 ./configure.py --bootstrap
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
@ -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
3
v1.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b43e88fb068fe4d92a3dfd9eb4d19755dae5c33415db2e9b7b61b4659009cde7
|
||||||
|
size 174501
|
Loading…
Reference in New Issue
Block a user