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

Ubuntu does not detect Clang #151

Closed
Keryen opened this issue Feb 24, 2020 · 2 comments
Closed

Ubuntu does not detect Clang #151

Keryen opened this issue Feb 24, 2020 · 2 comments
Labels
cmake Build system in general and CMake in particular question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Comments

@Keryen
Copy link

Keryen commented Feb 24, 2020

Hello,

I have updated this project as I saw the new version (i had version 10). I pulled the changes make since I installed this project and now my pc does not detect Clang. I have done the following steps:

  • git pull origin master
  • cmake -DLLVM_ENABLE_PROJECTS="clang" -G Ninja ../llvm

When i use the command clang, it gives me the error that the command is not found. I have the bin of this project in the PATH, in .profile and also in .bashrc:

echo $PATH
/home/enrique/Escritorio/spirv-tools/build/tools:/home/enrique/Escritorio/llvm-project/build/bin:/home/enrique/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/enrique/Escritorio/llvm-project/build/bin:/home/enrique/Escritorio/spirv-tools/build/tools

Any suggestions to solve this problem?

@delcypher
Copy link
Contributor

  • git pull origin master
  • cmake -DLLVM_ENABLE_PROJECTS="clang" -G Ninja ../llvm

You're missing the invocation to ninja to build the project. Running cmake like you do above just "configures" the project. It doesn't compile LLVM itself.

Bigcheese pushed a commit to Bigcheese/llvm-project that referenced this issue Feb 27, 2020
[ASan] Make insertion of version mismatch guard configurable
@RKSimon RKSimon added the question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead! label Apr 12, 2022
@RKSimon
Copy link
Collaborator

RKSimon commented Apr 12, 2022

Resolving old query - the likely issue was identified and there was no further response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Build system in general and CMake in particular question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Projects
None yet
Development

No branches or pull requests

3 participants