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.
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/libasrdirectory, simply make changes there and ensure things work locally. Then:cd libasrgit checkout -b myfixgit add -u# and other files as neededgit commitgit push mylfortran myfix# Wheremylfortranis your fork of LFortran, for examplegit@github.com:certik/lfortran.git.cd ..git checkout -b myfix2git add libasr# and other files from LPython as neededgit commitgit push mylpython myfix2The step 9. updates
libasrto a new hash, and the step 5. is what allows GitHub to see it, so that everything works at the CI.