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

Fix target_link_options in pgosupport.cmake #93670

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Fix target_link_options in pgosupport.cmake #93670

merged 1 commit into from
Oct 18, 2023

Conversation

akoeplinger
Copy link
Member

This got broken in #92844, it was missing the scope keyword.

This got broken in #92844, it was missing the scope keyword.
@ghost
Copy link

ghost commented Oct 18, 2023

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

This got broken in #92844, it was missing the scope keyword.

Author: akoeplinger
Assignees: akoeplinger
Labels:

area-Infrastructure-coreclr

Milestone: -

akoeplinger added a commit to akoeplinger/runtime that referenced this pull request Oct 18, 2023
I noticed that we wrote the cache file before invoking cmake, this meant that if the cmake configure step failed (e.g. because of an invalid command like in dotnet#93670) then running the build again would skip cmake configure, resulting in a broken build setup.

This only applies to non-VS generators like ninja.
@akoeplinger
Copy link
Member Author

This is not tested in public CI so merging to fix the official build.

@akoeplinger akoeplinger merged commit fa0ba15 into main Oct 18, 2023
56 of 99 checks passed
@akoeplinger akoeplinger deleted the fix-pgo branch October 18, 2023 15:52
akoeplinger added a commit that referenced this pull request Oct 18, 2023
I noticed that we wrote the cache file before invoking cmake, this meant that if the cmake configure step failed (e.g. because of an invalid command like in #93670) then running the build again would skip cmake configure, resulting in a broken build setup.

This only applies to non-VS generators like ninja.
jkotas added a commit to jkotas/runtime that referenced this pull request Oct 23, 2023
jkotas added a commit that referenced this pull request Oct 23, 2023
…" (#93838)

* Revert "Fix target_link_options in pgosupport.cmake (#93670)"

This reverts commit fa0ba15.

* Revert "Use `add_link_options` and `target_link_options` in cmake (#92844)"

This reverts commit 3086d8a.
@ghost ghost locked as resolved and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants