Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python tests misconfiguration for gc-check target #386

Open
kurapov-peter opened this issue Oct 21, 2024 · 0 comments
Open

Python tests misconfiguration for gc-check target #386

kurapov-peter opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kurapov-peter
Copy link
Contributor

Running gc checks directly after a clean build fails on python tests due to some misconfiguration.

compile.sh --dev
cmake --build build/ --target gc-check

E.g.,

RUN: at line 4: "/usr/bin/python3.10" /localdisk/pakurapo/graph-compiler/test/mlir/test/gc/python/dialects/cpuruntime.py | /localdisk/pakurapo/graph-compiler/externals/llvm-project/build/bin/FileCheck /localdisk/pakurapo/graph-compiler/test/mlir/test/gc/python/dialects/cpuruntime.py
+ /usr/bin/python3.10 /localdisk/pakurapo/graph-compiler/test/mlir/test/gc/python/dialects/cpuruntime.py
+ /localdisk/pakurapo/graph-compiler/externals/llvm-project/build/bin/FileCheck /localdisk/pakurapo/graph-compiler/test/mlir/test/gc/python/dialects/cpuruntime.py
Traceback (most recent call last):
  File "/localdisk/pakurapo/graph-compiler/test/mlir/test/gc/python/dialects/cpuruntime.py", line 6, in <module>
    from gc_mlir.dialects import cpuruntime, func
  File "/localdisk/pakurapo/graph-compiler/build/python_packages/gc_mlir_core/gc_mlir/dialects/cpuruntime.py", line 10, in <module>
    from .._mlir_libs._gc_mlir.cpuruntime import *
ImportError: /localdisk/pakurapo/graph-compiler/build/python_packages/gc_mlir_core/gc_mlir/_mlir_libs/_gc_mlir.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZNK4llvm5Twine3strB5cxx11Ev
FileCheck error: '<stdin>' is empty.
@kurapov-peter kurapov-peter added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant