Skip to content

build-llvm.sh Error #7

@dokhanchi

Description

@dokhanchi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions