Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lfortran to v 0.33.0 #28

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

Shaikh-Ubaid
Copy link
Member

No description provided.

./run_tests.py --skip-run-with-dbg --no-llvm --skip-cpptranslate
./run_tests.py --skip-cpptranslate
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In LFortran, there is one reference test that uses the run_with_debug (-g --debug-with-line-column) at the following location

https://github.com/lfortran/lfortran/blob/591d78857ddc525ffbaf1d30a671b7f312db4dc8/tests/tests.toml#L3623-L3625

@certik Is the above test sufficient enough for testing the -g --debug-with-line-column or should we add another test (hosted in this repository) for testing it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that should be sufficient. However you need to disable LLVM tests, or install exactly the same LLVM version that we use, which currently is LLVM 11.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it's the LLVM that is used to build lfortran. And that is not LLVM 11, so we can't run the LLVM tests they will fail.

We should only run the debug tests, not LLVM tests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert this change? Let's just upgrade LFortran, ensure all old tests work.

As a separate PR let's try to test the debug info.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, reverted.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it's the LLVM that is used to build lfortran. And that is not LLVM 11, so we can't run the LLVM tests they will fail.

Yes, I understand. Thanks. We use llvm 11.0.1 for updating reference tests and in the lfortran-feedstock we use llvm 16.0.6. The reference outputs generated by both the versions do not match.

@Shaikh-Ubaid
Copy link
Member Author

PS: We might need to rerun the CI once LFortran 0.33.0 is available at conda-forge.

@Shaikh-Ubaid Shaikh-Ubaid changed the title Update lfortran to v 0.33.0 and enable debug test Update lfortran to v 0.33.0 Jan 29, 2024
@Shaikh-Ubaid
Copy link
Member Author

LFortran v0.33.0 seems to be available at https://anaconda.org/conda-forge/lfortran/files, but conda is unable to install this version yet (I also checked this locally on my system).

@certik Do you know how much time it usually takes for conda to work with newer version once that version is uploaded at https://anaconda.org/conda-forge/lfortran/files?

@certik
Copy link
Contributor

certik commented Jan 29, 2024

Usually an hour or so. It's already available for me locally on Apple M1.

@Shaikh-Ubaid Shaikh-Ubaid marked this pull request as ready for review January 29, 2024 22:03
@Shaikh-Ubaid Shaikh-Ubaid merged commit ae68aa8 into lfortran:main Jan 29, 2024
6 checks passed
@Shaikh-Ubaid Shaikh-Ubaid deleted the update_lfortran branch January 29, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants