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

Fix types on XDR::xdr_ops function struct for clang16 compilation #4408

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

hmacdope
Copy link
Member

@hmacdope hmacdope commented Jan 3, 2024

Fixes #4397

Changes made in this Pull Request:

PR Checklist

  • [NA] Tests?
  • [NA] Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

Developers certificate of origin


📚 Documentation preview 📚: https://mdanalysis--4408.org.readthedocs.build/en/4408/

Copy link

github-actions bot commented Jan 3, 2024

Linter Bot Results:

Hi @hmacdope! Thanks for making this PR. We linted your code and found the following:

There are currently no issues detected! 🎉

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b9f321c) 93.41% compared to head (86614e0) 93.41%.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop    #4408     +/-   ##
==========================================
  Coverage    93.41%   93.41%             
==========================================
  Files          171      185     +14     
  Lines        22511    23625   +1114     
  Branches      4129     4129             
==========================================
+ Hits         21028    22069   +1041     
- Misses         963     1036     +73     
  Partials       520      520             

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@IAlibay
Copy link
Member

IAlibay commented Jan 3, 2024

I don't think there are action or azure runners with clang-16 by default for testing. If we think it's worth it, it might be possible to do compilation tests by directly installing clang-16.

@hmacdope
Copy link
Member Author

hmacdope commented Jan 3, 2024

@IAlibay I have tested this locally, and have setup a test directly on feedstock with conda-forge/mdanalysis-feedstock#65, is that sufficent for this PR?

I don't think there are action or azure runners with clang-16 by default for testing. If we think it's worth it, it might be possible to do compilation tests by directly installing clang-16.

Is this aimed at this PR or more as a general integration test for the CI suite?

@IAlibay
Copy link
Member

IAlibay commented Jan 3, 2024

Is this aimed at this PR or more as a general integration test for the CI suite?

I'm not sure, this is obviously something that has caught us out. Last time I tried to do a compiler sweep things didn't go super well, so maybe not the best place to put efforts in.

@hmacdope
Copy link
Member Author

hmacdope commented Jan 3, 2024

The build using this patch and clang16 infra on feedstock seems to work fine. conda-forge/mdanalysis-feedstock#65

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

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

cheers, lgtm assuming tests (edit: i.e. beyond compile with clang-16) ran fine locally!

@hmacdope hmacdope merged commit 734314b into MDAnalysis:develop Jan 3, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MDAnalysis compilation fails on OSX clang 16 [xdrfile]
2 participants