taichi: building procedure is not prescribed
can’t build on win/linux. i modify the source a little bit to work on llvm9. though leaving the source mostly untouched, the import fails at different place. i got a version that windows failed to load bitcode. And after i pull the source from repo, the linux vesion fails at import taichi_core. i explicitly change the sys.path to contain the taichi_core.pyd file. I believe is something wrong during the taichi_core import. and the windows version now fails at:
(base) D:\dev\taichi\python>python build.py
[Release mode]
[T 02/04/20 19:26:01.480] [logging.cpp:taichi::Logger::Logger@68] Taichi core started. Thread ID = 16448
[Taichi version 0.3.25, cuda 10.0, commit c5ce590f]
Traceback (most recent call last):
File "build.py", line 6, in <module>
import taichi as ti
File "D:\dev\taichi\python\taichi\__init__.py", line 15, in <module>
from taichi.lang import *
File "D:\dev\taichi\python\taichi\lang\__init__.py", line 26, in <module>
cuda = core.cuda
AttributeError: module 'taichi_core' has no attribute 'cuda'
any ideas?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (8 by maintainers)
On my computer,
%TAICHI_REPO_DIR%\bin\RelWithDebInfo\ti.exeworks. I can runti testafter adding%TAICHI_REPO_DIR%\bin\RelWithDebInfointo PATH.‘ti test’ this testing comand is not listed in windows section. I think this should be in a different section. And describe how testing should return results, and how to write test cases.