Last change
on this file since 1353 was
1337,
checked in by garnier, 14 years ago
|
tag geant4.9.4 beta 1 + modifs locales
|
File size:
1.2 KB
|
Line | |
---|
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 | |
---|
16 | if [ ! ${G4INSTALL:+1} ]; then |
---|
17 | echo "*** G4INSTALL is not defined! Please source env.csh first." |
---|
18 | exit |
---|
19 | fi |
---|
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. |
---|
24 | export G4TMP=$G4INSTALL/tmp-slib |
---|
25 | |
---|
26 | # Under this directory, new global shared library staffs will be created. |
---|
27 | export G4LIB=$G4INSTALL/slib |
---|
28 | |
---|
29 | export G4LIB_BUILD_SHARED=1 |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.