Re: [gentoo-user] Compile large packages as last package

2021-08-14 Thread Neil Bothwick
On Sat, 14 Aug 2021 21:20:23 +0200, Ramon Fischer wrote:

> Is there any way to tell "portage", that packages like "qtwebengine", 
> "(ungoogled-)chromium", "firefox" and so on are always compiled as last 
> package?

You can use the --exclude option for emerge. Maybe a script that runs
emerge @world with --exclude then again without?

While I haven't tried it with a script, I do use --exclude when chromium
is in the list because my laptop only has 8GB RAM, which means chromium
takes ages.



-- 
Neil Bothwick

Isn't 'Criminal Lawyer' rather redundant?


pgp7adfDN1yWU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Compile large packages as last package

2021-08-14 Thread Frank Steinmetzger
Am Sat, Aug 14, 2021 at 09:20:23PM +0200 schrieb Ramon Fischer:
> Hello list,
> 
> I would like to tag or be able to prioritise (not via "nice" or "renice")
> large packages.
> 
> Currently, one system is compiling package 245 of 279 and nothing else.
> "qlop --running --verbose --time" shows me, that it is "qtwebengine", which
> will compile for a few hours, blocking all other packages.
> […]
> Is there any way to tell "portage", that packages like "qtwebengine",
> "(ungoogled-)chromium", "firefox" and so on are always compiled as last
> package?

In the case of qtwebengine, this might be impossible, because it is a
dependency for other packages. If they require the newer version (although
not very likely in this case), then it has to be built first.
Perhaps the logic changes if you put it into @world. Then it can be compiled
with other big packages (big applications) in one go, and only after that
you build the rest by doing the deep update.

One possibility is a wrapper script in which you store those packages you
want to handle that way. It will check whether there is an update for them
and—if there is—mask all versions that are newer than the currently
installed one in a dedicated package.mask.d file. Then it runs a world
update, after which it removes the mask file and finally runs another update
pass.

-- 
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

These valuable information, put in a Braille line, would give
a flat, polished surface.  Thank you.  (SelfHTML forum)


signature.asc
Description: PGP signature


[gentoo-user] Compile large packages as last package

2021-08-14 Thread Ramon Fischer

Hello list,

I would like to tag or be able to prioritise (not via "nice" or 
"renice") large packages.


Currently, one system is compiling package 245 of 279 and nothing else. 
"qlop --running --verbose --time" shows me, that it is "qtwebengine", 
which will compile for a few hours, blocking all other packages.


I set "MAKEOPTS" AND "EMERGE_DEFAULT_OPTS" like so:

   MAKEOPTS="--jobs 8 --load-average 7.2"
   EMERGE_DEFAULT_OPTS="--jobs 8 --load-average 7.2"

Is there any way to tell "portage", that packages like "qtwebengine", 
"(ungoogled-)chromium", "firefox" and so on are always compiled as last 
package?


Regards
-Ramon

--
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF




OpenPGP_signature
Description: OpenPGP digital signature