get Tiramisu submodules llvm for Halide failed with .//3rdParty/llvm: No such file or directory error

与世无争的帅哥 提交于 2019-12-13 02:49:24

问题


Hi i'm trying to install tiramisu compiler.

and once trying install it's sub-modules ( (ISL, LLVM and Halide) by using this command

dina@dina-VBox:~/tiramisu$ ./utils/scripts/install_submodules.sh ./

and i get in the end this error

Done installing isl
#### Installing LLVM ####
cd .//3rdParty/llvm
.//utils/scripts/functions.sh: line 6: cd: .//3rdParty/llvm: No such file or directory

even one i do ls i find it

dina@dina-VBox:~/tiramisu/3rdParty$ ls
clang  Halide  isl  llvm

and this is llvm content

dina@dina-VBox:~/tiramisu/3rdParty/llvm$ ls
bindings  CMakeLists.txt   configure    docs      include  LICENSE.TXT    llvm.spec.in  README.txt           resources  test   unittests
cmake     CODE_OWNERS.TXT  CREDITS.TXT  examples  lib      LLVMBuild.txt  projects      RELEASE_TESTERS.TXT  runtimes   tools  utils
dina@dina-VBox:~/tiramisu/3rdParty/llvm$ 

What should i do to fix this problem.


回答1:


Can you try to install as follows

./utils/scripts/install_submodules.sh $PWD

$PWD returns the full path of the current directory unlike ./ which does not return the full path. The next steps in the installation seem to require the full path.




回答2:


The solution shown above fix the problem of 3rdParty folder not found.

But even i fixed this problems many others problem appear and the installation always stop in 66% or 99% . :,(

All the dos lead to closed way :(.

So if you may get in same trouble i shared here in related question of the installation of tiramisu some important tips that should be token into consideration to avoid to fix all this troubles at once and live happy :D :D .

here is the link.



来源:https://stackoverflow.com/questions/52676881/get-tiramisu-submodules-llvm-for-halide-failed-with-3rdparty-llvm-no-such-fi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!