Commits

Anonymous committed 4062243

workaround for differences between asetup and GaudiPolicy

  • Participants
  • Parent commits ac59783

Comments (0)

Files changed (2)

+2012-01-20  Wim Lavrijsen <WLavrijsen@lbl.gov>
+        * Workaround for differences between asetup and GaudiPolicy.
+
 2012-01-19  Wim Lavrijsen <WLavrijsen@lbl.gov>
         * More improved error propagation for corner cases. Now enabled MpProcessing.
 
 macro AthenaMP_PyROOT_linkopts " -L$(ROOT_home)/lib -lPyROOT"
 macro_append AthenaMP_linkopts " $(AthenaMP_PyROOT_linkopts)"
 
+## apparently, GaudiPolicy and asetup do not agree on installation directories
+## for python extension modules, so change the GaudiPolicy macro to conform to
+## what asetup expects:
+macro python_bin_module_dir '$(tag)/python/lib-dynload' \
+               target-winxp '$(tag)\python\lib-dynload' \
+  use-shared-dir&target-winxp '$(tag)\lib/python2.6' \
+               use-shared-dir '$(tag)/lib/python2.6'
 
 ## replacement of the multiprocessing features used by AthenaMP
 apply_pattern pyd_module module=_athenamp files=_athenamp/*.cxx deps=AthenaMP