-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Linking native libraries into superhost #38684
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
54f0dab
native libs location
VSadov 3bb3d7a
pass artifacts locations as CMake variables.
VSadov f8e83b2
Link native libs
VSadov 209d1e9
use LibrariesConfiguration to discover libraries artifacts
VSadov de2a408
Just add inotify on FreeBSD, if found
VSadov ce95b7f
redirect to current exe
VSadov 3c5bba1
remove bundled binaries from the netcoreapp/pkg
VSadov 490d16f
add some exports. (this all should be generated)
VSadov a0210b6
delete exports file
VSadov f8b9078
no bundling of native libs on OSX
VSadov a9c52d8
only link native libs on Linux
VSadov 8f64699
Support linking of coreclr on Linux only
VSadov ba35d2e
PR feedback
VSadov a018ace
just strcmp
VSadov ae2ab51
move the shim to dllimport.cpp
VSadov 0f27413
Use library names vs. file names
VSadov ef8ab47
call self-documenting ShouldRedirectToCurrentLibrary when deciding wh…
VSadov 4b4f018
move code after ENTRY per PAL convention, make g_running_in_exe check…
VSadov b7fa391
a few nits
VSadov 37237af
removed ShouldRedirectToCurrentLibrary. NULL library name in PAL_Load…
VSadov 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
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
include(CheckIncludeFiles) | ||
|
||
check_include_files( | ||
GSS/GSS.h | ||
HAVE_GSSFW_HEADERS) | ||
|
||
option(HeimdalGssApi "use heimdal implementation of GssApi" OFF) | ||
if (HeimdalGssApi) | ||
check_include_files( | ||
gssapi/gssapi.h | ||
HAVE_HEIMDAL_HEADERS) | ||
endif() |
8 changes: 0 additions & 8 deletions
8
src/installer/corehost/cli/apphost/static/singlefilehost_unixexports.src
This file was deleted.
Oops, something went wrong.
This file contains 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 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.
Where are we setting this variable? I cannot see it in this PR.
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.
the variable was introduced when we did coreclr embedding (previous PR of this series). It relies on coreclr mergeable knowing this fact at compile time.
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.
runtime/src/coreclr/src/vm/ceemain.cpp
Line 242 in 371ae3c
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.
Ah, thanks for the details, I've missed this one, I somehow thought we had just the g_running_in_exe.
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.
g_running_in_exe
is the PAL mirror ofg_coreclr_embedded
, since it can't seeg_coreclr_embedded
directly.