[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
From: |
H. Dieter Wilhelm |
Subject: |
Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed |
Date: |
Tue, 18 Jan 2022 20:37:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Phillip Lord <phillip.lord@russet.org.uk> writes:
> "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> 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
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, (continued)
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Phillip Lord, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Eli Zaretskii, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Phillip Lord, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Eli Zaretskii, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, H. Dieter Wilhelm, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Corwin Brust, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Eli Zaretskii, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Phillip Lord, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, H. Dieter Wilhelm, 2022/01/17
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Phillip Lord, 2022/01/18
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed,
H. Dieter Wilhelm <=
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Eli Zaretskii, 2022/01/18
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, H. Dieter Wilhelm, 2022/01/18
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Corwin Brust, 2022/01/18
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Eli Zaretskii, 2022/01/19
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Corwin Brust, 2022/01/19
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Eli Zaretskii, 2022/01/19
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Phillip Lord, 2022/01/19
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, H. Dieter Wilhelm, 2022/01/19
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, H. Dieter Wilhelm, 2022/01/19
- Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed, Corwin Brust, 2022/01/19