]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
29-nov-2004 NvE Additional sub-directories (e.g. wa98) introduced which contain Ralic...
authornick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Dec 2004 07:43:39 +0000 (07:43 +0000)
committernick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Dec 2004 07:43:39 +0000 (07:43 +0000)
                to serve data analysis efforts for various experiments.
01-dec-2004 NvE Install scripts like e.g. "gcclib" renamed to "gcclib.sh" etc... in /scripts.
                The old scripts (i.e. without the .sh extension) will be deleted in due time.

RALICE/history.txt
RALICE/scripts/alphacxxlib.sh [new file with mode: 0644]
RALICE/scripts/gcclib.sh [new file with mode: 0644]
RALICE/scripts/hpcclib.sh [new file with mode: 0644]
RALICE/scripts/macgcclib.sh [new file with mode: 0644]

index 1ac3e69ec61d7d5542713360aaff1b39aa335f4e..5d403ed581e81da8347c063b1a68182602e69008 100644 (file)
                 ListWaveform() and GetWaveformIndex() introduced in AliSignal.
 28-nov-2004 NvE User definable status word introduced in AliDevice to allow indication of different
                 versions of readout electronics etc... 
+29-nov-2004 NvE Additional sub-directories (e.g. wa98) introduced which contain Ralice implementations
+                to serve data analysis efforts for various experiments.
+01-dec-2004 NvE Install scripts like e.g. "gcclib" renamed to "gcclib.sh" etc... in /scripts.
+                The old scripts (i.e. without the .sh extension) will be deleted in due time.
diff --git a/RALICE/scripts/alphacxxlib.sh b/RALICE/scripts/alphacxxlib.sh
new file mode 100644 (file)
index 0000000..3e71983
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+### Shell script to create a ROOT loadable ALPHA-CXX shared lib out of .cxx source code
+###
+### NvE 05-jul-2000 UU-SAP Utrecht
+
+### Name of the produced shared library
+lib=ralice.so
+
+### The option string for ALPHA-CXX shared lib compilation and linking ***
+### For the ALPHA-CXX ROOT loadable shared lib the strict requirements are ***
+### dropped to avoid many warnings from the rootcint generated code ***
+alpharoot="-x cxx -g0 -shared -w1 -I$ROOTSYS/include -o $lib"
+
+### Go to the directory with the source files
+cd ..
+
+### Create the dictionary files
+rootcint zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
+
+### Compile and create the ROOT loadable shared library
+cxx $alpharoot *.cxx   
+
+rm zzzralicedict.*
+rm *.o
+rm so_locations
+
+### Move the created lib to the scripts directory and go there
+mv $lib scripts
+cd scripts
+
+echo ' '
+echo '*** alphacxxlib done. Result in ' $lib 
diff --git a/RALICE/scripts/gcclib.sh b/RALICE/scripts/gcclib.sh
new file mode 100644 (file)
index 0000000..0cf9c40
--- /dev/null
@@ -0,0 +1,34 @@
+#!/bin/sh
+### Shell script to create a ROOT loadable GCC shared lib out of .cxx source code
+###
+### NvE 23-may-2000 UU-SAP Utrecht
+# 
+### Name of the produced shared library
+lib=ralice.so
+# 
+### The option string for GCC shared lib compilation and linking ***
+### For the GCC ROOT loadable shared lib the strict requirements are ***
+### dropped to avoid many warnings from the rootcint generated code ***
+gccroot="-shared -g0 -ansi -pedantic -Wall -Wno-long-long -I$ROOTSYS/include -o $lib"
+#
+echo "lib = " $lib
+echo "gccroot = " $gccroot 
+#
+### Go to the directory with the source files
+cd ..
+#
+### Create the dictionary files
+rootcint -f zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
+# 
+### Compile and create the ROOT loadable shared library
+g++ $gccroot *.cxx   
+# 
+rm zzzralicedict.*
+rm *.o
+# 
+### Move the created lib to the scripts directory and go there
+mv $lib scripts
+cd scripts
+#
+echo ' ' 
+echo '*** gcclib done. Result in ' $lib 
diff --git a/RALICE/scripts/hpcclib.sh b/RALICE/scripts/hpcclib.sh
new file mode 100644 (file)
index 0000000..12e73d9
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+### Shell script to create a ROOT loadable HP-CC shared lib out of .cxx source code
+###
+### NvE 28-jun-1999 UU-SAP Utrecht
+#
+### The option strings for HP-CC shared lib compilation and linking ***
+### For the HP-CC ROOT loadable shared lib the strict requirements are ***
+### dropped to avoid many warnings from the rootcint generated code ***
+
+hpcomp="-c -s -z +z +a1 +w +DAportable -I$ROOTSYS/include"
+hproot="-c -s -z +z +a1 +DAportable -I$ROOTSYS/include"
+hplink="-L$ROOTSYS/lib/ -l*.sl -lm"
+
+### Go to the directory with the source files
+cd ..
+
+rootcint zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
+
+CC $hproot *.cxx   
+
+CC -b -o ralice.sl *.o
+
+rm zzzralicedict.*
+rm *.o
+
+### Move the created lib to the scripts directory and go there
+mv ralice.sl scripts
+cd scripts
+
+echo '*** hpcclib done. Result in ralice.sl'
diff --git a/RALICE/scripts/macgcclib.sh b/RALICE/scripts/macgcclib.sh
new file mode 100644 (file)
index 0000000..2154816
--- /dev/null
@@ -0,0 +1,50 @@
+#!/bin/sh
+### Shell script to create a ROOT loadable GCC shared lib out of .cxx source code
+###
+### NvE 23-may-2000 UU-SAP Utrecht
+# 
+### Name of the produced shared libraries
+lib1=ralice.so
+lib2=ralice.dylib
+#
+### Some MAC specific settings
+export MACOSX_DEPLOYMENT_TARGET=10.3
+unset LD_PREBIND
+# 
+### The option string for GCC shared lib compilation and linking ***
+### For the GCC ROOT loadable shared lib the strict requirements are ***
+### dropped to avoid many warnings from the rootcint generated code ***
+gccroot="-c -g0 -ansi -pedantic -Wall -Wno-long-long -I$ROOTSYS/include"
+#
+echo "lib = " $lib
+echo "gccroot = " $gccroot 
+#
+### Go to the directory with the source files
+cd ..
+#
+### Create the dictionary files
+rootcint -f zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
+# 
+### Compile and create the ROOT loadable shared library
+#
+# Compilation phase
+g++ $gccroot *.cxx   
+#
+# Creating ralice.so library 
+g++ -v -bundle -undefined dynamic_lookup -o $lib1 *.o
+#
+# Creating ralice.dylib library 
+g++ -v -dynamiclib -undefined dynamic_lookup -single_module -o $lib2 *.o
+### On some systems the following extra "-read_only_relocs" flag might be needed
+# g++ -v -dynamiclib -undefined dynamic_lookup -single_module -read_only_relocs -o $lib2 *.o
+#
+rm zzzralicedict.*
+rm *.o
+# 
+### Move the created lib to the scripts directory and go there
+mv $lib1 scripts
+mv $lib2 scripts
+cd scripts
+#
+echo ' ' 
+echo '*** macgcclib done. Results in ' $lib1 ' and ' $lib2