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

Clang won't be found if not aliased? #3783

Closed
fenilli opened this issue Jun 18, 2024 · 0 comments · Fixed by #3821
Closed

Clang won't be found if not aliased? #3783

fenilli opened this issue Jun 18, 2024 · 0 comments · Fixed by #3821

Comments

@fenilli
Copy link

fenilli commented Jun 18, 2024

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Odin:    dev-2024-06-nightly:f745a1c47
OS:      Pop!_OS 22.04 LTS, Linux 6.8.0-76060800daily20240311-generic
CPU:     AMD Ryzen 9 3900X 12-Core Processor            
RAM:     15907 MiB
Backend: LLVM 17.0.6

Expected Behavior

After installing llvm via apt.llvm in any version it should use clang-version and not clang, as when intalling a specific version it won't add clang as alias.

I would expect odin to add if not present already, a way to tell the odin compiler where to look for the clang executable.

Current Behavior

The current behaviour is failing when trying to run odin at all, it compiles but fails to execute.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. install llvm-17
  2. odin run . or odin build .

Failure Logs

clang: command not found

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

Successfully merging a pull request may close this issue.

1 participant