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

Info about building via git is incomplete #2

Open
aradi opened this issue Dec 3, 2024 · 0 comments
Open

Info about building via git is incomplete #2

aradi opened this issue Dec 3, 2024 · 0 comments

Comments

@aradi
Copy link

aradi commented Dec 3, 2024

I just tried to follow the instructions on https://docs.lfortran.org/en/installation/ for building LFortran from the Git-repo.

If I do it, the compiler builds, but when I try to compile a source file with it, I get an error message about missing clang compiler:

sh: clang: command not found                                                     
The command 'clang -o hello.out hello.tmp.o  -L"/mnt/scratch/aradi/BUILD/lfortran
/src/bin/../runtime" -Wl,-rpath,"/mnt/scratch/aradi/BUILD/lfortran/src/bin/../run
time" -llfortran_runtime -lm' failed.

I think, one should either declare in the documentation, that a clang compiler is needed (not just any working C++ compiler), or, even better, add clang as an additional to be installed dependency when creating the conda environment.

Note: This is the same issue as reported for the conda-forge recipe at conda-forge/lfortran-feedstock#110

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

1 participant