-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Switch mono to use cmake-detected objcopy #83903
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
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0913ff2
Switch mono to use cmake-detected objcopy
am11 2111ae1
Fix a condition
am11 5d3fe81
Handle wasi case
am11 e552b0f
Revert static lib change
am11 bdf5d80
typo
am11 ab5994d
revert static lib change
am11 3c2a67f
revert static lib change
am11 3db2d82
Address CR feedback
am11 fdc3eaa
Merge branch 'main' into feature/build/mono-objcopy
am11 5f0b20c
Address CR feedback
am11 51ffe9b
Merge dotnet/main into feature/build/mono-objcopy
am11 7c830a7
.
am11 ada35bc
Merge dotnet/main again...
am11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Handle wasi case
- Loading branch information
commit 5d3fe81a483a3068e2bc1a16514193e9e7995132
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you verify that the rpath is correct after this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed this works because we pass
-DMONO_SHARED_LIB_NAME=$(MonoSharedLibName)into cmake now so the filename is correct from the beginning (and thus the rpath).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH, I mainly relied upon the CI for this one. We switched cmake
installwith our wrapperinstall_with_stripped_symbols, which is used for all binaries for coreclr, libs and corehost.Now that you have mentioned it, I tested it on osx-arm64 and
otoolgives me the same output before (main) and after (PR):If the passing CI legs do not indicate that iOS / other targets are in the clear and this testing (on osx-arm64) is not enough, I can try to build for those platforms as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked through the failures on runtime-extra-platforms and none of them seem to be related :)