[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1606.0. "tricky way to point to local sandbox tools - comments?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Jul 17 1995 17:07

Date Of Receipt: 	17-JUL-1995 15:32:33.84
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE  17-Jul-1995 1530"
To: 	reng@DEC:.zko.flume, metsky@DEC:.zko.flume, mario@DEC:.zko.flume,
	sue@DEC:.zko.flume, buildhelp@DEC:.zko.flume
CC: 	tresvik@DEC:.zko.flume
Subj: 	tricky way to point to local sandbox tools - comments?

What do you think of this?  I was just helping someone from Joe Mario's
group who wanted to isolate his platinum sandbox and have local tools,
sources, etc., and I came up with this... 

This simple, elegant, solution will redefine COMP_HOST_ROOT and all
derived variables, as well as redefining SOURCEDIR to "" so that 'make'
wil only be able to reference files local to the sandbox:

In your sandbox, create the following 2 line file; that's it!

    ::::::::::::::
    rc_files/custom
    ::::::::::::::
    include ./local
    include ../link/rc_files/custom.build

To completely be isolated, do this to make your rc_files' includes all local
(assumes you're backed to a fully populated tree like .nightly or a .bl):

	mv link link.ln
        mkdir link
        cp -r link.ln/rc_files link
        cp -r link.ln/link link

	
Comments?

-josh





T.RTitleUserPersonal
Name
DateLines