Comments (5)
Can you test it with #3920, that will work.
from lfortran.
How do I test it with #3920? I know Fortran, not cuda, LLVM or systems programming.
from lfortran.
If you are familiar with git
and conda
, you may just do the following steps assuming you have cloned LFortran
gh pr checkout 3920
conda create -n lf -c conda-forge llvmdev=11.0.1 bison=3.4 re2c python cmake make toml
conda activate lf
./build0.sh
./build1.sh
For more information you can visit: https://docs.lfortran.org/en/installation/#build-from-git
Feel free to ping.
No worries, you may even wait for new release once that PR gets merged and then download latest LFortran version.
from lfortran.
Pranavchiku's suggestion failed. I am not familiar with conda
but managed to use it. I had never heard of git
. When I tried gh
I got
(lf2) john:~$ gh pr checkout 3920
Command 'gh' not found, but can be installed with:
sudo snap install gh # version 2.6.0-15-g1a10fd5a, or
sudo apt install gh # version 2.4.0+dfsg1-2
sudo apt install gitsome # version 0.8.0+ds-6ubuntu1
See 'snap info gh' for additional versions.
(lf2)
so that although the conda create ...
command seemed to work, downloading and installing various packages,
make toml
and conda activate lf
did not give me a working lfortran
. Evidence:
(lf2) john:~$ make toml
make: *** No rule to make target 'toml'. Stop.
(lf2) john:~$ conda activate lf
(lf) john:~$ lfortran explogtest.f90
Command 'lfortran' not found, did you mean:
command 'gfortran' from deb gfortran (4:11.2.0-1ubuntu1)
Try: sudo apt install <deb name>
(lf) john:~$
So I deactivated lf.
from lfortran.
That is fine, to get lfortran
installed in your lf
environment you then have to follow ./build0.sh
and ./build1.sh
, well that is fine, once PR gets merged you can then pull latest release and that should work :)
Thanks for your efforts!
from lfortran.
Related Issues (20)
- Windows conda package doesn't work for me
- incorrect parsing of shared variable in openmp pragma HOT 2
- bug: remove symbol from old parent symbol table when imported from a new module HOT 1
- intrinsics_74 random number test is not robust
- srand() is a GFortran extension, hide it behind a compiler option
- Implement random_init HOT 3
- bug: add basic support for `tuple` type HOT 2
- std::bad_alloc error when using ADJUSTL with an array of characters HOT 1
- bug: compiling a source file which calls a subroutine contained entirely in a single file fails HOT 4
- Document ArrayPhysicalCast and array_physical_type
- Document `CPtrToPointer`
- Remove IntegerBOZ, use IntegerConstant
- conda lfortran llvm-wasm does not work HOT 2
- Call to EXIT not implemented HOT 3
- How to Extract Lexer Tokens and Parse Tree Using LFortran? HOT 1
- Derived type initialisation issue HOT 2
- Handle multiple arguments for intrinsics mapping
- bug: struct::m_derived_type cannot point outside of its symbol table
- Support `Reduction` in `DoConcurrentLoop`
- bug: fix codegen for C backend when an external symbol with `INTENT(INOUT)` is passed to a subroutine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lfortran.