Re: [RFC] Moving to Guile 2.2 and away from GUB

2021-11-28 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Sonntag, dem 28.11.2021 um 12:07 +0100 schrieb Han-Wen Nienhuys:
> Semi related - it looks like GUILE 2.2 is a ~30% slowdown relative to
> 1.8. I don't have the numbers in my head anymore; does that sound
> right?

Depending on what exactly you are testing, that sounds about right; see
https://lists.gnu.org/archive/html/lilypond-devel/2021-04/msg00012.html


signature.asc
Description: This is a digitally signed message part


Re: Lilypond variables

2021-11-28 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Sonntag, dem 28.11.2021 um 13:30 + schrieb Phil Holmes:
> On 28/11/2021 13:04, Jonas Hahnfeld wrote:
> > Am Sonntag, dem 28.11.2021 um 12:57 + schrieb Phil Holmes:
> > > I'm trying to kick of a GUB build, but accessing my Ubuntu build machine
> > > via a different route, because of problems I had earlier with my Windows
> > > machine crashing.  I'm using a Remote Desktop Connection from my Windows
> > > machine.  The user interface looks fairly different, but everything
> > > seems to be there - except the variables like $LILYPOND_GIT and
> > > $LILYPOND_BUILD_DIR.  I assume that the file that's run on logging in
> > > directly and which sets these variables isn't being run.  Is there a way
> > > to set them manually by running the same file?  If so, which would it
> > > be?  Or is there a better way?
> > Assuming you're using bash, `source .bash_profile` might do. However, I
> > don't think the variables are needed for GUB. (In fact, I don't think
> > LilyPond's build system uses them at all anymore.)
> > 
> > Jonas
> 
> It's getting the PO build done that fails, since it is instructed to 
> build it from $LILY_POND_BUILD_DIR which doesn't exist.

I guess you're referring to the instructions given here:
http://lilypond.org/doc/v2.23/Documentation/contributor/minor-release-checklist
? It would also be possible to manually cd to the build directory and
run the respective commands...

Jonas


signature.asc
Description: This is a digitally signed message part


Re: Lilypond variables

2021-11-28 Thread Phil Holmes

On 28/11/2021 13:04, Jonas Hahnfeld wrote:

Am Sonntag, dem 28.11.2021 um 12:57 + schrieb Phil Holmes:

I'm trying to kick of a GUB build, but accessing my Ubuntu build machine
via a different route, because of problems I had earlier with my Windows
machine crashing.  I'm using a Remote Desktop Connection from my Windows
machine.  The user interface looks fairly different, but everything
seems to be there - except the variables like $LILYPOND_GIT and
$LILYPOND_BUILD_DIR.  I assume that the file that's run on logging in
directly and which sets these variables isn't being run.  Is there a way
to set them manually by running the same file?  If so, which would it
be?  Or is there a better way?

Assuming you're using bash, `source .bash_profile` might do. However, I
don't think the variables are needed for GUB. (In fact, I don't think
LilyPond's build system uses them at all anymore.)

Jonas


It's getting the PO build done that fails, since it is instructed to 
build it from $LILY_POND_BUILD_DIR which doesn't exist.


Phil




Re: Lilypond variables

2021-11-28 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Sonntag, dem 28.11.2021 um 12:57 + schrieb Phil Holmes:
> I'm trying to kick of a GUB build, but accessing my Ubuntu build machine 
> via a different route, because of problems I had earlier with my Windows 
> machine crashing.  I'm using a Remote Desktop Connection from my Windows 
> machine.  The user interface looks fairly different, but everything 
> seems to be there - except the variables like $LILYPOND_GIT and 
> $LILYPOND_BUILD_DIR.  I assume that the file that's run on logging in 
> directly and which sets these variables isn't being run.  Is there a way 
> to set them manually by running the same file?  If so, which would it 
> be?  Or is there a better way?

Assuming you're using bash, `source .bash_profile` might do. However, I
don't think the variables are needed for GUB. (In fact, I don't think
LilyPond's build system uses them at all anymore.)

Jonas


signature.asc
Description: This is a digitally signed message part


Lilypond variables

2021-11-28 Thread Phil Holmes
I'm trying to kick of a GUB build, but accessing my Ubuntu build machine 
via a different route, because of problems I had earlier with my Windows 
machine crashing.  I'm using a Remote Desktop Connection from my Windows 
machine.  The user interface looks fairly different, but everything 
seems to be there - except the variables like $LILYPOND_GIT and 
$LILYPOND_BUILD_DIR.  I assume that the file that's run on logging in 
directly and which sets these variables isn't being run.  Is there a way 
to set them manually by running the same file?  If so, which would it 
be?  Or is there a better way?


Thanks in advance

Phil H




Re: [RFC] Moving to Guile 2.2 and away from GUB

2021-11-28 Thread Han-Wen Nienhuys
On Sat, Nov 27, 2021 at 11:27 PM Han-Wen Nienhuys  wrote:
>
> On Fri, Nov 26, 2021 at 12:54 PM Jonas Hahnfeld  wrote:
> > A build without optimizations crashed more or less immediately upon
> > compiling the regression tests. That said, I'm not really interested in
> > debugging advice - if you have ideas, please reproduce the problem on
> > your end (shouldn't be too hard) and try them.
>
> I tried both ideas, and it doesn't help.

https://gitlab.com/lilypond/lilypond/-/merge_requests/1035 seems to
help. With that change, I could run doc + doc-clean ~5 times in a row
without crashes.

Semi related - it looks like GUILE 2.2 is a ~30% slowdown relative to
1.8. I don't have the numbers in my head anymore; does that sound
right?

-- 
Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen