You are not logged in.
Hey,
I am running arch on a Core Duo laptop.
Suppose I got a few hours to kill
and want to recompile all my installed packages
to my CPU. I got makepkg.conf all set up and ready.
Is there a way (using ABS maybe?) to recompile and install all my installed packages automatically?
Does ABS provide such an option?
thanks
fiod
Last edited by fiod (2008-04-25 19:04:37)
Offline
the abs package provides makeworld, which will build an entire repo for you at once. It currently does not have the feature to build only the packages currently installed on your system - maybe file a feature request for it. That's not a bad idea. ![]()
Offline
got ya.
thanks
Offline
I am running arch on a Core Duo laptop.
Suppose I got a few hours to kill
and want to recompile all my installed packages
to my CPU. I got makepkg.conf all set up and ready.
What for?
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Recompile all of my packages to use my processor specific flags (same as when installing packages with Gentoo).
Arch is compiled to i686, and a Core Duo processor can do a bit more..
Offline
There is a general opinion around here that the additional CPU specific compiler flags gain you very little... If you have lots of free time you could do some benchmarks. I tried optimizing a few packages while back and couldn't notice a difference with some simple tests.
Offline
Did you try doing the same to the kernel? Didn't notice a difference there too?
Offline
Most of my tests were done on an old LFS box. From memory, I concluded that compiling the kernel and toolchain (given I was building everything) with lots of optimizations was a good idea (though I never use -O3 because of some breakages - may not be the case anymore). I feel that it is just not worth going any further that that in an already semi optimized binary distribution... Maybe some of the multimedia applications (mplayer if you are brave.., gimp) if you use them frequently. In essence, rebuilding you whole system is almost definitely not worth it.
Offline
well, i found out that recompiling udev with custom compiler flags can speed up udev processing time at boot a lot.
With the Stock-package it took about 5 seconds, with my own-compiled less than 3. ![]()
Offline
well, i found out that recompiling udev with custom compiler flags can speed up udev processing time at boot a lot.
With the Stock-package it took about 5 seconds, with my own-compiled less than 3.
I just had to check that, had 6s udev uevents at boot times, after recompile with -march=pentium4 -O2 got 5,9s.
Im dissapointed ![]()
Offline
Re-compiling my udev took off about 2 milliseconds.
Re-compiling the kernel itself seemed to make things faster, mind.
Offline