Skip to content
Snippets Groups Projects
Commit 3f9dae2e authored by Ulrich Schwickerath's avatar Ulrich Schwickerath
Browse files

link database library into /cvmfs/delphi.cern.ch/releases/ubuntu-x86_64-24/dstana/161018/lib

parent 12045381
No related branches found
No related tags found
1 merge request!43link database library into /cvmfs/delphi.cern.ch/releases/ubuntu-x86_64-24/dstana/161018/lib
Pipeline #12076343 passed
...@@ -28,7 +28,7 @@ clean: ...@@ -28,7 +28,7 @@ clean:
rm -rf /tmp/swcd build rm -rf /tmp/swcd build
# build the full stack # build the full stack
all: clean setup cernlib dstana ddb des examples docs openphigs delgra idea simana export all: clean setup cernlib ddb dstana des examples docs openphigs delgra idea simana export
swcd: swcd:
./GetCodeFromGitlab.sh $(DELPHI_SWCD) ./GetCodeFromGitlab.sh $(DELPHI_SWCD)
......
...@@ -36,8 +36,12 @@ if [ $rc -eq 0 ]; then ...@@ -36,8 +36,12 @@ if [ $rc -eq 0 ]; then
if [ $rc -eq 0 ]; then if [ $rc -eq 0 ]; then
echo "All database executables created" echo "All database executables created"
cd $DELPHI_BIN cd $DELPHI_BIN
mv ../ddb/bin/Linux/* ../ddb/bin
rmdir ../ddb/bin/Linux
mkdir ../ddb/lib
mv ../ddb/src/lib/Linux/* ../ddb/lib
for x in dedit dlist dplot dtobcd dtobin; do for x in dedit dlist dplot dtobcd dtobin; do
ln -s ../ddb/bin/Linux/$x ln -s ../ddb/bin/$x
done done
exit 0 exit 0
else else
......
...@@ -71,8 +71,10 @@ make_dellib -p dstana -v $VERS -o compile -batch ...@@ -71,8 +71,10 @@ make_dellib -p dstana -v $VERS -o compile -batch
rc=$? rc=$?
if [ $rc -eq 0 ]; then if [ $rc -eq 0 ]; then
echo "Build succeeded" echo "Build succeeded"
# link database
cd $DELPHI_LIB; ln -s ../../../ddb/lib/libddappxx.a
else else
echo "Build FAILED" echo "Build FAILED"
fi fi
exit $rc exit $rc
...@@ -44,7 +44,7 @@ if (defined $ENV{DELPHI_LIB}){ ...@@ -44,7 +44,7 @@ if (defined $ENV{DELPHI_LIB}){
# #
my ($skelana,$bsaurus,$dstana,$vdclap,$vfclap,$phdst,$pxtag); my ($skelana,$bsaurus,$dstana,$vdclap,$vfclap,$phdst,$pxtag);
my ($trigger,$ufield,$uhlib,$herlib,$ux,$pxdst,$tanagra); my ($trigger,$ufield,$uhlib,$herlib,$ux,$pxdst,$tanagra,$ddapp);
while ($_ = shift @ARGV){ while ($_ = shift @ARGV){
if ( /^skelana(?:xx){0,1}$/ ){ if ( /^skelana(?:xx){0,1}$/ ){
...@@ -76,10 +76,12 @@ while ($_ = shift @ARGV){ ...@@ -76,10 +76,12 @@ while ($_ = shift @ARGV){
$phdst = 1; $phdst = 1;
}elsif ( /^herlib(?:xx){0,1}$/ ){ }elsif ( /^herlib(?:xx){0,1}$/ ){
$herlib = 1; $herlib = 1;
}elsif ( /^ddapp(?:xx){0,1}$/ ){
$ddapp = 1;
}else{ }else{
print STDERR "USAGE:\n"; print STDERR "USAGE:\n";
print STDERR " dellib [skelana bsaurus dstana vdclap vfclap phdst pxtag \n"; print STDERR " dellib [skelana bsaurus dstana vdclap vfclap phdst pxtag \n";
print STDERR " trigger ufield uhlib herlib ux pxdst tanagra ]\n\n"; print STDERR " trigger ufield uhlib herlib ux pxdst tanagra ddapp ]\n\n";
exit 1; exit 1;
} }
} }
...@@ -107,6 +109,7 @@ push(@liblist,"uhlibxx") if defined $uhlib; ...@@ -107,6 +109,7 @@ push(@liblist,"uhlibxx") if defined $uhlib;
push(@liblist,"herlibxx") if defined $herlib; push(@liblist,"herlibxx") if defined $herlib;
push(@liblist,"uxxx") if defined $ux; push(@liblist,"uxxx") if defined $ux;
push(@liblist,"tanagraxx") if defined $tanagra; push(@liblist,"tanagraxx") if defined $tanagra;
push(@liblist,"ddappxx") if defined $ddapp;
map {$_ = "-l$_"} @liblist; # prepend each library with "-l" map {$_ = "-l$_"} @liblist; # prepend each library with "-l"
......
...@@ -21,7 +21,7 @@ if [[ ! -z "${GROUP_DIR}" ]]; then ...@@ -21,7 +21,7 @@ if [[ ! -z "${GROUP_DIR}" ]]; then
rc=2 rc=2
fi fi
# count testing libraries # count testing libraries
elibs=597 elibs=600
flibs=`find . -name \*.a | wc -l` flibs=`find . -name \*.a | wc -l`
if [ "x$elibs" = "x$flibs" ]; then if [ "x$elibs" = "x$flibs" ]; then
echo "All expected $elibs libraries have been created" echo "All expected $elibs libraries have been created"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment