From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.devel Subject: Re: Where is the eln search path defined Date: Tue, 19 May 2020 11:39:13 +0100 Message-ID: <87eergi4z2.fsf@linaro.org> References: <87v9kxd18j.fsf@linaro.org> <873681cdzc.fsf@linaro.org> <87sgg0c2ve.fsf@linaro.org> <87h7we9680.fsf@linaro.org> <87eeri8y4r.fsf@linaro.org> <871rnhl1n5.fsf@linaro.org> <87mu65jj6d.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="104831"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.6; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 19 12:40:00 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jazfD-000R80-Ew for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 12:39:59 +0200 Original-Received: from localhost ([::1]:33608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jazfC-0006vq-I3 for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 06:39:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jazeZ-0006Aw-Gd for emacs-devel@gnu.org; Tue, 19 May 2020 06:39:19 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:40157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jazeX-0005IU-9T for emacs-devel@gnu.org; Tue, 19 May 2020 06:39:18 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id n18so2913529wmj.5 for ; Tue, 19 May 2020 03:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=ZmZRth8hWoxwqoH99XSNZ13/FUnuw38mJtzVzyH0OjE=; b=EIQY0giWptcsqN2k7i0CWr9+ceP+vUlLFAqHkF3YI+7QknW4Xdi0zz2qLvE1mWkLp/ NLvAUvtOrlPaYXpuWxPQVrD7Y6jykT9Tytaf3c7tLDA0p8n+VVOw2gAR+iRGg5gONq38 L8Tvd78lpUjdL9Grxzh4MPGxl5GlfLz5LqVf0BUHy7CRlvNIJUehyvtmGhhOKhXq3pX1 w1S6QU4XIg8DGEVQ9E7uRwClf9Sa8d5crwj4qpsZLKLeLQ5BrYPmwxEnyYsC8oJ9yLrf jagrMmVTK39V5frkVRXBfdRVa/Ra732A6rG2qenVmBx2x7D4NeC1cXuq9k9GRM/ZjdCa hKpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=ZmZRth8hWoxwqoH99XSNZ13/FUnuw38mJtzVzyH0OjE=; b=Knx/K9weeKiSMUSnAiByKJZVDnLh6Jx0UO4x1wA8WT7eF1ZNhi4QYgzT0d22qJRSlK Xc+IIB3UusbSKGb/InWWjWXJw1aJ5JbOlWGsrHY4JDvuKLzy5KhV5lnaVQqNxC/EPdlR 1e6Ypy2+bw7qljXkDJ2EDn1o5MnzV5w8i3WnMusjN+mVbC80eQG1WXKsTUMTq+8daIcl HOW/g5NHkQHuC3L2rQfyWkr4AIyFVSjs/0Q2oIlXbjHme1xx9V782Cmbk53Ozi0VXwzC WoTHZ73EPXXqLKuvK/4J0uyeC36NVoECA/HKTHGNRzqhBe9nhwrOzYCz8GDivrOYaFQ4 6eXA== X-Gm-Message-State: AOAM533DOeFjWLYzUNjn+FG3uk3+ecBkNSdiA9EvYVK2L9NgfiBLsRQW U/uaDSQdFKgJoUlTMJp+MbeE96IiT7w= X-Google-Smtp-Source: ABdhPJxUdXR0KbzYprHjjcB8r9u/66XZqHzHtrKiRW9tI6c+Ul9d3nsONoeabX+oj24Lke6HBqrkZg== X-Received: by 2002:a7b:c358:: with SMTP id l24mr5010002wmj.13.1589884754992; Tue, 19 May 2020 03:39:14 -0700 (PDT) Original-Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e5sm20039761wro.3.2020.05.19.03.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 03:39:13 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0F43C1FF7E; Tue, 19 May 2020 11:39:13 +0100 (BST) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250902 Archived-At: Andrea Corallo writes: > Alex Benn=C3=A9e 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-hi= nts.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...d= one 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-l= inux-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-c= ons.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.e= ln -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-typ= e-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 --=20 Alex Benn=C3=A9e