SHA256
1
0
forked from pool/ninja

Accepting request 392929 from devel:tools:building

- Update to version 1.7.1
  * Change default NINJA_STATUS to [%f/%t] github issue #1143

- update to version 1.7.0
  * ninja now supports implicit outputs.
  * Ninja's output has slightly changed, to make it easier to
    automated tools to look at ninja's output.
  * Ninja now explicitly handles SIGHUP and cleans up after itself.
  * Ninja now uses posix_spawn instead of fork/exec to launch
    subprocesses (on POSIX).
- adjust links to new wesite

- Make it build on SLE11 (use python2 there).

OBS-URL: https://build.opensuse.org/request/show/392929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ninja?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2016-05-04 06:17:56 +00:00 committed by Git OBS Bridge
commit 7eb57e5019
5 changed files with 42 additions and 13 deletions

View File

@ -1,8 +1,6 @@
Index: ninja-1.6.0/src/subprocess_test.cc
===================================================================
--- ninja-1.6.0/src/subprocess_test.cc.orig
+++ ninja-1.6.0/src/subprocess_test.cc
@@ -215,38 +215,6 @@
--- ninja-1.7.0/src/subprocess_test.cc.orig 2016-04-27 21:17:10.000000000 +0200
+++ ninja-1.7.0/src/subprocess_test.cc 2016-04-28 07:18:42.227614370 +0200
@@ -214,39 +214,6 @@
}
}
@ -18,7 +16,8 @@ Index: ninja-1.6.0/src/subprocess_test.cc
- rlimit rlim;
- ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &rlim));
- if (rlim.rlim_cur < kNumProcs) {
- printf("Raise [ulimit -n] well above %u (currently %lu) to make this test go\n", kNumProcs, rlim.rlim_cur);
- printf("Raise [ulimit -n] above %u (currently %lu) to make this test go\n",
- kNumProcs, rlim.rlim_cur);
- return;
- }
-
@ -41,4 +40,3 @@ Index: ninja-1.6.0/src/subprocess_test.cc
// TODO: this test could work on Windows, just not sure how to simply
// read stdin.
#ifndef _WIN32

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Fri Apr 29 17:34:13 UTC 2016 - idonmez@suse.com
- Update to version 1.7.1
* Change default NINJA_STATUS to [%f/%t] github issue #1143
-------------------------------------------------------------------
Thu Apr 28 05:24:46 UTC 2016 - foss@grueninger.de
- update to version 1.7.0
* ninja now supports implicit outputs.
* Ninja's output has slightly changed, to make it easier to
automated tools to look at ninja's output.
* Ninja now explicitly handles SIGHUP and cleans up after itself.
* Ninja now uses posix_spawn instead of fork/exec to launch
subprocesses (on POSIX).
- adjust links to new wesite
-------------------------------------------------------------------
Tue Apr 26 13:27:25 UTC 2016 - matz@suse.de
- Make it build on SLE11 (use python2 there).
-------------------------------------------------------------------
Sat Jan 30 21:39:59 UTC 2016 - mpluskal@suse.com

View File

@ -17,16 +17,20 @@
Name: ninja
Version: 1.6.0
Version: 1.7.1
Release: 0
Summary: A small build system closest in spirit to Make
License: Apache-2.0
Group: Development/Tools/Building
Url: https://github.com/martine/ninja
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
Url: https://ninja-build.org/
Source0: https://github.com/ninja-build/ninja/archive/v%{version}.tar.gz
Patch1: ninja-disable-maxprocs-test.patch
BuildRequires: gcc-c++
%if 0%{?suse_version} <= 1110
BuildRequires: python-base
%else
BuildRequires: python3-base
%endif
BuildRequires: re2c
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -42,7 +46,11 @@ and orchestrates building them, quickly.
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%if 0%{?suse_version} <= 1110
python ./configure.py --bootstrap --verbose
%else
python3 ./configure.py --bootstrap --verbose
%endif
%install
mkdir -p %{buildroot}%{_bindir}

View File

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

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

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