-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Statically linking coreclr and clrjit in single file host (#43556)
* Statically linking coreclr and clrjit in single file host. * setting g_hmodCoreCLR on Unix * System.Globalization.Native.lib must build with coreclr to be linkable with it * Always use system unwind libs on FREEBSD * no DllMain when coreclr is statically linked * Handle cases when coreclr configuration is different from libraries * Adding and using PAL_GetPalHostModule
- Loading branch information
Showing
24 changed files
with
268 additions
and
270 deletions.
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Licensed to the .NET Foundation under one or more agreements. | ||
# The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
add_subdirectory(static) | ||
add_subdirectory(standalone) |
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,37 @@ | ||
# Licensed to the .NET Foundation under one or more agreements. | ||
# The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
# Include directories | ||
include_directories(${CMAKE_CURRENT_LIST_DIR}/../json) | ||
include_directories(${CMAKE_CURRENT_LIST_DIR}/../fxr) | ||
|
||
# CMake does not recommend using globbing since it messes with the freshness checks | ||
list(APPEND SOURCES | ||
${CMAKE_CURRENT_LIST_DIR}/command_line.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/corehost_init.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/hostfxr.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/fx_muxer.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/fx_resolver.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/fx_resolver.messages.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/framework_info.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/host_context.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/sdk_info.cpp | ||
${CMAKE_CURRENT_LIST_DIR}/sdk_resolver.cpp | ||
) | ||
|
||
list(APPEND HEADERS | ||
${CMAKE_CURRENT_LIST_DIR}/../corehost_context_contract.h | ||
${CMAKE_CURRENT_LIST_DIR}/../hostpolicy.h | ||
${CMAKE_CURRENT_LIST_DIR}/../fx_definition.h | ||
${CMAKE_CURRENT_LIST_DIR}/../fx_reference.h | ||
${CMAKE_CURRENT_LIST_DIR}/../roll_fwd_on_no_candidate_fx_option.h | ||
${CMAKE_CURRENT_LIST_DIR}/command_line.h | ||
${CMAKE_CURRENT_LIST_DIR}/corehost_init.h | ||
${CMAKE_CURRENT_LIST_DIR}/fx_muxer.h | ||
${CMAKE_CURRENT_LIST_DIR}/fx_resolver.h | ||
${CMAKE_CURRENT_LIST_DIR}/framework_info.h | ||
${CMAKE_CURRENT_LIST_DIR}/host_context.h | ||
${CMAKE_CURRENT_LIST_DIR}/sdk_info.h | ||
${CMAKE_CURRENT_LIST_DIR}/sdk_resolver.h | ||
) | ||
|
Oops, something went wrong.