[ET Trac] [Einstein Toolkit] #1769: External libraries: moving towards multiarch library directory structure

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon May 11 04:17:27 CDT 2015


#1769: External libraries: moving towards multiarch library directory structure
------------------------------------+---------------------------------------
  Reporter:  bmundim                |       Owner:                                  
      Type:  defect                 |      Status:  review                          
  Priority:  major                  |   Milestone:  ET_2015_05                      
 Component:  EinsteinToolkit thorn  |     Version:  development version             
Resolution:                         |    Keywords:  ExternalLibraries HDF5 Multiarch
------------------------------------+---------------------------------------

Comment (by bmundim):

 > In the long run: couldn't we find standard paths (where possible) using
 something like (for C):
 > {{{
 > echo | cpp -Wp,-v 2>&1 | perl -p0e 's/.*include <...> search starts
 here:.(.*)End of search list.*/\1/sm; s/(\n|^) /:/g'
 > }}}
 > In my case, that list includes
 > {{{
 > /usr/lib/gcc/x86_64-linux-gnu/4.9/include
 > /usr/local/include
 > /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed
 > /usr/include/x86_64-linux-gnu
 > /usr/include
 > }}}
 >

 This command, as it stands, doesn't work on a 'CentOS release 6.4' system
 (gordon). It returns 'Ambiguous output redirect.'. However I think it is
 on the right track of parsing the system include paths.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1769#comment:10>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list