[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond, guile 2 and OpenSuSE
From: |
Knut Petersen |
Subject: |
lilypond, guile 2 and OpenSuSE |
Date: |
Fri, 25 Nov 2016 13:29:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 |
Hi everybody!
Status of guile on OpenSuSE distributions:
==========================================
OpenSuSE Tumbleweed includes guile 2.0.13 since 2016-10-15.
OpenSuSE Leap does include guile 2, but the version is too old to support
lilypond.
Manual installation of the guile 2 version from Tumbleweed is possible on Leap.
All current versions of the OpenSuSE distribution allow simultaneous
installation of guile 1 and 2.
Building current lilypond master using guile 1 on Tumbleweed succeeds:
======================================================================
Building lilypond 92d84685be9b496d4c983e555e846341ecc4e5f0... this will take
some time ;-)
configure flags to be used: --prefix=/home/knut/sources/lilyg1built/
exec ./autogen.sh --noconfigure in /home/knut/sources/lily ... succeeded
after 0 seconds
exec ../configure --prefix=/home/knut/sources/lilyg1built/ in
/home/knut/sources/lily/build ... succeeded after 5 seconds
exec make -k -j 11 CPU_COUNT=11 all in /home/knut/sources/lily/build ...
succeeded after 92 seconds
exec make -j 11 CPU_COUNT=11 install in /home/knut/sources/lily/build ...
succeeded after 2 seconds
exec make -j 11 CPU_COUNT=11 doc in /home/knut/sources/lily/build ...
succeeded after 831 seconds
exec make -j 11 CPU_COUNT=11 install-doc in /home/knut/sources/lily/build
... succeeded after 4 seconds
Total lilypond build time: 934 seconds
Building current lilypond master + the 15 patches from
ao2.it/tmp/lilypond-guile2/patches_2016-11-22
using guile 2 on Tumbleweed succeeds too:
======================================================================================================
Building lilypond d0c4acca9fc6a9d9f2d2073ab01499809b7e4981... this will take
some time ;-)
configure flags to be used: --prefix=/home/knut/sources/lilyg2built/
--enable-guile2
exec ./autogen.sh --noconfigure in /home/knut/sources/lilyg2 ... succeeded
after 1 seconds
exec ../configure --prefix=/home/knut/sources/lilyg2built/ --enable-guile2
in /home/knut/sources/lilyg2/build ... succeeded after 5 seconds
exec make -k -j 11 CPU_COUNT=11 all in /home/knut/sources/lilyg2/build ...
succeeded after 98 seconds
exec make -j 11 CPU_COUNT=11 install in /home/knut/sources/lilyg2/build ...
succeeded after 1 seconds
exec make -j 11 CPU_COUNT=11 doc in /home/knut/sources/lilyg2/build ...
succeeded after 1313 seconds
exec make -j 11 CPU_COUNT=11 install-doc in /home/knut/sources/lilyg2/build
... succeeded after 5 seconds
Total lilypond build time: 1423 seconds
Tests
=====
Compiling some of my own scores with both the guile 1 and guile 2 versions
succeeds. The pdfs are visually identical,
although they are not byte-identical. Compiling to postscript and comparing the
results shows the reason:
address@hidden:~/Invention> diff Distler_LobeDenHerren_Schwabacher_g1.ps
Distler_LobeDenHerren_Schwabacher_g2.ps
15c15
< /lilypond-datadir where {pop} {userdict /lilypond-datadir
(/home/knut/sources/lilyg1built/share/lilypond/2.19.52) put } ifelse
---
> /lilypond-datadir where {pop} {userdict /lilypond-datadir
(/home/knut/sources/lilyg2built/share/lilypond/2.19.52) put } ifelse
5639,5641c5639,5641
< /lily-output-units 2.83464566929134 def %% millimeter
< /staff-line-thickness 0.119078341013825 def
< /line-width 124.824993649987 def
---
> /lily-output-units 2.834645669291339 def %% millimeter
> /staff-line-thickness 0.11907834101382486 def
> /line-width 124.82499364998729 def
5644,5646c5644,5646
< /output-scale 1.36190673861907 def
< /page-height 218.076606553213 def
< /page-width 154.195580391161 def
---
> /output-scale 1.3619067386190675 def
> /page-height 218.07660655321308 def
> /page-width 154.19558039116077 def
So there is no real problem, only an irrelevant difference in precision.
Speed
=====
Compiling a moderately complex score with both versions showed
that the guile-2-version is much slower (real exec times):
guile-2-version: 0m20,032s 0m19,186 0m19,124s
guile-1-version: 0m8,814s 0m9,023s 0m8,971s
cu,
Knut
- lilypond, guile 2 and OpenSuSE,
Knut Petersen <=