config specs/arch (was Re: [cciug] config_spec for "latest version in any branch")

From: Brandon Metcalf (bmetcalf@BayNetworks.COM)
Date: Thu Jul 05 2001 - 19:27:44 EDT


BO => berend@cisco.com writes:

 BO> While we are on the subject of config specs, please allow me to ask another
 BO> question. Does anyone have a "witty" way of dealing with binary files with multiple
 BO> CPU architectures checked-in to a VOB and automatically selecting the appropriate
 BO> one based on host type? For example, let's say that you have:
 BO>
 BO> foo@@/main/SunOS/LATEST
 BO> foo@@/main/Linux/LATEST
 BO> ...

This is not something you want to try to do with config specs and/or
branches. Store binaries in a directory structure that looks something
like /vob/tag/dir/sunos/foo or /vob/tag/dir/linux/foo and let your build
system/makefiles do the work for you.

Brandon

-- 
Do not worry about your problems with mathematics, I assure you mine are
far greater.
   --Albert Einstein

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:03:51 EDT