proposal for common configuration elements for ITAPS services

Carl Ollivier-Gooch cfog at mech.ubc.ca
Fri Sep 10 12:22:36 CDT 2010


On 09/10/2010 08:08 AM, Tim Tautges wrote:
>
>
> On 09/10/2010 09:54 AM, Carl Ollivier-Gooch wrote:
>> So returning to this subject (as per Karen's request), I have two
>> suggestions:
>>
>> 1. For -implementations-, which need to know at configure time whether
>> to build support for an interface, I propose we use:
>>
>> --enable-imesh
>> --enable-imeshp
>> --enable-igeom
>> --enable-irel
>> --enable-ifield
>>
>> Currently: of four implementations, we have --enable-imesh,
>> --enable-iMesh, --enable-itaps, --enable-tsttm (the ref implementation
>> needs no flag here, for obvious reasons). Lower case seems preferred
>> (and is typical for configure options). And imesh is definitely the
>> right thing to append (he says, despite currently using something else).
>> Unless someone has strenuous objections, we should standardize to this,
>> ideally before the next buildapolooza in a week and a half.
>>
>> 2. For services and applications, which "only" need to know where to
>> find some include and link info, I find Jason's argument in favor of
>> using autoconf environment variables compelling, especially the part
>> about being able to build multiple components more easily. What do other
>> people think about adopting this as a standard for all our services?
>>
>
> That's for autoconf-configured services and apps. I strongly believe we
> should also keep the current standard of building a iXxx-Defs.inc
> containing the make variables IXXX_INCLUDES and IXXX_LIBS.

I agree.  Jason's proposal was for environment variables to specify the 
location of the iXxxx-Defs.inc file (the file itself, not its directory, 
so that filename collisions can be handled, etc).

Carl

-- 
------------------------------------------------------------------------
Dr. Carl Ollivier-Gooch, P.Eng.                   Voice: +1-604-822-1854
Professor                                           Fax: +1-604-822-2403
Department of Mechanical Engineering             email: cfog at mech.ubc.ca
University of British Columbia              http://www.mech.ubc.ca/~cfog
Vancouver, BC  V6T 1Z4                  http://tetra.mech.ubc.ca/ANSLab/
------------------------------------------------------------------------


More information about the tstt-interface mailing list