ベンチマークに使うツール関連
修訂 | f0fee2ae0d4e94f3438500c51e5c73f903827863 (tree) |
---|---|
時間 | 2012-08-22 05:19:13 |
作者 | hylom <hylom@hylo...> |
Commiter | hylom |
update unixbench SPEC
@@ -1,6 +1,6 @@ | ||
1 | 1 | Name: unixbench |
2 | 2 | Version: 5.1.3 |
3 | -Release: hy1 | |
3 | +Release: hy2 | |
4 | 4 | Group: Utilities |
5 | 5 | Vendor: hylom |
6 | 6 | URL: http://code.google.com/p/byte-unixbench/ |
@@ -11,6 +11,7 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root | ||
11 | 11 | Source: UnixBench%{version}.tgz |
12 | 12 | Requires: perl-Time-HiRes |
13 | 13 | Requires: make |
14 | +Patch: unixbench0.patch | |
14 | 15 | |
15 | 16 | %description |
16 | 17 | UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. |
@@ -18,6 +19,7 @@ Portable, fully-threaded I/O benchmark program | ||
18 | 19 | |
19 | 20 | %prep |
20 | 21 | %setup -q -n UnixBench |
22 | +%patch -p1 | |
21 | 23 | |
22 | 24 | %build |
23 | 25 | make |
@@ -0,0 +1,19 @@ | ||
1 | +diff -u UnixBench.old/Run UnixBench/Run | |
2 | +--- UnixBench.old/Run 2011-01-18 15:44:53.000000000 +0900 | |
3 | ++++ UnixBench/Run 2012-08-22 05:13:00.546380531 +0900 | |
4 | +@@ -784,15 +784,6 @@ | |
5 | + # Set the language. | |
6 | + $ENV{'LANG'} = $language; | |
7 | + | |
8 | +- # Check that the required files are in the proper places. | |
9 | +- system("make check"); | |
10 | +- if ($? != 0) { | |
11 | +- system("make all"); | |
12 | +- if ($? != 0) { | |
13 | +- abortRun("\"make all\" failed"); | |
14 | +- } | |
15 | +- } | |
16 | +- | |
17 | + # Create a script to kill this run. | |
18 | + system("echo \"kill -9 $$\" > \"${TMPDIR}/kill_run\""); | |
19 | + chmod(0755, $TMPDIR . "/kill_run"); |