From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.help Subject: Re: limit native compilation - how Date: Mon, 17 Jan 2022 15:54:55 -0600 Message-ID: References: <8735lp57kl.fsf@yandex.com> <83r199ymxj.fsf@gnu.org> <875yqluem4.fsf@zoho.eu> <83pmoszxwx.fsf@gnu.org> <874k64ddwo.fsf@yandex.com> <86h7a4954a.fsf@duenenhof-wilhelm.de> <83czksyszr.fsf@gnu.org> <86zgnv7w9n.fsf@duenenhof-wilhelm.de> <83wnizykig.fsf@gnu.org> <86r1977uu6.fsf@duenenhof-wilhelm.de> <83tue3yiw9.fsf@gnu.org> <86h7a37qzf.fsf@duenenhof-wilhelm.de> <87zgnvdcpw.fsf@zoho.eu> <86czkr7pov.fsf@duenenhof-wilhelm.de> <83o84bye6m.fsf@gnu.org> <86y23f5xxd.fsf@duenenhof-wilhelm.de> <83zgnvwmc1.fsf@gnu.org> <86tue25vo9.fsf@duenenhof-wilhelm.de> <83fspmwjym.fsf@gnu.org> <86pmoq5omh.fsf@duenenhof-wilhelm.de> <868rve5gmc.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: "H. Dieter Wilhelm" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 17 22:56:32 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1n9ZzJ-0009gJ-N1 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 17 Jan 2022 22:56:29 +0100 Original-Received: from localhost ([::1]:53536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9ZzI-00016y-Rg for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 17 Jan 2022 16:56:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Zy3-0000yU-00 for help-gnu-emacs@gnu.org; Mon, 17 Jan 2022 16:55:12 -0500 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:33495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9Zy0-0001Z2-Id; Mon, 17 Jan 2022 16:55:10 -0500 Original-Received: by mail-ed1-f46.google.com with SMTP id b13so71412056edn.0; Mon, 17 Jan 2022 13:55:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vNyhDnVQyAh5hOEznKPEcY8pX6tVJhWnfcHpiULYwq0=; b=gK6GJQ2f2WU2De0mz4Hb/rI5JNpsuucLYDloQ1RbZMwKWKNKN0pmnhYSDwBw8+uZ8m uQvXgapCmf0uF3TGLUTE89793mbLbJz7b7DsLL1eLaBicYRJz7InUeB+Lqa65CXICCVG 0w/9FRzc+huY2Gr8cb6QzzcsN3HJfGcMkvUuo3m2fHUahkTshCQy2xquMY9esy7TpCli J00bLlQmX52PI0qx6kQi2ZGNPc2OxY1WCumrM3v7JJ8zQobkx8G4fwrx/eSnVt+M7POj pSe8Xi/vtMgtRZZyTV+I13d4lSPxdHpYHBYIUTMF2ITFHK6GBoXUzvr2CGM67H/G17WJ zLag== X-Gm-Message-State: AOAM530CGK4fnfcgz4ULEdSVBwGe9Uzyr8CZOFCaUsE281MIeS/8IeMa rLWFTPNrMPyatF3EopKTxH4Knr2H7MNPfqB4VGQ= X-Google-Smtp-Source: ABdhPJxqo15/RfDSFVNurE9xofWHhQw0RUGL13oOZWMH5NqFWfb0HAPtFM+HHfaWEGhieJZbdV9xqpQ3Hzn0Y+A1pVg= X-Received: by 2002:a05:6402:430a:: with SMTP id m10mr11576663edc.96.1642456506787; Mon, 17 Jan 2022 13:55:06 -0800 (PST) In-Reply-To: <868rve5gmc.fsf@duenenhof-wilhelm.de> Received-SPF: pass client-ip=209.85.208.46; envelope-from=mplscorwin@gmail.com; helo=mail-ed1-f46.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135394 Archived-At: Home, safe and sound! On Mon, Jan 17, 2022 at 1:04 PM H. Dieter Wilhelm wrote: > Corwin Brust writes: > > I'm wondering if it would be more fluid to compile packages natively > > during installation and updating? The user expects then a delay, > > anyway, and might be spared small "jerkings" during normal operation.. > > > > You can pass make an argument to cause this. This has been my usual > > routine for the last several months. (IIRC) NATIVE_FULL_AOT=1 > > Thanks, I've read about this option but I can't find where to specify > it? Here's the "usual" recipe I've been using. Sometimes (when I screw up my build tree) I use "make maintainer-clean" instead of "make clean". git pull && make clean && ./autogen.sh && ./configure --with-native-compilation && make -j 20 NATIVE_FULL_AOT=1 > > I have been away on vacation this weekend, returning home in a few > > hours. I plan to rebuild emacs-28 with the recently added patches > > when I have access to my desktop system again. > > And how are you bringing the native-lisp/ folder into the Windows > package? This is what I haven't figured out yet. I wonder if we need to ask Andrea about this: I don't know if it is it safe to simply include the native-lisp folder or if this would causes issues for Windows users who do have libgccjib but don't have the same CPU as I do. (Locally I have: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz 3.00 GHz) I don't know if the eln files are CPU/arch-specific or if this should work fine for (e.g.) i9, AMD chips, those with newer chipsets than my x99, and so forth. > > Just before leaving I was able to successfully sign my packages. (I > > didn't find it very difficult to perform the signing under windows.) > > Very good! Please show me how.. Given a working install of GNU PGP for Windows (which I already had) it was quite easy: Ensure your gpg is working at that you have your keys setup: # gpg --list-keys And, given that works correctly, in ~/emacs-upload use something like: # for f in *.zip ; do gpg -b $f ; done >From there I believe we just need to create the directive files. Regarding which, see: https://www.gnu.org/prep/maintain/html_node/FTP-Upload-Directive-File.html#FTP-Upload-Directive-File > > Perhaps it is time to discuss getting the two of us access to ftp up > > our work. > > I'm afraid I'm not yet so far. :-/ But please go for it! OK. I will create a new thread with Eli to discuss. I will put you in copy (as I assume you are not far behind :) Warm regards, Corwin