Quote Originally Posted by deanjo View Post
Made the changes requested

Code:
sleep 3
CFLAGS=""
/usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s -j \$NUM_CPU_JOBS 2>&1 | grep Seconds" > time-compile-mplayer
and then running

./phoronix-test-suite run universe-cli

still results in this

Code:
======================================
Timed MPlayer Compilation (Run 1 of 1)
======================================

MPlayer Build Time: 11.03 Seconds

====================================
Timed MPlayer Compilation:
Time To Compile

11.03 Seconds

Average: 11.03 Seconds
====================================
Still no joy.
What about trying:

Code:
#!/bin/sh

cd $1

echo "#!/bin/sh

if [ ! -f MPlayer-1.0rc2.tar.bz2 ]
  then
    echo \"MPlayer Not Installed... Build Failed.\"
    exit
fi

rm -rf MPlayer-1.0rc2/
tar -xjf MPlayer-1.0rc2.tar.bz2
cd MPlayer-1.0rc2/
./configure > /dev/null
sleep 3
/usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s -j \$NUM_CPU_JOBS 2>&1 | grep Seconds

if [ \$? = 2 ]
    then
/usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s 2>&1 | grep Seconds
    exit
fi" > time-compile-mplayer

chmod +x time-compile-mplayer