Commit 4d8ec387 authored by limm's avatar limm
Browse files

fix setup.py

parent c989a1cf
...@@ -85,6 +85,7 @@ def _main(): ...@@ -85,6 +85,7 @@ def _main():
version += "+das.opt1" version += "+das.opt1"
print("-- Building version", version) print("-- Building version", version)
dtk = _run_cmd(["cat", os.path.join(ROCM_HOME, '.info/rocm_version')]) dtk = _run_cmd(["cat", os.path.join(ROCM_HOME, '.info/rocm_version')])
dtk = ''.join(dtk.split('.'))
print(f"-- dtk_version = {dtk}") print(f"-- dtk_version = {dtk}")
version += ".dtk" + dtk version += ".dtk" + dtk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment