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 29)
Currently displaying revision
29
,
show latest
%ifarch x86_64 %define _version 1.0 %else %define _version 1.0 %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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: nasm >= 2.0 gcc %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 %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 %install %__install -D -m 755 %{name} %{buildroot}/%{_sbindir}/%{name} chmod -x README.txt COPYING.txt results/* results/._* %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc README.txt COPYING.txt results %{_sbindir}/%{name} %changelog