1 line
1.5 KiB
Plaintext
1 line
1.5 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Before I do anything stupid I'd like to ask this here:</p> <p>So I am doing a package, let'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=('trilinos-sacado')</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 -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/archlinux/comments/r4aqd5/is_it_reasonable_to_ask_the_maintainer_to_add_a/">[comments]</a></span> |