Versions Compared

Key

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

...

TMineExt

...

is

...

a

...

home-grown

...

external

...

built

...

with

...

SCons.

...

  RM

...

builds

...

it

...

just

...

as

...

it

...

builds

...

other

...

containers,

...

but

...

the

...

default

...

directory

...

structure

...

for

...

containers

...

doesn't

...

match

...

that

...

used

...

for

...

external

...

libraries.

...

  Naming

...

conventions

...

also

...

differ.

...

 

A Recipe

Suppose we want to build an external from the release tag TMineExt-03-02-07.

...

Normal

...

set-up

...

has

...

been

...

done

...

so

...

that

...

scons

...

is

...

in

...

the

...

path

...

and

...

the

...

environment

...

variable

...

GLAST_EXT

...

is

...

set

...

appropriately

...

  1. cd

...

  1. to

...

  1. directory

...

  1. which

...

  1. will

...

  1. contain

...

  1. the

...

  1. build

...

  1. cvs

...

  1. co

...

  1. -d

...

  1. 3.2.7

...

  1. -r

...

  1. TMineExt-03-02-07

...

  1. TMineExt-scons

...

  1. cd

...

  1. 3.2.7

...

  1. scons

...

  1. --with-GLAST-EXT=

...

  1. $GLAST-EXT --compile-opt

...

  1. --variant=NONE

...

  1. --rm

...

  1. -k

...

  1. all

...

  1. >&

...

  1. build.log

...

  1. Examine

...

  1. build.log

...

  1. to

...

  1. make

...

  1. sure

...

  1. the

...

  1. build

...

  1. has

...

  1. succeeded

...

  1. cd

...

  1. ..

...

  1. tar

...

  1. -cfz

...

  1. TMineExt-3.2.7.tar.gz

...

  1. 3.2.7/lib

...

  1. 3.2.7/exe

...

  1. 3.2.7/bin

...

  1. 3.2.7/data

...

  1. 3.2.7/doc

...

  1. 3.2.7/include

...

  1. 3.2.7/lib

...

  1. 3.2.7/config.log

...

  1. 3.2.7/build.log