-
Notifications
You must be signed in to change notification settings - Fork 30
Add LFortran Compiler Support #57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Thanks very much @gha3mi. A few notes
|
I considered this as well, but I was uncertain about which compiler should be set in this scenario. Since all the other compilers are available, it should be easy to figure out.
Personally, I'm not a fan of Conda. The issue is that LFortran consistently suggests using Miniconda. By the way, I won't be able to work on it soon, maybe later. Someone else might find the time to do it. Feel free to make changes to this PR. |
there was a brief thread in the lfortran mailing list last month, suggesting it will soon be available on APT as well |
copying from #78 I think we can just use the builtin conda on linux/windows and install/use micromamba on mac, and move ahead with this, rather than wait for it on other package managers as I was thinking before. Some more things:
|
Hi,
This PR references issue #11 and adds LFortran support on Linux and macOS by installing LFortran using Miniconda.
The installation of LFortran on Windows using Miniconda is completed in the last commit. However, as I am not a Windows user, I couldn't set the paths. Perhaps someone else can perform the final steps for Windows.
Best,
Ali
[Edited]:
CC
/CCX
for LFortran.C:/ProgramData/Miniconda3/envs/lf/Library/bin/lfortran.exe
. You can check it withcd C:/ProgramData/Miniconda3/envs/lf/Library/bin
and thendir
. However,-h
results in an error.set
andsetx
with/m
doesn't work properly. After setting paths, it may be necessary to restart the current shell. I tried withcmd /c
andpowershell.exe -Command
, but it doesn't work.