Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Type 1 Package xxx builds a shared library and has public headers.  Need to add a couple lines to xxxLib.py (the file which gets invoked for the environment building xxx's library and also by other environements, building targets depending on that library) so that packages depending on xxx will get proper thing added to their include path:

Code Blocknoformat
titleCode in EventLib.py for pkg Event
if env['PLATFORM'] == 'win32' and env.get('CONTAINERNAME','') == 'GlastRelease':
            env.Tool('findPkgPath', package = 'Event') 

Type 2 Package xxx builds a static library.  Here, since the library does not depend on other package libraries, components have to be added "by hand" to the include path. These changes, varying somewhat on a per-package basis, also go in xxxLib.py.

Code Blocknoformat
titleCode in SConscript for pkg idents
 libEnv.Tool('addLinkDeps', pacakge='idents', toBuild='static')
Code Blocknoformat
titleCode in identsLib.py
def generate(env, **kw):
    if not kw.get('depsOnly', 0):
        env.Tool('addLibrary', library = ['idents'])

        # NEW SECTION - needed for libraries or programs linking to idents library
        if env['PLATFORM'] == 'win32' and env.get('CONTAINERNAME','') == 'GlastRelease':
            env.Tool('findPkgPath', package = 'idents')
            env.Tool('findPkgPath', package = 'facilities')

    # NEW SECTION - needed to compile source files in idents
    if kw.get('incsOnly', 0) == 1:
        env.Tool('findPkgPath', package = 'facilities')

    return

    env.Tool('addLibrary', library = ['facilities'])

...

Package 

Work

Status

SConsFiles

Add tool findPkgPath; modify msvs.py, addLinkDeps.py, SConstruct

Committed and tagged

SConsFiles

Mod to addLinkDeps to make type 2 updates neater

done; testing in progress

AcdRecon

type 1, type 4

done

AcdUtil

type 1, type 2, type 4

done

AdfEvent

type 2

done

AnalysisNtuple

type 1, type 3, type 4

done

AncillaryDataEvent

type 2

done

AncillaryDataUtil

type 2

done

astro

type 1

done, tested

CalDigi

type 4

done

CalibData

type 1

done

calibRootData

type 1

done

CalibSvc

type 1, type 4

done

calibTkrUtil

type 1

done

calibUtil

type 1

done

CalRecon

type 1

done

CalUtil

type 1, type 4

done

CalXtalResponse

type 1, type 4

done

celestialSources

type 2

done

c/EarthPhenom

type 2

done

c/eblAtten

type 2

done

c/genericSources

type 2

done

c/GRB

type 2

done

c/GRBobs

type 2

done

c/GRBtemplate

type 2

done

c/microQuasar

type 2

done

c/Pulsar

type 2

done

c/SpectObj

type 2

done

CHS/eventFile

type 1

done, builds

classifier

type 2

done

commonRootData

type 1

done

configData

type 1, type 3

done

ConfigSvc

type 1, type 3

done

CRflux

type 4

done

detCheck

type 2

done

DetDisplay

type 4

done  

detModel

type 2

done

digiRootData

type 1, type 3

done

EbfWriter

type 1

done

embed_python

type 2

done

Event

type 1, type 3

done

evtUtils

type 1

done

facilities

type 1

done, tested

fitsGen

type 2

done

flux

type 2

done

FluxSvc

type 1

done

G4Generator

type 1

done

GCRCalib

type 4

 

gcrSelectRootData

type 1

done

geometry

type 2

done

geomrep

type 2

done

GlastClassify

types 1, 2

done

GlastSvc

type 1

done

gui

type 2

done

GuiSvc

type 1

done

HepRepSvc

type 1, type 4

done

idents

type 2

done, tested.

LdfConverter

type 4

done

LdfEvent

type 1,3

done, builds

ldfReader

type 1, type 3

done

lsfData

type 1, type 3

done

mcRootData

type 1

done

mootCore

type 1

done

MootSvc

type 1

done

ntupleWriterSvc

type 1

done

OnboardFilter

type 1, type 4

done

OnboardFilterTds

type 1, type 3

done

Overlay

type 1, type 3, type 4

done

OverlayEvent

type 1, type 3, type 4

done

overlayRootData

type 1, type 3

done

rdbModel

type 1

done

reconRootData

type 1, type 3

done

RootConvert

type 1

done

RootDisplay

type 1, type 4

done

RootIo

type 1

done

rootUtil

type 1

done

tip

type 2

done, tested

TkrRecon

type 1, type 4

done

TkrUtil

type 1, type 4

done

Trigger

type 1, type 3

done

xmlBase

type 1

done, tested.

xmlUtil

type 1

done, tested.

SConsFiles

mod to registerTargets to not install headers

done, tested.