From: Corwin Brust <corwin@bru.st>
To: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: Eli Zaretskii <eliz@gnu.org>,
Phillip Lord <phillip.lord@russet.org.uk>,
Emacs developers <emacs-devel@gnu.org>
Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
Date: Fri, 21 Jan 2022 03:05:55 -0600 [thread overview]
Message-ID: <CAJf-WoQR07fryhU-XAPOka=5QTWuSkkTp5KNAAQPjyAJZUF=Ew@mail.gmail.com> (raw)
In-Reply-To: <86y23a10fy.fsf@duenenhof-wilhelm.de>
[-- Attachment #1: Type: text/plain, Size: 1950 bytes --]
On Thu, Jan 20, 2022 at 4:56 PM H. Dieter Wilhelm
<dieter@duenenhof-wilhelm.de> wrote:
> Corwin Brust <corwin@bru.st> writes:
> > On Thu, Jan 20, 2022 at 1:12 AM H. Dieter Wilhelm
> > <dieter@duenenhof-wilhelm.de> wrote:
> >> Corwin Brust <corwin@bru.st> writes:
> I'm sorry to say but the problem with the missing libgmp-10.dll remains
> also in your installer.
I found myself up triaging some things for another project I support,
so kicked off a new build. These include pushes to the emacs-28
branch though today up to approximately 10pm US/Central. I think
these new versions may do the trick. A patch-set is attached for
changes to the admin/nt/build-*zips* scripts. You will see that I'm
still building without -static; I haven't had a chance to dig into
that yet.
https://git.sr.ht/~mplscorwin/emacs-w64/tree/master/item/with-native-compilation
Would you be able to try again with this version of emacs-28.0.91-installer.exe?
In fact, all of the packages in the linked folder should work now AFAIK.
> >> Please tell me if the uninstaller can remove all remnants of an Emacs
> >> installation, or do I have to clean some parts of the registry or
> >> whatever?
> >
> > If we find it isn't removing something it creates I think we should
> > open bug-reports for that specifically.
>
> Some minor observiations:
>
> 1. The uninstaller isn't removing a link to runemacs.exe.
I think this should get a bug report (assuming it's still happening
with the above-linked versions).
> 2. The installer has the Gnu(s)-Emacs image aspect ratio rather
> distorted.
This feels like a lower priority but maybe it too should be tracked
with a separate bug report?
> 3. The installer default is "c:\Program Files\Emacs" I think it would be
> cleaner when the installation tree includes the version number.
I see you are already discussing this one with Eli; I'll leave it to
the two of you as Eli's thoughts appear to echo my own here.
[-- Attachment #2: emacs-28_nt-dist-build-scripts.patch --]
[-- Type: application/octet-stream, Size: 2091 bytes --]
diff --git a/admin/nt/dist-build/build-dep-zips.py b/admin/nt/dist-build/build-dep-zips.py
index c27045a001..974bf456fb 100755
--- a/admin/nt/dist-build/build-dep-zips.py
+++ b/admin/nt/dist-build/build-dep-zips.py
@@ -37,6 +37,7 @@
mingw-w64-x86_64-librsvg
mingw-w64-x86_64-libtiff
mingw-w64-x86_64-libxml2
+mingw-w64-x86_64-gmp
mingw-w64-x86_64-xpm-nox'''.split()
DLL_REQ='''libgif
@@ -49,6 +50,7 @@
librsvg
libtiff
libxml
+libgmp
libXpm'''.split()
@@ -121,7 +123,7 @@ def ntldd_munge(out):
## Currently no packages seem to require this!
ARCH_PKGS=[]
-SRC_REPO="https://sourceforge.net/projects/msys2/files/REPOS/MINGW/Sources"
+SRC_REPO="https://repo.msys2.org/mingw/sources"
def immediate_deps(pkg):
@@ -167,7 +169,7 @@ def download_source(tarball):
if not os.path.exists("../emacs-src-cache/{}".format(tarball)):
print("Downloading {}...".format(tarball))
check_output_maybe(
- "wget -a ../download.log -O ../emacs-src-cache/{} {}/{}/download"
+ "wget -a ../download.log -O ../emacs-src-cache/{} {}/{}"
.format(tarball, SRC_REPO, tarball),
shell=True
)
diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh
index 77d20a5a7b..30131b5202 100755
--- a/admin/nt/dist-build/build-zips.sh
+++ b/admin/nt/dist-build/build-zips.sh
@@ -48,12 +48,13 @@
echo [build] Configuring Emacs
$REPO_DIR/$BRANCH/configure \
--without-dbus \
+ --with-native-compilation \
--without-compress-install \
- $CACHE \
- CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS" \
+ $CACHE
fi
- make -j 4 $INSTALL_TARGET \
+ make -j 20 $INSTALL_TARGET \
prefix=$HOME/emacs-build/install/emacs-$VERSION
cd $HOME/emacs-build/install/emacs-$VERSION
zip -r -9 emacs-$OF_VERSION-no-deps.zip *
@@ -96,7 +97,8 @@ BUILD=
BUILD_64=1
GIT_UP=0
CONFIG=1
-CFLAGS="-O2 -static"
+#CFLAGS="-O2 -static"
+CFLAGS="-O2"
INSTALL_TARGET="install-strip"
## The location of the git repo
next prev parent reply other threads:[~2022-01-21 9:05 UTC|newest]
Thread overview: 186+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 11:36 Bootstrap Compilation Speed phillip.lord
2022-01-14 13:21 ` Eli Zaretskii
2022-01-14 14:16 ` phillip.lord
2022-01-15 9:34 ` Eli Zaretskii
2022-01-15 11:29 ` phillip.lord
2022-01-15 10:29 ` H. Dieter Wilhelm
2022-01-15 11:28 ` phillip.lord
2022-01-15 16:24 ` Corwin Brust
2022-01-15 19:06 ` Native compilation on Windows, was " H. Dieter Wilhelm
2022-01-15 19:15 ` Eli Zaretskii
2022-01-15 19:27 ` H. Dieter Wilhelm
2022-01-16 11:47 ` H. Dieter Wilhelm
2022-01-16 12:13 ` Eli Zaretskii
2022-01-17 9:39 ` Phillip Lord
2022-01-17 12:35 ` Eli Zaretskii
2022-01-17 14:07 ` Phillip Lord
2022-01-17 14:09 ` Eli Zaretskii
2022-01-17 16:25 ` H. Dieter Wilhelm
2022-01-17 18:07 ` Corwin Brust
2022-01-17 18:13 ` Eli Zaretskii
2022-01-17 20:25 ` Phillip Lord
2022-01-17 20:46 ` H. Dieter Wilhelm
2022-01-18 16:38 ` Phillip Lord
2022-01-18 19:37 ` H. Dieter Wilhelm
2022-01-18 19:46 ` Eli Zaretskii
2022-01-18 21:36 ` H. Dieter Wilhelm
2022-01-19 0:02 ` Corwin Brust
2022-01-19 7:45 ` Eli Zaretskii
2022-01-19 14:26 ` Corwin Brust
2022-01-19 14:42 ` Eli Zaretskii
2022-01-19 18:38 ` Phillip Lord
2022-01-19 14:01 ` H. Dieter Wilhelm
2022-01-19 18:59 ` H. Dieter Wilhelm
2022-01-19 20:21 ` Corwin Brust
2022-01-20 7:12 ` H. Dieter Wilhelm
2022-01-20 14:32 ` Corwin Brust
2022-01-20 22:56 ` H. Dieter Wilhelm
2022-01-21 6:58 ` Eli Zaretskii
2022-01-21 11:07 ` H. Dieter Wilhelm
2022-01-21 12:04 ` Eli Zaretskii
2022-01-21 19:22 ` H. Dieter Wilhelm
2022-01-21 19:57 ` Eli Zaretskii
2022-01-22 10:30 ` H. Dieter Wilhelm
2022-01-22 10:44 ` Eli Zaretskii
2022-01-25 19:45 ` H. Dieter Wilhelm
2022-01-25 19:56 ` Eli Zaretskii
2022-01-26 19:49 ` H. Dieter Wilhelm
2022-01-21 12:21 ` Phillip Lord
2022-01-21 12:51 ` H. Dieter Wilhelm
2022-01-21 12:59 ` Eli Zaretskii
2022-01-21 17:48 ` phillip.lord
2022-01-21 19:36 ` Eli Zaretskii
2022-01-21 19:47 ` Corwin Brust
2022-01-21 19:58 ` Eli Zaretskii
2022-01-21 19:58 ` H. Dieter Wilhelm
2022-01-22 12:52 ` Phillip Lord
2022-01-22 12:40 ` Phillip Lord
2022-01-22 12:46 ` Eli Zaretskii
2022-01-22 17:56 ` Phillip Lord
2022-01-21 9:05 ` Corwin Brust [this message]
2022-01-22 21:51 ` H. Dieter Wilhelm
2022-01-22 22:52 ` Corwin Brust
2022-01-23 21:16 ` H. Dieter Wilhelm
2022-01-24 3:24 ` Eli Zaretskii
2022-01-24 4:17 ` Corwin Brust
2022-01-24 15:43 ` H. Dieter Wilhelm
2022-01-24 16:56 ` Eli Zaretskii
2022-01-24 18:28 ` H. Dieter Wilhelm
2022-01-24 18:35 ` Eli Zaretskii
[not found] ` <86czkgztcv.fsf@duenenhof-wilhelm.de>
[not found] ` <83zgnkijfo.fsf@gnu.org>
2022-01-25 10:34 ` H. Dieter Wilhelm
2022-01-25 12:32 ` Eli Zaretskii
2022-01-25 13:46 ` H. Dieter Wilhelm
2022-01-25 13:50 ` Eli Zaretskii
2022-01-30 11:57 ` H. Dieter Wilhelm
2022-01-30 14:12 ` Eli Zaretskii
2022-01-30 18:12 ` H. Dieter Wilhelm
2022-01-30 18:34 ` Eli Zaretskii
2022-01-30 21:31 ` H. Dieter Wilhelm
2022-01-25 10:45 ` H. Dieter Wilhelm
2022-01-26 4:40 ` Corwin Brust
2022-01-19 18:33 ` Phillip Lord
2022-01-19 7:28 ` Eli Zaretskii
2022-01-19 13:57 ` H. Dieter Wilhelm
2022-01-19 14:39 ` Eli Zaretskii
2022-01-19 18:48 ` Phillip Lord
2022-01-29 21:32 ` H. Dieter Wilhelm
2022-01-29 22:01 ` Corwin Brust
2022-01-29 22:23 ` H. Dieter Wilhelm
2022-01-30 1:58 ` Corwin Brust
2022-01-30 10:13 ` H. Dieter Wilhelm
2022-01-30 10:19 ` Eli Zaretskii
2022-01-30 21:33 ` Arash Esbati
2022-01-30 22:16 ` Corwin Brust
2022-01-31 10:57 ` Arash Esbati
2022-01-31 15:58 ` H. Dieter Wilhelm
2022-01-31 22:17 ` Corwin Brust
2022-02-01 12:45 ` H. Dieter Wilhelm
2022-02-01 15:28 ` Óscar Fuentes
2022-02-01 19:26 ` H. Dieter Wilhelm
2022-02-01 18:38 ` Arash Esbati
2022-02-01 19:02 ` H. Dieter Wilhelm
2022-02-01 19:10 ` Arash Esbati
2022-02-01 19:27 ` H. Dieter Wilhelm
2022-02-01 21:56 ` H. Dieter Wilhelm
2022-02-03 3:22 ` Corwin Brust
2022-02-03 7:10 ` H. Dieter Wilhelm
2022-02-03 7:47 ` Eli Zaretskii
2022-02-03 13:57 ` Corwin Brust
2022-02-03 16:53 ` Eli Zaretskii
2022-02-03 17:45 ` Corwin Brust
2022-02-02 22:06 ` Phillip Lord
2022-02-02 23:28 ` Corwin Brust
2022-02-04 10:12 ` Phillip Lord
2022-02-02 23:31 ` Corwin Brust
2022-01-31 12:27 ` Eli Zaretskii
2022-02-02 22:04 ` Phillip Lord
2022-02-02 22:22 ` Corwin Brust
2022-02-04 10:05 ` Phillip Lord
2022-02-03 7:10 ` Eli Zaretskii
2022-02-21 21:59 ` H. Dieter Wilhelm
2022-02-22 3:31 ` Eli Zaretskii
2022-02-23 6:44 ` H. Dieter Wilhelm
2022-02-23 9:32 ` Arash Esbati
2022-02-23 18:30 ` H. Dieter Wilhelm
2022-02-23 12:39 ` Eli Zaretskii
2022-02-27 10:49 ` Acquiring dependencies for Windows builds, was: Native compilation on Windows H. Dieter Wilhelm
2022-02-27 11:07 ` Eli Zaretskii
2022-02-28 21:51 ` H. Dieter Wilhelm
2022-03-01 13:32 ` Eli Zaretskii
2022-03-08 15:52 ` Acquiring dependencies for Windows builds H. Dieter Wilhelm
2022-03-08 16:48 ` Eli Zaretskii
2022-01-31 12:26 ` Native compilation on Windows, was Re: Bootstrap Compilation Speed Eli Zaretskii
2022-01-30 2:37 ` chad
2022-01-30 12:29 ` H. Dieter Wilhelm
2022-02-01 17:17 ` H. Dieter Wilhelm
2022-02-01 17:53 ` Eli Zaretskii
2022-02-01 18:59 ` H. Dieter Wilhelm
2022-02-01 19:23 ` Eli Zaretskii
2022-02-02 10:36 ` Robert Pluim
2022-02-02 11:28 ` H. Dieter Wilhelm
2022-02-02 12:57 ` Eli Zaretskii
2022-02-02 13:00 ` Robert Pluim
2022-02-02 15:23 ` H. Dieter Wilhelm
2022-02-02 16:20 ` Robert Pluim
2022-02-02 17:04 ` Eli Zaretskii
2022-02-02 17:58 ` H. Dieter Wilhelm
2022-02-02 18:18 ` Robert Pluim
2022-02-01 19:00 ` chad
2022-02-01 19:08 ` H. Dieter Wilhelm
2022-02-02 22:12 ` Phillip Lord
2022-02-05 21:46 ` H. Dieter Wilhelm
2022-02-05 23:18 ` Corwin Brust
2022-02-06 15:00 ` Stefan Monnier
2022-02-06 17:21 ` H. Dieter Wilhelm
2022-02-07 12:54 ` Stefan Monnier
2022-02-09 18:23 ` H. Dieter Wilhelm
2022-02-09 19:09 ` Eli Zaretskii
2022-02-09 20:13 ` Stefan Monnier
2022-02-09 23:32 ` Corwin Brust
2022-02-10 10:28 ` Robert Pluim
2022-02-02 21:58 ` Phillip Lord
2022-02-02 22:09 ` Corwin Brust
2022-02-03 6:25 ` H. Dieter Wilhelm
2022-02-03 13:30 ` Stefan Monnier
2022-02-05 21:34 ` H. Dieter Wilhelm
2022-01-30 7:59 ` Eli Zaretskii
2022-01-19 18:46 ` Phillip Lord
2022-01-19 19:25 ` H. Dieter Wilhelm
2022-01-19 18:28 ` Phillip Lord
2022-01-17 9:44 ` Phillip Lord
2022-01-17 16:08 ` Óscar Fuentes
2022-01-17 17:23 ` H. Dieter Wilhelm
2022-01-17 17:46 ` Óscar Fuentes
2022-01-17 19:09 ` H. Dieter Wilhelm
2022-01-17 20:21 ` Phillip Lord
2022-01-18 9:03 ` Robert Pluim
2022-01-18 14:50 ` Eli Zaretskii
2022-01-18 15:09 ` Óscar Fuentes
2022-01-18 16:40 ` Phillip Lord
2022-01-15 22:14 ` phillip.lord
2022-01-15 22:32 ` H. Dieter Wilhelm
2022-01-16 8:54 ` Eli Zaretskii
2022-01-17 9:34 ` Andrea Corallo
2022-01-17 9:56 ` Phillip Lord
2022-01-17 12:37 ` Eli Zaretskii
2022-01-16 14:31 ` H. Dieter Wilhelm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJf-WoQR07fryhU-XAPOka=5QTWuSkkTp5KNAAQPjyAJZUF=Ew@mail.gmail.com' \
--to=corwin@bru.st \
--cc=dieter@duenenhof-wilhelm.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=phillip.lord@russet.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.