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

Add script to compare package contents #577

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

kwk
Copy link
Collaborator

@kwk kwk commented Jul 3, 2024

The script checks the actual package contents of rawhide and the currently promoted snapshot build. It uses the systems architecture in order to run two containers with the right set of LLVM versions installed.

@kwk kwk requested a review from nikic July 3, 2024 16:21
@kwk kwk self-assigned this Jul 3, 2024
nikic
nikic previously approved these changes Jul 8, 2024
Copy link
Collaborator

@nikic nikic left a comment

Choose a reason for hiding this comment

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

Thanks, works great!

I've reviewed the results, and found the following differences:

  • clang-libs ships way too many libraries. Fixed in https://src.fedoraproject.org/rpms/llvm/pull-request/241.
  • rawhide ships the clang cfg files in clang-libs, while big-merge ships them in clang. I think the big-merge behavior is correct, but maybe I'm missing some subtlety with library users of clang here. @tstellar Do you know why these config files were in clang-libs?
  • python3-clang in big-merge is just an empty directory! Something is wrong here.

scripts/compare-package-contents.sh Outdated Show resolved Hide resolved
scripts/compare-package-contents.sh Show resolved Hide resolved
@nikic
Copy link
Collaborator

nikic commented Jul 8, 2024

https://src.fedoraproject.org/rpms/llvm/pull-request/242 is the fix for the python-clang issue.

@kwk kwk merged commit f3c2716 into fedora-llvm-team:main Jul 8, 2024
4 of 5 checks passed
@kwk kwk deleted the compare-package-contents branch July 9, 2024 18:15
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