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: | 5 |
Popularity: | 0.40 |
First Submitted: | 2021-12-31 21:48 (UTC) |
Last Updated: | 2024-08-24 12:42 (UTC) |
Dependencies (11)
- pacman (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) (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
« First ‹ Previous 1 2 3
ptr1337 commented on 2022-04-29 14:44 (UTC)
@Koppajin
No, actually if compiling something with GCC you would need to have GCC-12(-git) or need to patch gcc11 and also compile it on your own first. If you compile something with llvm, you can simply enable it with removing at option from "!mold" to "mold".
You can also use simply your old makepkg.conf, and add at options mold, then its also enabled.
Here you can take a watch at my makepkg.conf:
https://github.com/ptr1337/dotfiles/blob/master/config/makepkg.conf#L116=
If you need gcc-git, its precompiled in the repo's which I provide, their you can also find all core and extra packages precompiled in x86-64-v3.
https://wiki.cachyos.org/en/home/Repo
Hakkaten commented on 2022-04-26 10:28 (UTC)
Do I need to uncomment anything in the makepkg-optimize.conf or is it good to go? I noticed there are two extra CFLAGS lines that are commented out. (I'm a total noob btw, I know enough to get around) Is this package designed with a completely vanilla makepkg.conf file in mind? I had already tweaked mine tiny bit.
blackout commented on 2022-01-14 18:25 (UTC)
@ptr1337 tested with latest mold-git, works as expected. Thank you for your effort.
ptr1337 commented on 2022-01-12 06:24 (UTC)
@blackout
Sorry for the late response. The upcomming version of mold will have a fallback, as soon something would link with lto, to lld, ld.bfd. I think the next release will be soon, if using the git, you will face into no problems.
Checksums will be updated!
blackout commented on 2022-01-10 13:46 (UTC) (edited on 2022-01-10 13:46 (UTC) by blackout)
sha1sums block is wrong should be
j1simon commented on 2022-01-09 17:35 (UTC)
blackout commented on 2022-01-03 00:40 (UTC) (edited on 2022-01-10 13:46 (UTC) by blackout)
@ptr1337 you should add -fno-lto to moldflags in mold.sh.in as long as LTO is not implemented in mold (https://github.com/rui314/mold/issues/181) this will disable LTO. Otherwise, builds will fail having LTO enabled per default (e.g. flashrom-git)
this should be sufficient
« First ‹ Previous 1 2 3