Before I do anything stupid I'd like to ask this here:

So I am doing a package, let's call it X, that has a library within trilinos as a dependency.

Now trilinos takes hours to compile in my PC. But if I ask CMake to compile only sacado it takes less than 20 seconds.

I did a package for myself called trilinos-sacado which only compiles the needed library and nothing else. I can then put trilinos-sacado as a dependency of X and it works.

However this would create a mess for any user who already has trilinos installed. I thought that a solution of this would be to ask the maintainer of trilinos to add a provides=('trilinos-sacado') in the PKGBUILD. So if anyone happens to have trilinos installed already, then my X is happy.

Is that reasonable or should I just not bother and make X depends on the full trilinos?

submitted by /u/Manny__C
[link] [comments]