mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
* 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 <[email protected]> Co-authored-by: Jan Kotas <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Update eng/native/version/copy_version_files.sh Co-authored-by: Adeel Mujahid <[email protected]> * Update copy_version_files.sh to insert the current commit hash into _version.c. * Apply suggestions from code review Co-authored-by: Adeel Mujahid <[email protected]> * 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 <[email protected]> * Fix comparison for NativeOptimizationDataSupported. Co-authored-by: Viktor Hofer <[email protected]> Co-authored-by: Jan Kotas <[email protected]> Co-authored-by: Juan Hoyos <[email protected]> Co-authored-by: Adeel Mujahid <[email protected]>