]> git.uio.no Git - u/mrichter/AliRoot.git/commit - PWGCF/FLOW/Documentation/examples/manual/ttree/macros/runTTreeFilterOnGrid.C
.so cleanup: restored .so in SetAdditionalLibs()
authordberzano <dario.berzano@cern.ch>
Fri, 12 Dec 2014 09:33:50 +0000 (10:33 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:11 +0000 (13:52 +0100)
commitb578ace1355bae701dfd9d32b1f3a6be2eddeca5
tree59f140bccd960c762c148b0b615e78b7f1a1bafd
parentb06358497cfda06dc5ff102c6e9216ab7f9df39c
.so cleanup: restored .so in SetAdditionalLibs()

gSystem->Load() does not need .so, .dylib extension: ROOT picks one
automatically; extensions there should *not* be specified in order to
make the code multiplatform.

Analysis Plugin's SetAdditionalLibs() *requires* libraries to have
either the ".so" or the ".dylib" extension because it needs to
distinguish libraries from PARfiles, headers, etc.: one of ".so" or
".dylib" *must* be specified, and at the time of loading it will be
correctly stripped - meaning that, for instance, "libASD.so" will work
on Macs too and "libASD.dylib" will also work on Linux boxes.

So:

 - gSystem->Load( "libASD" )  // no extension!
 - plugin->SetAdditionalLibs( "libASD1.so libASD2.dylib ..." )
     // must use either .so or .dylib
ANALYSIS/examples/EventMixing/AddAMEventMixingTest.C
PWG/DevNanoAOD/runGridESE.C
PWG/EMCAL/macros/runEMCalAnalysis.C
PWGCF/FLOW/Documentation/examples/manual/ttree/macros/runTTreeFilterOnGrid.C
PWGCF/FLOW/macros/CreateAlienHandler.C
PWGDQ/dielectron/TakuAlberica/single/runTaku.C
PWGDQ/dielectron/TakuAlberica/single/runTakuMC.C
PWGDQ/dielectron/macrosLMEE/testing/CreateAlienHandlerPbPb.C