Project

General

Profile

Feature #1218

configure script to take MAUS_ROOT_DIR as optional input

Added by Rogers, Chris over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build System
Target version:
Start date:
05 February 2013
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

configure script to take MAUS_ROOT_DIR as optional input. This means redoing the MAUS_THIRD_PARTY to be an optional input also.

#1

Updated by Rogers, Chris over 10 years ago

From email:

At the moment we do

./configure

Set MAUS_ROOT_DIR (i.e. MAUS location) to pwd
Set MAUS_THIRD_PARTY (i.e. Geant4/ROOT/python/etc) to pwd

./configure ~/dir

Set MAUS_ROOT_DIR (i.e. MAUS location) to pwd
Set MAUS_THIRD_PARTY (i.e. Geant4/ROOT/python/etc) to '~/dir'

--

I propose an alternative set up where we have

./configure

Set MAUS_ROOT_DIR (i.e. MAUS location) to pwd
Set MAUS_THIRD_PARTY (i.e. Geant4/ROOT/python/etc) to pwd

./configure -r ~/maus_root -t ~/maus_third

Set MAUS_ROOT_DIR (i.e. MAUS location) to '~/maus_root'
Set MAUS_THIRD_PARTY (i.e. Geant4/ROOT/python/etc) to '~/maus_third'

Would that satisfy requirements?

Should also add (to be specific)

./configure -r ~/maus_root

Set MAUS_ROOT_DIR (i.e. MAUS location) to '~/maus_root'
Set MAUS_THIRD_PARTY (i.e. Geant4/ROOT/python/etc) to '~/maus_root'

./configure -t ~/maus_third

Set MAUS_ROOT_DIR (i.e. MAUS location) to pwd
Set MAUS_THIRD_PARTY (i.e. Geant4/ROOT/python/etc) to '~/maus_third'

Note that subsequent infrastructure assumes that third party stuff is in the right place within maus_third i.e. third party install directory is at

$MAUS_THIRD_PARTY/third_party/install/include
$MAUS_THIRD_PARTY/third_party/install/lib

etc...

#2

Updated by Rogers, Chris over 10 years ago

Also this must write env.sh to pwd (which may not be $MAUS_ROOT_DIR)

#3

Updated by Rogers, Chris over 10 years ago

Now in test...

#4

Updated by Rogers, Chris over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
#5

Updated by Rogers, Chris over 10 years ago

Closed in r893

#6

Updated by Rogers, Chris over 10 years ago

  • Target version changed from Future MAUS release to MAUS-v0.5.0

Also available in: Atom PDF