Static libstdcxx and python (#139)
Support python + static libstdc++
[ROCm/rocprofiler-systems commit: a1dcd1bc4b]
Esse commit está contido em:
@@ -35,6 +35,12 @@ This submodule imports the timemory Python function profiler
|
||||
"""
|
||||
|
||||
try:
|
||||
import os
|
||||
|
||||
os.environ["OMNITRACE_PATH"] = os.path.abspath(
|
||||
os.path.join(os.path.dirname(__file__), "../../..")
|
||||
)
|
||||
|
||||
from .libpyomnitrace import coverage
|
||||
from . import user
|
||||
from .profiler import Profiler, FakeProfiler
|
||||
|
||||
@@ -93,7 +93,7 @@ class Region:
|
||||
_count = Region._counter
|
||||
self._active = False
|
||||
if _count != self._count:
|
||||
raise LogicError(
|
||||
raise RuntimeError(
|
||||
f"{self._label} was not popped in the order it was pushed. Current stack number: {_count}, expected stack number: {self._count}"
|
||||
)
|
||||
_libuser.pop_region(self._label)
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário