emacs/var/elfeed/db/data/19/1918719de8bb599b672c80aeea462579cf1926b1
2022-01-03 12:49:32 -06:00

1 line
1.5 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Before I do anything stupid I&#39;d like to ask this here:</p> <p>So I am doing a package, let&#39;s call it <code>X</code>, that has a library within <code>trilinos</code> as a dependency.</p> <p>Now <code>trilinos</code> takes hours to compile in my PC. But if I ask CMake to compile only <code>sacado</code> it takes less than 20 seconds.</p> <p>I did a package for myself called <code>trilinos-sacado</code> which only compiles the needed library and nothing else. I can then put <code>trilinos-sacado</code> as a dependency of <code>X</code> and it works.</p> <p>However this would create a mess for any user who already has <code>trilinos</code> installed. I thought that a solution of this would be to ask the maintainer of <code>trilinos</code> to add a <code>provides=(&#39;trilinos-sacado&#39;)</code> in the <code>PKGBUILD</code>. So if anyone happens to have <code>trilinos</code> installed already, then my <code>X</code> is happy.</p> <p>Is that reasonable or should I just not bother and make <code>X</code> depends on the full <code>trilinos</code>?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Manny__C"> /u/Manny__C </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r4aqd5/is_it_reasonable_to_ask_the_maintainer_to_add_a/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/r4aqd5/is_it_reasonable_to_ask_the_maintainer_to_add_a/">[comments]</a></span>