[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where is the eln search path defined
From: |
Alex Bennée |
Subject: |
Re: Where is the eln search path defined |
Date: |
Tue, 19 May 2020 11:39:13 +0100 |
User-agent: |
mu4e 1.4.6; emacs 28.0.50 |
Andrea Corallo <address@hidden> writes:
> Alex Bennée <address@hidden> writes:
>
>
>>> For
>>> One option to verify that is to hack a little the code or other option
>>> is to run this version instead:
>>>
>>> https://gitlab.com/koral/elisp-benchmarks
>>>
>>> I probably should update the official one to handle native compilation,
>>> haven't done it so far due to lack of time and because native
>>> compilation "officially" does not exists :)
>>
>> Can it not be made to fail gracefully (and perhaps add the
>> interpreted/bytecode/compiled status to the output table?)
>
> Yes I guess we should do something like that. Either add a table or
> support the native compilation when available and the entry function is
> called with the compile parameter set to t.
I added elisp-benchmarks.git to my .emacs.d and included in the
load-path but it fell over:
(require 'elisp-benchmark)
(elb-run)
But Messages show:
Compiling nbody.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/nbody.elc
Compiling bubble.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/bubble.elc
Compiling bubble-no-cons.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/bubble-no-cons.elc
Compiling fibn.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/fibn.elc
Compiling fibn-rec.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/fibn-rec.elc
Compiling fibn-tc.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/fibn-tc.elc
Compiling inclist-tc.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/inclist-tc.elc
Compiling listlen-tc.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/listlen-tc.elc
Compiling inclist-no-type-hints.el
Wrote
/home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/inclist-no-type-hints.elc
Compiling inclist-type-hints.el
Wrote
/home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/inclist-type-hints.elc
Compiling dhrystone.el
Wrote /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/dhrystone.elc
Loading /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/nbody.elc...done
Running /home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/nbody.el byte
compiled...
res: -0.16908075525401578
and: Cannot open load file: No such file or directory,
/home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/nbody.eln
However there I do have a directory with eln files in it:
/home/alex/.emacs.d/elisp-benchmarks.git/benchmarks/eln-aarch64-unknown-linux-gnu-e59b16aa72ffe0cd
~/.emacs.d/elisp-benchmarks.git/benchmarks/eln-aarch64-unknown-linux-gnu-e59b16aa72ffe0cd
$ ls -l
total 221
-rwxrwxr-x 1 alex alex 13464 2020-05-19 06:39
bubble-no-cons.eln
-rwxrwxr-x 1 alex alex 13416 2020-05-19 06:39 bubble.eln
-rwxrwxr-x 1 alex alex 70616 2020-05-19 06:42 dhrystone.eln
-rwxrwxr-x 1 alex alex 13416 2020-05-19 06:39 fibn-rec.eln
-rwxrwxr-x 1 alex alex 13424 2020-05-19 06:39 fibn-tc.eln
-rwxrwxr-x 1 alex alex 13408 2020-05-19 06:39 fibn.eln
-rwxrwxr-x 1 alex alex 13480 2020-05-19 06:39
inclist-no-type-hints.eln
-rwxrwxr-x 1 alex alex 13440 2020-05-19 06:39 inclist-tc.eln
-rwxrwxr-x 1 alex alex 13464 2020-05-19 06:39
inclist-type-hints.eln
-rwxrwxr-x 1 alex alex 13440 2020-05-19 06:39 listlen-tc.eln
-rwxrwxr-x 1 alex alex 35016 2020-05-19 06:39 nbody.eln
So I guess this is another path searching problem?
>
> Andrea
--
Alex Bennée
- Re: Where is the eln search path defined, (continued)
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/15
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/15
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/17
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/17
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/17
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/17
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/18
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/18
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/18
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/18
- Re: Where is the eln search path defined,
Alex Bennée <=
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/19
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/19
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/19
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/19
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/20
- Re: Where is the eln search path defined, Alex Bennée, 2020/05/25
- Re: Where is the eln search path defined, Gong-Yi Liao 廖宮毅, 2020/05/25
- Re: Where is the eln search path defined, Andrea Corallo, 2020/05/25
- Re: Where is the eln search path defined, Thomas Fitzsimmons, 2020/05/19
- Re: Where is the eln search path defined, Eli Zaretskii, 2020/05/16