Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-llvm.sh Error #7

Open
dokhanchi opened this issue Aug 5, 2022 · 2 comments
Open

build-llvm.sh Error #7

dokhanchi opened this issue Aug 5, 2022 · 2 comments

Comments

@dokhanchi
Copy link

dokhanchi commented Aug 5, 2022

Hello Jonathan,

I am new in LLVM.
Using Ubuntu 20.04, it seems that the build-llvm.sh does not download the llvm-project properly:

bash build-llvm.sh
~/llvm ~/git/lbd/lbdex/install_llvm
Cloning into 'llvm-project'...
fatal: unable to connect to github.com:
github.com[0: 192.30.255.113]: errno=Connection timed out
build-llvm.sh: line 11: cd: llvm-project: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
cp: cannot stat 'llvm-project/clang': No such file or directory
cp: cannot stat 'llvm-projHello Jonathan,

I am new in LLVM.
Using Ubuntu 20.04, it seems that the build-llvm.sh does not download the llvm-project properly:

bash build-llvm.sh
~/llvm ~/git/lbd/lbdex/install_llvm
Cloning into 'llvm-project'...
fatal: unable to connect to github.com:
github.com[0: 192.30.255.113]: errno=Connection timed out
build-llvm.sh: line 11: cd: llvm-project: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
cp: cannot stat 'llvm-project/clang': No such file or directory
cp: cannot stat 'llvm-project/llvm': No such file or directory
cp: cannot stat 'llvm-project/compiler-rt': No such file or directory
~/llvm/release/build ~ ~/git/lbd/lbdex/install_llvm
OS = Linux
CMake Error: The source directory "/home//llvm/release/llvm" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
ninja: error: loading 'build.ninja': No such file or directory
~ ~/git/lbd/lbdex/install_llvm
~/git/lbd/lbdex/install_llvm
Please remember to add ${HOME}/llvm/release/bin to variable ${PATH} to your environment for clang++, clang.ect/llvm': No such file or directory
cp: cannot stat 'llvm-project/compiler-rt': No such file or directory
~/llvm/release/build ~ ~/git/lbd/lbdex/install_llvm
OS = Linux
CMake Error: The source directory "/home//llvm/release/llvm" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
ninja: error: loading 'build.ninja': No such file or directory
~ ~/git/lbd/lbdex/install_llvm
~/git/lbd/lbdex/install_llvm
Please remember to add ${HOME}/llvm/release/bin to variable ${PATH} to your environment for clang++, clang.

@jingyao-zhang
Copy link

It seems that you cannot connect to the github.com.
You may check this.

@reedkotler
Copy link

in the build-llvm script, the get_llvm is commented out
also you need to first create ~/llvm for the defaults to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants