Skip to content
Snippets Groups Projects
Commit fa96bea0 authored by Tadej Novak's avatar Tadej Novak
Browse files

Merge branch 'lto.DataModelRunTests-20240514' into 'main'

DataModelRunTests: Fix test failure in LTO build.

See merge request atlas/athena!71357
parents b76e85a6 fb323af9
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,13 @@
# Purpose: Test reading xAOD objects directly from root.
#
# Work around library loading order issue seen with the LTO build.
# Otherwise we can get inconsistent resolution of a static std::string,
# leading to a free() failure during exit().
import ROOT
if ROOT.gSystem.FindDynamicLibrary ("libGaudiKernel", True):
ROOT.gSystem.Load("libGaudiKernel")
import cppyy
import sys
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment