get Tiramisu submodules llvm for Halide failed wit

2019-08-25 16:33发布

问题:

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.



标签: llvm halide