X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Fbuild-profile.sh;h=fc872de0b903453e6aaafdfeda3e3982af8e964b;hb=d194ee9f637a200ac26b59e818acf5ca37985dc9;hp=b7ac93b6136407dd1dd31369bc5c4b17b59a7231;hpb=297afd09b9e7b76e1806411ad737496d59a4bb5b;p=lilypond.git diff --git a/buildscripts/build-profile.sh b/buildscripts/build-profile.sh index b7ac93b613..fc872de0b9 100755 --- a/buildscripts/build-profile.sh +++ b/buildscripts/build-profile.sh @@ -17,9 +17,14 @@ fi make conf=prof -j2 -rm -rf out-prof -mkdir out-prof -cd out-prof + +depth=../.. +resultdir=out/profile-results + +rm -rf $resultdir +mkdir $resultdir +cd $resultdir + echo 'foo = \new Staff \new Voice \repeat unfold 50 \relative { c4 d8[ d16( e]~ e16[ e e) f] g8 } \new ChoirStaff << @@ -29,8 +34,8 @@ echo 'foo = \new Staff \new Voice \repeat unfold 50 \relative { c4 d8[ d16( e]~ >>' > long-score.ly -./bin/lilypond -ddump-profile -I ../input/ -I ../input/mutopia/J.S.Bach/ \ - -I ../input/mutopia/W.A.Mozart/ +../bin/lilypond -ddump-profile -I $depth/input/ -I $depth/input/mutopia/J.S.Bach/ \ + -I $depth/input/mutopia/W.A.Mozart/ \ wtk-fugue2 mozart-hrn-3 long-score -gprof ./bin/lilypond +gprof ../bin/lilypond