Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
bandwidth
> bandwidth.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bandwidth.spec of Package bandwidth (Revision 32)
Currently displaying revision
32
,
show latest
%ifarch x86_64 %define _version 1.1 %else %define _version 1.1 %endif Name: bandwidth Version: %{_version} Release: 1 Group: System/Benchmark Summary: A memory bandwidth benchmark Url: http://zsmith.co/bandwidth.html License: GPLv2 Source: %{name}-%{_version}.tar.bz2 Patch0: bandwidth-1.1-objectorder.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: nasm >= 2.0 gcc sed %description bandwidth is an artificial benchmark for measuring memory bandwidth, useful for identifying a computer's weak areas. It tests several types of memory: * Level 1 cache sequential read accesses * Level 1 cache sequential write accesses * Level 2 cache sequential read accesses * Level 2 cache sequential write accesses * Main memory sequential read accesses * Main memory sequential write accesses * Framebuffer sequential read accesses (Linux only) * Framebuffer sequential write accesses (Linux only) * String library routines %prep %setup %patch0 %build %__make clean %ifnarch x86_64 %__make %{name}32 %__chmod 755 output mv output results mv %{name}32 %{name} %else %__make %{name}64 %__chmod 755 output mv output results mv %{name}64 %{name} %endif rm -rf results/._* %install %__install -D -m 755 %{name} %{buildroot}/%{_sbindir}/%{name} chmod -x README.txt COPYING.txt results/* %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc README.txt COPYING.txt results %{_sbindir}/%{name} %changelog