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

Using map instead of unordered_map to ensure reproducibility of kore definition generation #1059

Merged
merged 2 commits into from
May 16, 2024

Conversation

Robertorosmaninho
Copy link
Collaborator

We have seen that the definition.kore has been produced in a different order depending on the OS, which creates a flaky error for some tools like llvm-komplie-compute-ordinal and llvm-kompile-compute-loc, an error on #1053 MacOS tests, and some frontend errors as well.

This PR aims to fix that issue by replacing the data structure used to store the attributes.

@Robertorosmaninho Robertorosmaninho added the bug Something isn't working label May 15, 2024
@Robertorosmaninho Robertorosmaninho self-assigned this May 15, 2024
@rv-jenkins rv-jenkins changed the base branch from master to develop May 15, 2024 18:17
@Baltoli
Copy link
Contributor

Baltoli commented May 16, 2024

Will need formatting to fix CI but otherwise looks good!

@rv-jenkins rv-jenkins merged commit 2e36aee into develop May 16, 2024
9 checks passed
@rv-jenkins rv-jenkins deleted the fix-unordered-map-att branch May 16, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants