Benchmarking: Povray

From Define Wiki
Jump to navigation Jump to search
  • Tested on SL6.1 (gcc 4.4.5)
  • Download:
  # Latest version here: http://www.povray.org/download/
  wget http://www.povray.org/redirect/www.povray.org/ftp/pub/povray/Official/Unix/povray-3.6.tar.gz
  • Build:
  tar zxvf povlinux-3.6tgz
  cd povray-3.6
  mkdir povray_local_insatll
  ./configure --prefix=/home/david/benchmarking/povray-3.6.1/povray_local_install COMPILED_BY=david.power@viglen.co.uk
  make 
  make install
  • Benchmark:
  cd $POVINSTALLDIR/bin    # POVINSTALLDIR not an actual variable, replace with location of povray install (--prefix)
  ./povray ../share/povray-3.6/scenes/advanced/benchmark.ini +I../share/povray-3.6/scenes/advanced/benchmark.pov
  • Timings:
    • E5-2670 CPUs: 788 seconds
  • Spec file to package Povray
Vendor:		Viglen
Packager:	Viglen
Summary:	Freeware multi-platform ray-tracing package
Name:		Povray
Version:	3.6
Release:	1          
License:	Personal use see http://www.povray.org/povlegal.html 
Group:		Applications/System
URl:		http://www.povray.org/

%description
Povray built with GCC
 
%prep
 

%build

povray-3.6.1/./configure --prefix=/root/rpmbuild/BUILDROOT/Povray-3.6-1.x86_64/usr COMPILED_BY=Viglen
make

%install
make install

%clean
 
%files
%defattr(-,root,root)
/*
/usr/bin/*
%changelog