mirror of
https://github.com/Alcaro/Flips.git
synced 2026-04-21 01:27:33 -05:00
Turns out /usr/bin/time doesn't always exist. Let's skip it if not, it doesn't affect the results.
This commit is contained in:
parent
cc44e5da9c
commit
d11d856df9
9
make.sh
9
make.sh
|
|
@ -46,8 +46,13 @@ echo 'GTK+ (2/3)'
|
|||
# These files are downloaded and extracted from
|
||||
# https://ftp.mozilla.org/pub/firefox/releases/10.0esr/linux-x86_64/en-US/firefox-10.0esr.tar.bz2
|
||||
# https://ftp.mozilla.org/pub/firefox/releases/17.0esr/linux-x86_64/en-US/firefox-17.0esr.tar.bz2
|
||||
/usr/bin/time --verbose ./flips --create --bps-delta profile/firefox-10.0esr.tar profile/firefox-17.0esr.tar /dev/null
|
||||
/usr/bin/time --verbose ./flips --create --bps-delta-moremem profile/firefox-10.0esr.tar profile/firefox-17.0esr.tar /dev/null
|
||||
if [ -x /usr/bin/time ]; then
|
||||
TIME='/usr/bin/time --verbose'
|
||||
else
|
||||
TIME=''
|
||||
fi
|
||||
$TIME ./flips --create --bps-delta profile/firefox-10.0esr.tar profile/firefox-17.0esr.tar /dev/null
|
||||
$TIME ./flips --create --bps-delta-moremem profile/firefox-10.0esr.tar profile/firefox-17.0esr.tar /dev/null
|
||||
|
||||
echo 'GTK+ (3/3)'
|
||||
rm flips; TARGET=gtk make CFLAGS="$FLAGS$LINFLAGS -fprofile-use" || exit $?
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user