Here is documentation how to make changes to libasr. This should be moved to README and our documentation.
To make changes to the libasr/src/libasr directory, simply make changes there and ensure things work locally. Then:
- cd libasr
- git checkout -b myfix
- git add -u # and other files as needed
- git commit
- git push mylfortran myfix # Where mylfortran is your fork of LFortran, for example git@github.com:certik/lfortran.git.
- Click on the link in the terminal to create a PR against LFortran
- cd ..
- git checkout -b myfix2
- git add libasr # and other files from LPython as needed
- git commit
- git push mylpython myfix2
The step 9. updates libasr to a new hash, and the step 5. is what allows GitHub to see it, so that everything works at the CI.
Reactions are currently unavailable
Here is documentation how to make changes to libasr. This should be moved to README and our documentation.
To make changes to the libasr/src/libasr directory, simply make changes there and ensure things work locally. Then:
The step 9. updates libasr to a new hash, and the step 5. is what allows GitHub to see it, so that everything works at the CI.