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

Mark Sleef_rempitabq* constants as static #536

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

luhenry
Copy link
Contributor

@luhenry luhenry commented Apr 15, 2024

Without marking it static, it fails to compile when including multiple sleefinline_*.h into the same compilation unit.

Co-Authored-By: Hamlin Li hamlin@rivosinc.com

Without marking it static, it fails to compile when including multiple
sleefinline_*.h into the same compilation unit.
Copy link

@Hamlin-Li Hamlin-Li left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks

@joeramsay
Copy link
Contributor

joeramsay commented Apr 16, 2024

Would you mind adding static to Sleef_rempitabsp as well?

including multiple sleefinline_*.h into the same compilation unit.

This should already be addressed by the include guard around the rempi tables. Are you sure the issue isn't from linking multiple objects that all included the header and use the table?

@luhenry
Copy link
Contributor Author

luhenry commented Apr 16, 2024

@joeramsay fixed.

@joeramsay
Copy link
Contributor

Thanks, looks good to me (I don't have commit rights here though)

@luhenry
Copy link
Contributor Author

luhenry commented Apr 18, 2024

@blapie hi, what would be the path forward for this? Thanks!

@nSircombe
Copy link

Hi @luhenry, it should be possible to move this on soon (see #537 (comment))

@blapie blapie merged commit 945a7ef into shibatch:master Apr 24, 2024
31 checks passed
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.

5 participants