1. 14 4月, 2021 1 次提交
    • D
      Simplify mibc usage in the build (#50536) · fccdca06
      David Wrighton 提交于
      - Produce a merged mibc with all scenarios squished together
      - Properly attach the mibc data to the incremental build for System.Private.CoreLib
        - This can't be done for the framework here. It will require mibc integration in the SDK
      - Enable pgo optimization in checked builds
      - Enable pgo optimization in framework compile for outerloop runs
      fccdca06
  2. 13 4月, 2021 1 次提交
  3. 03 4月, 2021 1 次提交
  4. 20 3月, 2021 1 次提交
    • J
      Introduce `iossimulator` RIDs, and convert as needed (#49305) · ded66fc9
      Jo Shields 提交于
      Previously, we have had four iOS RIDs:
      
      iOS-arm
      iOS-arm64
      iOS-x86
      iOS-x64
      
      Apple has never shipped an iOS device with an x86 or x64 processor. Instead, the x86/x64 RIDs have meant "iOS simulator with these arches" as opposed to "iOS with these arches". Amongst other things, that means building against a DIFFERENT SDK, iPhoneSimulator.platform vs iPhoneOS.platform
      
      In the Apple Silicon future, the iOS simulator is now an ARM64 binary - so we need:
      
      iOS-arm
      iOS-arm64
      iOS-arm64, but built against the simulator SDK not the device SDK
      iOS-x86
      iOS-x64
      Clearly, there's a problem.
      
      The solution is to move the simulators to a different RID, to avoid the overloading issue:
      
      iOS-arm
      iOS-arm64
      iOSSimulator-arm64
      iOSSimulator-x86
      iOSSimulator-x64
      
      This PR introduces the new entries in the RID graph, moves our existing iOS-x{86,64} to iOS-sim-x{86,64}, adds a new iOS-arm64.
      
      The above also applies for tvOS, with a smaller set of OSes:
      
      tvOS-arm64
      tvOSSimulator-arm64
      tvOSSimulator-x64
      
      Ref: #48216
      ded66fc9
  5. 19 3月, 2021 1 次提交
    • D
      Enable the latest managed pgo data (#49793) · 5d4a8515
      David Wrighton 提交于
      - Implementation is parallel to existing ibc handling, so that it can be toggled on/off by adjusting the `UsingToolIbcOptimization` property
      - Use the same data for all assemblies produced in current build
      - Apply data to release builds only
      - Disable mismatch assertions in jit for current state where il mismatches are common
      5d4a8515
  6. 18 3月, 2021 1 次提交
  7. 17 3月, 2021 1 次提交
  8. 03 3月, 2021 1 次提交
  9. 02 3月, 2021 2 次提交
  10. 25 2月, 2021 1 次提交
    • V
      Remove duplicated ILLink PackageReference and update target version of the SDK to 6.0 (#48462) · 653b3103
      Viktor Hofer 提交于
      * Remove duplicated ILLink PackageReference
      
      The Arcade.SDK already package refrences the ILLink package. The
      duplicate reference in illink.targets caused SDK errors as the Arcade
      reference has IsImplicitlyDefined set which doesn't allow an additional
      reference with the same identity.
      
      Also, as the ILLink package already exposes the path to the assembly via
      its props file, using that instead of manually constructing the path to
      the assembly.
      
      The SDK target version update is required as the sequencing of the
      ILLink.props file was wrong and is required for this change. This isn't
      considered a breaking change, as the SDK's minimum required version
      isn't changed.
      
      * Update arcade dependencies
      
      * Remove NuGet pack tasks pkgref
      
      * Add mega hack workaround
      
      * Remove KnownFrameworkReference items
      
      * Don't hardcode SDK value in helix submission...
      
      * Update runtimeConfiguration.targets
      
      * Fix double publishing error in mobile tests
      
      * Set DotNetCliVersion to right version for aspnetcoreruntime
      
      * Update sendtohelixhelp.proj
      
      * Update sendtohelixhelp.proj
      Co-authored-by: NSantiago Fernandez Madero <safern@microsoft.com>
      653b3103
  11. 24 2月, 2021 1 次提交
  12. 23 2月, 2021 3 次提交
  13. 17 2月, 2021 1 次提交
  14. 14 2月, 2021 1 次提交
  15. 10 2月, 2021 1 次提交
  16. 09 2月, 2021 1 次提交
  17. 05 2月, 2021 1 次提交
  18. 23 1月, 2021 1 次提交
  19. 15 1月, 2021 1 次提交
  20. 06 1月, 2021 1 次提交
  21. 05 1月, 2021 1 次提交
  22. 31 12月, 2020 1 次提交
  23. 29 12月, 2020 1 次提交
    • V
      Avoid deferred Arcade importing (#46397) · 75d5cc3d
      Viktor Hofer 提交于
      * General cleanup and mono import Arcade in root
      
      * More cleanup and coreclr import Arcade root
      
      * Import Arcade root from libraries
      
      * Set informationversion for corelib
      
      * BuildArchitecture cleanup
      
      * Fix property name
      
      * Fix default target invocation of runtime.proj
      
      * specify tfm correctly
      
      * Remove unnecessary TestStrongNameKeyId
      
      * Revert TestStrongNameKeyId removal
      
      * Fix entrypoint target by using M.B.NoTargets
      
      * Fix reference assembly paths
      
      * PR feedback
      
      * Set Platform correctly
      
      * PR feedback and more cleanup
      
      * Move BaselineMicrosoftNetCoreAppPackageVersion
      
      * Fix reference to CoreLib
      
      * Fix OS calculation
      
      * Fix targets importing
      
      * Remove *TargetOS
      
      * Add RuntimeConfiguration doc
      
      * Change conditions in root msbuild files
      
      * installer test fixes
      
      * Cleanup
      
      * More cleanup because of well defined entrypoint
      
      * Don't import D.B.* from installer tests at all
      
      * Rename fix
      
      * Include explicit reference to mscorlib in ilproj
      
      * Update eng/restore/docs.targets
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      
      * Revert some installer test changes
      
      * Installer test fix again
      
      * Disable EOL tfm check for installer tests
      
      * Set platform later for installer
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      75d5cc3d
  24. 25 12月, 2020 1 次提交
    • V
      Consolidate packaging properties (#46331) · 48345793
      Viktor Hofer 提交于
      * Consolidate packaging properties
      
      * Remove versions.txt file from packages
      
      The versions.txt file was added to packages to know which SHA a package
      was built against. As the nuspec now contains the SHA, the versions file
      isn't necessary anymore.
      48345793
  25. 23 12月, 2020 1 次提交
  26. 10 12月, 2020 1 次提交
  27. 08 12月, 2020 1 次提交
    • T
      December infra rollout - remove duplicated 'src' from coreclr subrepo... · 69e114c1
      Tomáš Rylek 提交于
      December infra rollout - remove duplicated 'src' from coreclr subrepo (src/coreclr/src becomes src/coreclr) (#44973)
      
      * Move src/coreclr/src/Directory.Build.targets to src/coreclr
      Merge src/coreclr/src/CMakeLists.txt into src/coreclr/CMakeLists.txt
      
      * Mechanical move of src/coreclr/src to src/coreclr
      
      * Scripts adjustments to reflect the changed paths
      69e114c1
  28. 05 12月, 2020 1 次提交
  29. 20 11月, 2020 1 次提交
    • A
      Consolidate RID and native file naming in MSBuild scripts (#43804) · 75c0b990
      Adeel Mujahid 提交于
      * Consolidate RID and native file naming in MSBuild scripts
      * Use short variable names for native files naming convention, that are
        used by `framework.sharedfx.targets` in arcade, and cleanup
        redefinitions from crossgen2 and installer. e.g. `ExeSuffix` instead
        of `ApplicationFileExtension`, `LibSuffix` instead of
        `LibraryFileExtension` and so on.
      * Calculate `TargetArchitecture`, `NonPortableRuntimeOS` (for
        `PortableBuild`) and `PackageRID` values once for the entire
        livebuild, inside `eng/Configurations.props`. This implementation is
        a union of three varied implementations that are being deleted.
      * Import `names.props` once in `eng/Configurations.props` based on
        calculated `PackageRID` and cleanup imports of this file from various
        places.
      * Combine OS targets definition in MSBuild scripts.
      
      * Delete legacy tooling properties
      
      * Delete legacy tooling properties
      75c0b990
  30. 08 10月, 2020 1 次提交
    • S
      Add initial support for Apple Silicon (#40435) · fd094a92
      Steve MacLean 提交于
      * Add CoreCLR compilation support for Apple Silicon
          * Use CMAKE_OSX_ARCH rework
          * Set clang -arch flag
          * Workaround uname arch reporting emulated arch
      
      * Fix native code compilation issues
      * Implement missing osx-arm64 functionality
      * Prototype fix for write no execute issues
      * Strip libunwind pointer authentication bits
      
      * Review feedback
      * Does not fix Arm64 ABI issues
      Co-authored-by: NJan Vorlicek <janvorli@microsoft.com>
      fd094a92
  31. 01 10月, 2020 1 次提交
    • O
      Add an option to keep native debug symbols (#39203) · 2f1694ea
      Omair Majid 提交于
      When packaging .NET for Linux distributions, the package builders
      generally use a different workflow for shipping symbols to users:
      
      1. The package maintainer builds code with the debug flags (such as
         `-g`) to generate full native debug info and symbols.
      
      2. Nothing is stripped from build by the package maintainer.
      
      3. The build system (`rpmbuild`, `debuild`) removes the debug
         info (or debug symbols) from the code and creates separate
         `-debuginfo` or `-debug` packages that contain just the debug
         symbols.
      
      4. These debug packages are then distributed along with the normal
         packages using the normal Linux distribution mechanisms. This lets
         users install the exact set of debug symbols matching their other
         package.
      
      To support this workflow in dotnet/runtime, we need to add optional
      support for not stripping debug symbols. I used it has follows:
      
          CFLAGS=-g CXXFLAGS=-g ./build.sh --keepnativesymbols true
      
      After this build, the built binaries include all debug symbols.
      
      I can then rely on the distro package build system to identify, strip,
      package and ship the debug info/symbols separately.
      
      See https://github.com/dotnet/runtime/issues/3781 and
      https://github.com/dotnet/source-build/issues/267 for more details on
      the background and motivation.
      
      For some related fixes, see:
      
      - https://github.com/dotnet/coreclr/pull/3445
      - https://github.com/dotnet/corefx/pull/24979
      2f1694ea
  32. 30 9月, 2020 1 次提交
  33. 18 9月, 2020 1 次提交
    • S
      Fix handling of repo analyzers and warnings-as-errors (#42272) · e0e1919a
      Stephen Toub 提交于
      * Fix handling of repo analyzers and warnings-as-errors
      
      When we brought in the new SDK, it enabled analyzers by default (which then used our custom ruleset), but a bunch of projects (in particular tests) weren't expecting that, such that we now have thousands of warnings in the repo. This opts-out those projects.
      
      It also enables warnings-as-errors at the root level of the repo, to hopefully avoid such warning storms in the future, and to also clean up the remaining that exist.  This includes a bunch of new obsoletion and platform compat warnings that are firing in the runtime tests.
      
      We may choose to run analyzers on additional projects in the future where it's currently disabled, but this gets us back to a state at least as good if not better than we were previously.
      
      * Fix analyzer warnings on Microsoft.NET.HostModel
      
      Fixes the warnings that were triggered by our rule set applying to this project.  All fixes were automated.
      
      * Fix analyzer warnings in additional projects
      
      * Remove several `<RunAnalyzers>false</RunAnalyzers>`
      
      * Try to opt-out remaining coreclr tests
      Co-authored-by: NDavid Mason <davmason@microsoft.com>
      e0e1919a
  34. 10 9月, 2020 1 次提交
  35. 05 9月, 2020 2 次提交
  36. 16 8月, 2020 1 次提交