Skip to content

Move restore user global state code to proper section #635

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

stanleytsang-amd
Copy link
Collaborator

@stanleytsang-amd stanleytsang-amd commented Apr 11, 2025

I believe #624 was incomplete in that it did not move the restore user global state code

# Restore user global state

to after the configuration of googletest and googlebenchmark.

This results in the tests and benchmarks to be built as shared libraries by default and not static libraries (which is how it worked before). This then requires googletest/bench libs to be installed on the system, which is not guaranteed and is causing issues in QA testing.

@NguyenNhuDi Please confirm if the location of the restore user global state code was intended by your PR.

Copy link
Collaborator

@RobsonRLemos RobsonRLemos 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 to me. The failing check seems not to be related to the modifications.

Copy link
Collaborator

@NguyenNhuDi NguyenNhuDi left a comment

Choose a reason for hiding this comment

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

LGTM. The location of restore user global state was missed in my last PR (#624)

@stanleytsang-amd stanleytsang-amd merged commit bd4f046 into ROCm:develop Apr 14, 2025
22 of 23 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.

3 participants