为Halide获取提拉米苏子模块llvm失败,并出现.//3rdParty/llvm:没有此类文件或目录错误 [英] get Tiramisu submodules llvm for Halide failed with .//3rdParty/llvm: No such file or directory error
本文介绍了为Halide获取提拉米苏子模块llvm失败,并出现.//3rdParty/llvm:没有此类文件或目录错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装提拉米苏编译器.
Hi i'm trying to install tiramisu compiler.
并尝试使用此命令安装其子模块((ISL,LLVM和Halide)
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 ./
最后我得到这个错误
Done installing isl
#### Installing LLVM ####
cd .//3rdParty/llvm
.//utils/scripts/functions.sh: line 6: cd: .//3rdParty/llvm: No such file or directory
我找到我一个人
dina@dina-VBox:~/tiramisu/3rdParty$ ls
clang Halide isl llvm
这是llvm内容
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.
推荐答案
可以尝试如下安装
./utils/scripts/install_submodules.sh $PWD
$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.
这篇关于为Halide获取提拉米苏子模块llvm失败,并出现.//3rdParty/llvm:没有此类文件或目录错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文