<html>#2241: use bash_utils during ExternalLibraries detection phase
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td></td></tr>
</table>

<p>A while ago (in 2015) we were re-vamping the ExternalLibraries search mechanism. While multiple methods were proposed (using a package manager, custom code in bash, perl) the only one that saw much progress if Frank Loeffler's <code>bash_utils.sh</code> code.</p>
<p>Right now many ExternalLibraries fail to detect themselves on "typical" Ubuntu based laptops because they do not handle Debian's multi-arch directory structure, giving the impression as if they were designed to always compile themselves (which was never the intent).</p>
<p>These pull requests make (some more of) ExternalLibraries use <code>bash_utils.sh</code> to have a more uniform and more functional interface to specifying their location throughout the toolkit:</p>
<ul>
<li><a href="https://github.com/EinsteinToolkit/ExternalLibraries-libjpeg/pull/1" rel="nofollow" class="ap-connect-link">https://github.com/EinsteinToolkit/ExternalLibraries-libjpeg/pull/1</a></li>
<li><a href="https://github.com/EinsteinToolkit/ExternalLibraries-LAPACK/pull/1" rel="nofollow" class="ap-connect-link">https://github.com/EinsteinToolkit/ExternalLibraries-LAPACK/pull/1</a></li>
</ul>
<p>This is a bit of a stepping stone as I would like to push <code>bash_utils.sh</code> itself towards a more well defined, and -- I think -- less surprising behaviour as outlined in: <a href="https://bitbucket.org/cactuscode/cactus/commits/db12237d823afc4e70f9bb8540bf7c03b2cc8f2e" rel="nofollow" class="ap-connect-link">https://bitbucket.org/cactuscode/cactus/commits/db12237d823afc4e70f9bb8540bf7c03b2cc8f2e</a> and a sample of how to use it is in <a href="https://github.com/EinsteinToolkit/ExternalLibraries-HDF5/tree/rhaas/findlib2" rel="nofollow" class="ap-connect-link">https://github.com/EinsteinToolkit/ExternalLibraries-HDF5/tree/rhaas/findlib2</a> .</p>
<p>Note that this is a bugfix as the current detection mechanism fails to find an installed copy of the library.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2241/use-bash_utils-during-externallibraries'>https://bitbucket.org/einsteintoolkit/tickets/issues/2241/use-bash_utils-during-externallibraries</a></p>
</html>