Git Product home page Git Product logo

Comments (5)

Pranavchiku avatar Pranavchiku commented on June 9, 2024

Can you test it with #3920, that will work.

from lfortran.

harperjf avatar harperjf commented on June 9, 2024

How do I test it with #3920? I know Fortran, not cuda, LLVM or systems programming.

from lfortran.

Pranavchiku avatar Pranavchiku commented on June 9, 2024

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.

harperjf avatar harperjf commented on June 9, 2024

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.

Pranavchiku avatar Pranavchiku commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.