source: trunk/environments/g4py/tools/env/env+.sh@ 1344

Last change on this file since 1344 was 1337, checked in by garnier, 15 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 1.2 KB
RevLine 
[1337]1#$Id: env+.sh,v 1.2 2006/08/08 09:32:52 kmura Exp $
2# ======================================================================
3# [sh version]
4# Additonal setup script for co-building global shared libraries
5#
6# In dafault situation, Geant4 creates and uses "granular static libraries".
7# But, Python interface requires "global shared library".
8# This small setup script helps co-build global shared libraries,
9# in addition to an existing granular static environment.
10#
11# After sourcing "env.csh", which is created by the "Configure" script,
12# source this file additionally, then "make global".
13# Global shared library staffs will be created in another directory.
14# ======================================================================
15
16if [ ! ${G4INSTALL:+1} ]; then
17 echo "*** G4INSTALL is not defined! Please source env.csh first."
18 exit
19fi
20
21# Recompilation is necessary because position-independent codes (-fPIC option)
22# shoud be required. The temporal directory should be different from
23# the existing one.
24export G4TMP=$G4INSTALL/tmp-slib
25
26# Under this directory, new global shared library staffs will be created.
27export G4LIB=$G4INSTALL/slib
28
29export G4LIB_BUILD_SHARED=1
30
Note: See TracBrowser for help on using the repository browser.