Skip to content

gcc: fix get_completion_scheduler for -Og#1145

Merged
ericniebler merged 2 commits intoNVIDIA:mainfrom
williamspatrick:main
Nov 19, 2023
Merged

gcc: fix get_completion_scheduler for -Og#1145
ericniebler merged 2 commits intoNVIDIA:mainfrom
williamspatrick:main

Conversation

@williamspatrick
Copy link
Contributor

@williamspatrick williamspatrick commented Nov 17, 2023

No description provided.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Nov 17, 2023

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

The get_completion_schedule failed to link with -Og.  There doesn't
appear to be a direct way to detect this with pre-processor flags.
Therefore, switch the detection so that only size-optimization results
in the template type (__OPTIMIZE_SIZE__ instead of __OPTIMIZE__).

Fixes: d5d5cab
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
@ericniebler
Copy link
Collaborator

the summary for this pr is inaccurate, since it's only the one fix.

/ok to test

@williamspatrick
Copy link
Contributor Author

I’ll fix that. I did something funny with the rebase against the content that merged yesterday and then gh pr decided to write this.

@ericniebler
Copy link
Collaborator

/ok to test

@ericniebler
Copy link
Collaborator

/ok to test

@ericniebler ericniebler merged commit 7146273 into NVIDIA:main Nov 19, 2023
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