Search Criteria
Package Details: makepkg-optimize-mold 30-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/makepkg-optimize-mold.git (read-only, click to copy) |
|---|---|
| Package Base: | makepkg-optimize-mold |
| Description: | Supplemental build and packaging optimizations for makepkg |
| Upstream URL: | https://wiki.archlinux.org/index.php/Makepkg-optimize |
| Keywords: | makepkg-optimize makepkg-tweaks mold |
| Licenses: | GPL-1.0-only |
| Submitter: | ptr1337 |
| Maintainer: | ptr1337 |
| Last Packager: | ptr1337 |
| Votes: | 6 |
| Popularity: | 1.37 |
| First Submitted: | 2021-12-31 21:48 (UTC) |
| Last Updated: | 2024-08-24 12:42 (UTC) |
Dependencies (11)
- pacman (pacman-fancy-gitAUR, pacman-gitAUR)
- aoccAUR (optional) – use amd's llvm compiler for compiling
- aocl-aoccAUR (optional) – use amd's compiler libary for compiling
- buildcacheAUR (buildcache-gitAUR, buildcache-binAUR) (optional) – a alternative to ccache
- lld (llvm-gitAUR) (optional) – the clang linker
- mold (mold-gitAUR, mold-x86-gitAUR) (optional) – a modern fast linker
- openmp (optional) – Parallelize loops
- optipng (optional) – Optimize PNG files
- polly (llvm-gitAUR) (optional) – Polyhedral model optimization for clang
- svgo (optional) – Optimize SVG files
- upx (upx-gitAUR) (optional) – Compress executables
Required by (0)
Sources (26)
- aocc.sh.in
- bolt.sh.in
- buildcache.sh.in
- buildenv_ext.conf
- cflags.conf
- cmake-flags.conf
- compress-param_max.conf
- cxxflags.conf
- destdirs_ext.conf
- graphite.sh.in
- ldflags.conf
- lld.sh.in
- makeflags.conf
- mold.sh.in
- optipng-exec.sh.in
- optipng.sh.in
- pgo.sh.in
- pkgopts-param_ext.conf
- pkgopts_ext.conf
- relocs.sh.in
- relocsgcc.sh.in
- rice.sh.in
- svgo-exec.sh.in
- svgo.sh.in
- upx-exec.sh.in
- upx.sh.in
Latest Comments
1 2 3 4 Next › Last »
ninetailedtori commented on 2026-01-08 18:51 (UTC)
I suspect something changed in terms of makepkg patching, and so it can't understand it for some reason. Not too sure why, but I might have to take a peek at it again.
veganvelociraptr commented on 2026-01-04 15:00 (UTC)
@ninetailedtori, I have the same problem. It used to work before but I guess something changed in Arch a few weeks ago. Haven't look much into it yet.
ninetailedtori commented on 2025-12-19 01:08 (UTC)
Hiya, throwing
==> ERROR: BUILDENV array contains unknown option '<option>'with all options in this package. Anyone know what I've f-ed up?Tjuh commented on 2025-09-12 14:22 (UTC)
Cool, glad to help ;)
brikler commented on 2025-09-12 09:49 (UTC)
thank you again @Tjuh i was able to solve my problem by using
bashinsteadfishTjuh commented on 2025-09-11 19:02 (UTC)
Also symlinked lld to point to ld; sudo ln /usr/bin/ld.lld /usr/bin/ld
Tjuh commented on 2025-09-11 18:40 (UTC)
Check out my makepkg.conf for suggestions;
brikler commented on 2025-09-11 12:17 (UTC) (edited on 2025-09-11 12:22 (UTC) by brikler)
thank you @Tjuh
it seems it is a bit more complicated :(
/usr/share/makepkg/buildenv/graphite.sh:
Tjuh commented on 2025-09-04 17:49 (UTC)
Install polly and use this -fplugin=LLVMPolly.so instead of -Xclang -load -Xclang LLVMPolly.so. Also that PGO script doesn't work with Clang, only GCC.
brikler commented on 2025-08-07 14:57 (UTC) (edited on 2025-08-07 14:58 (UTC) by brikler)
hi,
it seems something isn't ok with
makepkg-optimize-mold:( and pgo also doesn't workclang -march=native -O2 -pipe -pthread -lgomp -mllvm -polly -mllvm -polly-num-threads=8 -mllvm -polly-parallel -Xclang -load -Xclang LLVMPolly.so -flto=auto -fprofile-generate -fprofile-dir=/home/tom/compile/bpftune-git/bpftune-git.gen -lpthread -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -lgcov --coverage conn_bomb.c -o conn_bomb1 2 3 4 Next › Last »