From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Tue, 18 Jan 2022 20:37:53 +0100 Message-ID: <86wniw3kdq.fsf@duenenhof-wilhelm.de> References: <86wnj18f7w.fsf@duenenhof-wilhelm.de> <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> <83h7a4zu89.fsf@gnu.org> <86czks94vl.fsf@duenenhof-wilhelm.de> <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1899"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , corwin@bru.st, emacs-devel@gnu.org To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 18 20:57:41 2022 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 1n9ubs-0000K5-Fz for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jan 2022 20:57:40 +0100 Original-Received: from localhost ([::1]:38924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9ubr-0008A6-1V for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jan 2022 14:57:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9uIy-0003H8-Hf for emacs-devel@gnu.org; Tue, 18 Jan 2022 14:38:13 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.73]:40267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9uIr-0001oh-R1; Tue, 18 Jan 2022 14:38:03 -0500 Original-Received: from ping ([92.116.171.136]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MpDRp-1mWk0L1O5n-00qjAV; Tue, 18 Jan 2022 20:37:54 +0100 In-Reply-To: <87tue1j8x0.fsf@russet.org.uk> (Phillip Lord's message of "Tue, 18 Jan 2022 16:38:51 +0000") X-Provags-ID: V03:K1:My+UDvRSb+me+jk+kUpv5r9eAAuvQlfDmDfLIW6nB8Q6lgzxGWa 9YZ3KUHHVDSjwFYJGcCDzGvsKY8KHTpC16uYgF0KPI0cAXsiDQG2ZZ1shlfWUkp4q74u2IN gGzUVJSjBTsh3/ZDgYtgdg9av8+WVFAN//1D2B2+g9ikUkgzshvkTZztsOyUEN16S0Dbcic ejY9OBGpNp7t4844vFe7Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:YqfKZXsy3vQ=:/YtJIxmVh9sowAATTmGMXJ gZe9C4hZqvYufsGhG8I0Cm0eDBJIGeRoRcQJW2bSpVoaAcfMP2M2fC0xJrpjd8nKcIu9bEM0p tmn+jthqsfygsMkBfBAOEiFYgD6RN3un9aR8s6LbfIvqJrwvBhurZGw5FbDPLXPUkUTTpxo1u aFqCA9W7vzRQUsony6y3gY6fWb7rjCDS88romgtXEJi9BZOtroT/VwXc1PfMKVr8D5aztES19 Py44OZbVe0/NNQjNmTXUMVhoGo2/YXaJFfYSGiWOHFPvpcVfvemZfAGeIWjleXmGZ8wzKG6Mc lMRkokZhQN+f3PjiUPanZ70T+2ZJer4y5xzq4JnarAQJAXgOmuu9HrQ6XaCh0WPU4Rg0WE8VD EZQYLaPzZ8pbHHVqw5WNb4UZTuN2IKjVEjPwr2SlL9mqrvGZTziZhYAUQWCmqxtUwOkujUBX5 WbLjzmOaGNzc3+x421Ubxkk0ny8ZCFCdToSYxwUVvghZvK68c33LTThZNGJ709BKXOHmlExlD UM+XDcm4Q+It5x5/wn8hm71kHC0mteLA4oet5I4WDapfryzcBdk6Hk8NPy9hOB4Okr1WF/aAt JFaDmczsTKyaeXyRj6wigtchOHH+C+L5S358z/VWuxRgwx8U88cCZFe6kg0MvYZZyxexfR/oR oeUNE872SvoajGt48PCms8Rg0i3X3GiJzzRIXbZr3hW5l6/C0SpveNOsM7vo/w46GpbHlgmrW xgwl+W22Zi3bYYzU Received-SPF: none client-ip=217.72.192.73; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:284946 Archived-At: Phillip Lord writes: > "H. Dieter Wilhelm" writes: > >>> If you change the configure options in build-zips.sh, I would go for a >>> full clean build for sure. "make extraclean" I think will do the trick, >>> then run build-zips.sh with modified options. >> >> Thank you Phil >> >> And when we are at it, please tell me your recipe how to build a >> snapshot of the master branch. I think my build tree is damaged, I >> don't manage to build a snapshot of emacs-29 with a date included.. >> >> Shouldn't it be just: >> >> $ build-zips.sh -g >> $ build-zips.sh -s > > Yes, I think that should do it. > > Then, the I build the source like so. > > ./make-dist --snapshot --no-check --no-changelog > rename .tar _`date +%Y-%m-%d`.tar emacs*.tar.gz > mv emacs-*.tar.gz ~/emacs-upload > > I don't think I ever automated this bit. Uups, I thought this - or similar - would be done by below part of build-zips.sh? make -j 4 $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 * mv emacs-$OF_VERSION-no-deps.zip $HOME/emacs-upload if [ -z $SNAPSHOT ]; then DEPS_FILE=$HOME/emacs-build/deps/emacs-$MAJOR_VERSION-deps.zip else ## Pick the most recent snapshot whatever that is DEPS_FILE=`ls $HOME/emacs-build/deps/emacs-$MAJOR_VERSION-*-deps.zip | tail -n 1` fi echo [build] Using $DEPS_FILE unzip -d bin $DEPS_FILE zip -r -9 emacs-$OF_VERSION.zip * mv emacs-$OF_VERSION.zip ~/emacs-upload > The model of build-zips.sh is probably a bit complicated and could be > simplified. The addition of snapshots and the ability to build from a > branch makes it much more so and the documentation isn't always well > done. I have been trying to remember why I called the variable > "OF_VERSION" so, or what "OF" stands for, and have failed! Not only above is confusing, but also why is INSTALL_TARGET="install-strip" in the script? (Back to pretest building) I've got an error for $ build-zips.sh -V28 in the emacs-28 worktree, maybe, that is a wrong usage of the scrip? Anyway, "install-strip" seems not to be a valid target for make!? > Apologies for this. No reason to apologise, it was working for you. Rather, thank you for your work. :-) Dieter -- Best wishes H. Dieter Wilhelm Zwingenberg, Germany