[ET Trac] [Einstein Toolkit] #1298: Run part of CST before external libraries

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Mar 26 10:47:20 CDT 2013


#1298: Run part of CST before external libraries
--------------------------+-------------------------------------------------
  Reporter:  knarf        |       Owner:                     
      Type:  enhancement  |      Status:  new                
  Priority:  minor        |   Milestone:                     
 Component:  Cactus       |     Version:  development version
Resolution:               |    Keywords:                     
--------------------------+-------------------------------------------------

Comment (by eschnett):

 We are currently mis-using the configuration stage to build external
 libraries. This stage is support to detect (like autoconf) what features
 are present on the system. Building a significant amount of code there
 should not happen. Instead, we should record the findings (whether a
 particular library has been found on the system or not), and then build
 the library as the thorn is built. The existing dependency mechanisms
 should already ensure that the thorn is built before other thorns
 depending on it.

 The current scripts that build external libraries consist essentially of
 two parts, a configuration part and a build part. It should be
 straightforward to separate these, and to call the build part from
 make.code.defn.

 One issue is then how to provide the configuration information for the
 libraries before they are built. In most cases, this is simple, but in
 some cases, we call e.g. pkg-config of the recently-built external
 library, and this would not work any more. However, it should not be
 difficult to work around this, since we know exactly what version of what
 library is going to be installed, and in most cases, the pkg-config
 information is not reliable anyway.

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


More information about the Trac mailing list