[Git][pacman/pacman][master] 10 commits: Make link time optimization flags configurable

Allan McRae (@allan) allan at archlinux.org
Sun Mar 6 07:42:28 UTC 2022



Allan McRae pushed to branch master at Pacman / Pacman


Commits:
e1ce2351 by Evangelos Foutras at 2022-03-06T14:45:36+10:00
Make link time optimization flags configurable

We want to use -flto=auto in Arch Linux to speed up building, but we
can't hardcode it in buildenv/lto.sh because other downstreams might
have clang < 13.0.0 which did not recognize -flto=auto as equivalent
to -flto=full.

Introducing an LTOFLAGS variable to makepkg.conf seems the way to go.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
0a792843 by Allan McRae at 2022-03-06T14:53:42+10:00
Silence meson run_command warning

Upsteam is warning about future change in the run_command check
argument. Ref: https://github.com/mesonbuild/meson/issues/9300

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
5bbda937 by Allan McRae at 2022-03-06T15:07:57+10:00
Silence meson warning about extract_all_objects

Upstream is changing the default from false to true.  This makes
no difference to us, so just set as the future default.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
569bcd9d by Allan McRae at 2022-03-06T15:24:19+10:00
Add missing parameter names to silence doxygen

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
ad918bcb by Allan McRae at 2022-03-06T15:32:27+10:00
Remove reference to internal type in docs

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
6cdb2030 by Allan McRae at 2022-03-06T15:32:34+10:00
Update Doxygen configuration to silence warnings

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
3a39eff1 by Allan McRae at 2022-03-06T15:55:17+10:00
meson.build: change ExternalProgram.path to full_path

Removes "Future-deprecated features used", but reuires meson-0.55

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
c89f42f1 by Allan McRae at 2022-03-06T16:26:34+10:00
meson: do not use meson.source_root() and meson.build_root()

Using meson.source_root() and meson.build_root() are deprectated in
meson-0.56.  Using current_source_dir() or current_build_dir() (which
have been available in all Meson versions) would require manually
adding "../" in some places.  Instead, use project_source_root() and
project_build_root() and require meson-0.56.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
7ba2c276 by Allan McRae at 2022-03-06T17:25:42+10:00
Fix typo/omission in man pages

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -
7340fb9b by morganamilo at 2022-03-06T17:32:23+10:00
libalpm: mark filelist_contains as taking a const filelist

This is useful for bindings as it guarantees the value will not be
changed.

Signed-off-by: Allan McRae <allan at archlinux.org>

- - - - -


13 changed files:

- doc/Doxyfile.in
- doc/makepkg.conf.5.asciidoc
- doc/pacman-conf.8.asciidoc
- doc/pacman.conf.5.asciidoc
- etc/makepkg.conf.in
- lib/libalpm/alpm.h
- lib/libalpm/filelist.c
- meson.build
- scripts/libmakepkg/buildenv/buildflags.sh.in
- scripts/libmakepkg/buildenv/lto.sh.in
- scripts/libmakepkg/lint_config/variable.sh.in
- scripts/meson.build
- test/pacman/meson.build


View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/49b08fa9d14a9cc06f01c624c644cb987ce97642...7340fb9b2e070ac90f07466212f4cc9248b0db4a

-- 
View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/49b08fa9d14a9cc06f01c624c644cb987ce97642...7340fb9b2e070ac90f07466212f4cc9248b0db4a
You're receiving this email because of your account on gitlab.archlinux.org.




More information about the pacman-dev mailing list