Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-17Surface native sourcelink on CoreCLR native PDBs for easier dump debugging ↵Juan Hoyos
(#66677) * Use managed sourcelink infrastructure to allow for win native sourcelink
2021-11-25Reorganize libs.native (#61958)Adeel Mujahid
* Reorganize libs.native * Fix darwin build * Fix wasm-win32 build * Fix pipelines path evaluation
2021-10-27Move optdata and version file generation up to MSBuild from build-runtime ↵Jeremy Koritzinsky
(#58674) * Move optdata and version file generation from the native build scripts up into the managed scripts. The native build scripts will now by default copy a fallback version file in place if the version files do not exist and will disable PGO if no pgo file path is passed in to the build-runtime scripts. This removes all cases of build-runtime calling into MSBuild. * Update CI to use the new prereqs model. * Remove some old MSBuild arg pass-through that's no longer needed as build-runtime no longer calls into any MSBuild processes. * Apply suggestions from code review Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com> * Move some targets around based on feedback. * Output version files in the artifacts/obj dir so they can be easily shared. * Move native pgo into a targets file instead of being a separate project to be more static-graph friendly. * Fix subsets. * Share version file path by default * Fix VER_FILEDESCRIPTION_STR * Fix version fallback copies. * Fix include path for the version headers. * Update src/coreclr/dlls/mscordac/CMakeLists.txt Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com> * Enable easily sharing the fallback version files between all components of the repo. * Remove some now-unused command-line options from our build scripts. * Bump importance output to pass the pgo path between steps. * Add eval statement to run copy_version_files script * Rename some files and and standardize on a _version.c file name for Linux. * Remove temp proj ref. * Fix permissions * Reference targets to produce version file in libraries native build. * Fix CoreCLR build breaks * Generate the version files for Mono * include configurepaths.cmake on the Windows CoreFX build. * Restore mono.proj when building it through monoaotcross.proj. * Update copy script to work on macos. * Make sure mono pulls in the shared version files. * Add artifcats/obj dir as include dir for CoreCLR diagonstic components included in Mono * Add artifacts/obj include for the whole mono build. * Update CMakeLists.txt * Fix NativeVersion.rc path on Windows. * Fix linux version parsing to point at the right file. * Fix mono version parsing (apparently the quotes make a difference here) * Update src/coreclr/build-runtime.sh Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> * Update eng/native/version/copy_version_files.sh Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> * Update copy_version_files.sh to insert the current commit hash into _version.c. * Apply suggestions from code review Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> * Update the _version.c writing script to only update the placeholder version file if it actually is a placeholder (not a real generated file). * Generate the version files for wasm/browser as well. * Fix Mono WASM cross build. * Update eng/nativepgo.targets Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com> * Fix comparison for NativeOptimizationDataSupported. Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com> Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
2021-04-15Singlefile: enabling compression for managed assemblies. (#50817)Vladimir Sadov
* enable compression of assemblies * fix Unix build * map should use converted layout for compressed * enable execution for R2R * fixes for OSX * PR feedback (comments) * more PR feedback * shorter include path to pal_zlib.h * Apply suggestions from code review Co-authored-by: Vitek Karas <vitek.karas@microsoft.com> Co-authored-by: Vitek Karas <vitek.karas@microsoft.com>
2020-12-15Implementation of full EventPipeDiagnosticServer C library CoreClr shim. ↵Johan Lorensson
(#45354) Break out build of eventpipe library into vm/eventing/eventpipe (both for C++ as well as C library). Introduce ability to build CoreClr with C++ or C version of EventPipe/DiagnosticServer library. Beneficial during transition to have both library useable, C++ library is still default, but new cmake feature FEATURE_PERFTRACING_C_LIB can be defined in order to build and use C library instead of C++ version. Due to restrictions around standard headers in CoreClr, moved out C library IPC PAL into debug_pal (where C++ library has its IPC PAL). This unfortunately came with some additional needed changes since library had dependencies against runtime, so needed to make PAL sources independent of majority of EventPipe library. Added same feature as for EventPipe/DiagnosticServer library, possible to build debug_pal with C or C++ IPC PAL sources. Complemented a couple of CoreClr types with NoThrow methods so they could be used in shim containers without need for try/catch, CQuickArray::PushNoThrow, SHash::AddNoThrow. Missing strtoull on non Windows, add PAL_strtoull into PAL (PAL already included UTF16 version of the same functionality).
2020-11-26Share unix getexepath() definition via src/native (#44999)Adeel Mujahid
* Share unix getexepath() definition via src/native * Address CR feedback * Remove duplicate property * Inline variable with single usage * Fix include path in tests * Remove unixcoreruncommon static lib dependency * Merge coreruncommon.{cpp,h} into corerun.cpp * Include local headers before the first use * Remove Unix case from (Win32 only) corerun * Use realpath in getauxval case * Delete obsolete comment