bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib-tool: Obey environment variable GNULIB_TOOL_IMPL


From: Simon Josefsson
Subject: Re: gnulib-tool: Obey environment variable GNULIB_TOOL_IMPL
Date: Fri, 15 Mar 2024 15:30:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Collin Funk <collin.funk1@gmail.com> writes:

>> But in the current state, it fails for nearly every command. There's
>> no hope that you can expect identical results from the two implementations
>> as long as there are still items in the TODO list.
>
> Yes. I am working on it. I've added the following lines to my
> ~/.profile:
>
> GNULIB_TOOL_IMPL="sh+py"
> export GNULIB_TOOL_IMPL

Wow it is very much faster!  \o/

jas@kaka:~/src/oath-toolkit$ time env GNULIB_TOOL_IMPL=sh make -f cfg.mk 
glimport 
...
real    0m44,908s
user    0m47,285s
sys     0m8,306s
jas@kaka:~/src/oath-toolkit$ git clean -d -x -f; git restore --worktree 
--staged .
jas@kaka:~/src/oath-toolkit$ time env GNULIB_TOOL_IMPL=py make -f cfg.mk 
glimport 
...
real    0m0,746s
user    0m0,593s
sys     0m0,154s
jas@kaka:~/src/oath-toolkit$ 

OATH Toolkit fails with sh+py though...  isn't the --local-dir part
working?  It doesn't notice the patches in liboath/gl/override.  Also it
seems to "forget" gl_LGPL([2]) in gnulib-cache.m4.

From a clean checkout, you want to run this command to run all
gnulib-tool invocations for OATH Toolkit:

make -f cfg.mk glimport

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]