1. 09 6月, 2021 1 次提交
  2. 18 5月, 2021 1 次提交
  3. 08 5月, 2021 1 次提交
  4. 06 4月, 2021 1 次提交
  5. 02 4月, 2021 1 次提交
  6. 21 3月, 2021 1 次提交
  7. 19 3月, 2021 2 次提交
  8. 09 2月, 2021 1 次提交
  9. 05 2月, 2021 1 次提交
  10. 14 1月, 2021 1 次提交
  11. 18 12月, 2020 1 次提交
    • V
      Moving the rest of Unix libraries to the 'overrider' mechanism when linked... · e98fb61d
      Vladimir Sadov 提交于
      Moving the rest of Unix libraries to the 'overrider' mechanism when linked into static host. (#45995)
      
      * System.Net.Security.Native
      
      * System.Native
      
      * fix for OSX
      
      * fix for wasm
      
      * fix for IOS
      
      * Fix for FreeBSD
      
      * System.Security.Cryptography.Native.OpenSsl
      
      * fix OSX
      
      * Add script to validate entrypoints.c against dll entries
      
      * add missing CryptoNative entries
      
      * Added verification in more projects
      
      * Add missing entries in other files
      
      * System.Security.Cryptography.Native.Apple
      
      * fix for IOS/TVOS
      
      * Change .py verification script to bash
      
      * Update the verify_entrypoints.sh to not to use awk and work on macOS
      
      * PR feedback
      
      * reduce exports of System.IO.Compression.Native.dll on Windows to what is actually used and to match Unix.
      
      * unixexports for System.IO.Compression.Native
      
      * trying to fix IOS/TVOS
      
      * move awk and linker flavor detection to configuretools.cmake
      Co-authored-by: NJan Vorlicek <janvorli@microsoft.com>
      e98fb61d
  12. 08 12月, 2020 1 次提交
  13. 07 12月, 2020 1 次提交
    • V
      Static linking of native libs (#44505) · 08ad8346
      Vladimir Sadov 提交于
      * from prototype
      
      * fix OSX
      
      * fix for Android
      
      * treat "libSystem.Globalization.Native" as QCall in mono too (for now).
      
      * fix for wasm
      
      * fix pedantic errors on GCC
      
      * delete gPalGlobalizationNative
      
      * pass overrider from the host
      
      * default override
      
      * default PInvoke override runs after optional host-provided overrider.
      
      * Some PR feedback   (mostly related to code, not the CMake stuff).
      
      * more coding PR feedback
      
      * Deleted "libraries-native" folder.
      
      * unifying tryrun.cmake into 1 common file
      
      * factor out adding lib-specific dependencies into one place (per native library)
      
      * cleanup: entirely remove tryrun.cmake propagation in eng, gen-buildsys, build-commons, and build scripts
      
      * remove "clrcompression.dll" and "libSystem.IO.Compression.Native.dylib" from single-file host packaging
      
      * mono: refactor Globalization lookup into `default_resolve_dllimport`.
      
      * set FEATURE_DISTRO_AGNOSTIC_SSL according to __PortableBuild
      
      * CORECLR_CALLING_CONVENTION for the host callback types
      
      * refactor common parts of entrypoints.c into entrypoints.h
      
      * rename OverrideEntry -->  DllImportEntry
      
      * extra libs as CMake functions
      
      * use macros instead of functions in extra_libs.cmake
      
      * mono formatting style in src/mono/mono/metadata/native-library.c
      Co-authored-by: NRyan Lucia <ryan@luciaonline.net>
      
      * mono: Remaining stylistic nits.
      Co-authored-by: NRyan Lucia <ryan@luciaonline.net>
      
      * do not set DFEATURE_DISTRO_AGNOSTIC_SSL on iOS, Android, tvOS
      Co-authored-by: NRyan Lucia <ryan@luciaonline.net>
      08ad8346
  14. 03 11月, 2020 1 次提交
  15. 02 11月, 2020 1 次提交
    • J
      Enable using the Ninja generator instead of Visual Studio on Windows builds. (#41897) · 8c6a049c
      Jeremy Koritzinsky 提交于
      * Move DacTableGen out of the CMake build and into tools-local.
      
      * Attempt: usenmakefiles means ninja.
      
      * Make changes to Windows build to support non-VS generators like ninja.
      
      * Use CMake 3.16 PCHs.
      
      * Remove explicit process count.
      
      * Build and run DacTableGen via the .NET CLI we pull down for the build instead of via CMake.
      
      * Update configurecompiler.cmake to specify language (needed for Ninja).
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Get Ninja build working again.
      
      * Pass configuration to cmake configure step for Ninja build.
      
      * Rename flag
      
      * Fix configure step for cross-arch native build
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Support building via Ninja for coreclr via an MSBuild property
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Implement support for opening the CoreCLR solution in VS via the -vs flag.
      
      * Fix setting generator to Ninja.
      
      * Merge libraries gen-buildsys-win.bat with runtime gen-buildsys.cmd to share windows cmake configure infra.
      
      * Enable building libraries native build with ninja.
      
      * Centralize setting CMAKE_SYSTEM_VERSION for windows builds.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Update host build to use shared gen-buildsys.cmd
      
      * Fix multi-config generator detection.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Exit with success when we build successfully.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Enable and fix up Ninja build for hosts.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Only link delayimp.lib on Windows
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Remove "overriding /W3 with /W1" warning in Ninja build of hosts by turning on /W3 and disabling any new warnings we hit.
      
      * Reduce command line override warnings by adopting the MSVC_RUNTIME_LIBRARY abstraction feature in CMake 3.14+ (below the minimum requirement on Windows).
      
      * Use the delayed expansion syntax to correctly pass in the config to cmake.
      
      * Move all usages of MSVC runtime library selection to the CMake abstraction to reduce console spew about overridden flags.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Condition the rest of the compiler options correctly so they don't show up as invalid parameter warnings for assembly builds.
      
      * Correctly build DIALib and DacTableGen as AnyCPU
      
      * Fix WRITE_BARRIER_CHECK define
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Fix passing arch for MSBuild build.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Configure ASM compiler command line format in configurecompiler.cmake and use CMake's assembly compilation step to build ASM files for ARM/ARM64 instead of manually building them and adding the generated files as additional sources.
      
      * Cleanup after fixing ARM/ARM64 support.
      
      * Rename variable
      
      * Condition PCH's for C++-only as needed to fix using them on non-Windows (where we compile C as C instead of as C++).
      
      * Fix CoreCLR native test build on windows to point to new gen-buildsys location.
      
      * Add missing compilation options in Ninja build that are implicitly defined in the MSBuild build.
      
      * Disable analyzers for DacTableGen. Remove /MAP linker flag (that's for local testing).
      
      * Upgrade to CMake 3.16.4
      
      * Don't warn on unused variables in CMake (these usually vary on platform/config)
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Manually compile ARM and ARM64 asm files when using the VS generator since it doesn't support emitting MARMASM item types in projects (and as a result cannot compile ARM or ARM64 asm without assistance).
      
      * Enable CMake policy in test build to use CMAKE_MSVC_RUNTIME_LIBRARY variable.
      
      * Update initially disabled warnings in host.
      
      * Add -ninja arg to root scripts to enable using Ninja.
      
      * Enable using Ninja in CoreCLR CI.
      
      * Try to fix passing the -ninja arg in yaml.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Add ninja to the Windows invocation
      
      * Fix 2-phase cross targeting to do one phase at a time and initialize the VC++ environment for the correct build tools each time instead of interleaving them and relying on Visual Studio to handle the differing targets.
      
      * Restore old /Ox optimization setting for Release.
      
      * Fix typos, don't pass exception flags to C files.
      
      * Remove unneeded pragma.
      
      * Fix .pgd file installation.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Add mention of the `-ninja` flag in the Building CoreCLR documentation.
      Signed-off-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      
      * Mention installation locations for Ninja and warn while building if CMake is older than 3.16.0.
      
      * Update docs/workflow/requirements/windows-requirements.md
      8c6a049c
  16. 22 10月, 2020 1 次提交
  17. 21 10月, 2020 1 次提交
    • J
      Enable implicit fallthrough warning (#43397) · dc7b1d2c
      Jan Vorlicek 提交于
      * Enable implicit fallthrough warning
      
      This change enables warnings for implicit fallthrough in
      switch cases and fixes all the cases where the warning
      was reported.
      It also fixes some places where the fall through was incorrect. 
      Fortunately, these places were not causing functional issues.
      dc7b1d2c
  18. 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
  19. 01 10月, 2020 1 次提交
  20. 10 9月, 2020 1 次提交
    • D
      Build infra changes to enable building a more universal cross target jit builds (#41126) · 28e68bd7
      David Wrighton 提交于
      This change is part of a larger effort to enable crossgen2 to perform general purpose cross compilation from any architecture to any other architecture. This portion of the change is to begin generating cross targeting jits with a consistent naming scheme with a minimal amount of code change.
      
      The practical output of this change is replacement of the current practice of building protojit/protononjit/etc. with `clrjit_<targetos>_<target_arch>_<host_arch>` binaries.
      
      In addition I've defined a couple of new subsets so that this can be less impactful to the inner dev loop.
      
      clr.alljits, which will build all of the jits.
      clr.jit, which will build only non-cross targeting jits.
      clr.runtime which has been enhanced to not trigger the alljits build.
      
      Current restrictions of the change:
      1. This change does not support 32bit to 64bit compilation. I've built a larger change that includes the necessary work for that, but the changes are more disruptive, and I would prefer to scope this work to make it reviewable.
      2. This work builds different compilers for the unix targetting and windows targetting compilers. This is due to the different ABIs that the architectures support. Upon investigation, I've determined that the actual product differences in these cases is small for ARM and ARM64. In the future, once we have testing, I believe it would be reasonable to unify the generated compiler binaries.
      3. These changes do not build an armel targeting compiler for all scenarios, but it does build one with the current naming scheme as was done before. Again, like in condition 2, I believe we can make a single arm targetting compiler that will work.
      4. These changes include changes to crossgen2 to use the new compiler binaries. However, there is no expanded testing to cover test the newly available cross compilation capabilities. That will appear in follow-on work.
      28e68bd7
  21. 05 9月, 2020 1 次提交
  22. 28 8月, 2020 1 次提交
  23. 14 8月, 2020 1 次提交
  24. 05 8月, 2020 1 次提交
  25. 25 7月, 2020 1 次提交
  26. 12 7月, 2020 1 次提交
  27. 01 7月, 2020 1 次提交
  28. 19 6月, 2020 1 次提交
  29. 14 5月, 2020 1 次提交
  30. 12 5月, 2020 1 次提交
  31. 19 4月, 2020 1 次提交
  32. 10 4月, 2020 1 次提交
    • I
      Reenable some disabled warnings in CoreCLR (#34659) · 62d8baf9
      Ivan Diaz Sanchez 提交于
      * First fixes to print hex without silencing warning 4477.
      
      * After the previous commit, dasm.cpp started showing abnormalities.
      
      * Warning 4302 reenable iteration 1
      
      * Warning 4302 reenable iteration 2
      
      * Warning 4312 reenable: Iteration 1
      
      * Warning 4312 reenable: Iteration 2
      
      * Updated configurecompiler.cmake comments with newly reenabled warnings.
      
      * Fixed a comment.
      
      * Fixed a 32-bit issue with printing formats as well as a scope issue on Linux.
      
      * Warning 4302/4311/4477 reenable: Fixed Checked Builds.
      
      * Warning 4302/4311/4477 iteration 3
      
      * Warning 4477 reenable iteration 4: ToString of bits.
      
      * Fixed an unsigned long long for x86.
      
      * Fixed 4477 on x86 for real this time.
      
      * Changed two bitness checks for size_t usage instead.
      62d8baf9
  33. 05 4月, 2020 1 次提交
  34. 01 4月, 2020 1 次提交
    • T
      add support for FreeBSD cross-compilation (#34000) · 595a95c0
      Tomas Weinfurt 提交于
      * add support for FreeBSD cross-compilation
      
      * feedback from review
      
      * update detection
      
      * add openssl to docs
      
      * feedback from reviews
      
      * feedback from reviews
      
      * final cleanup
      
      * feedback from reviews
      
      * simplify detection of route.h
      
      * correct __CrossBuild detection
      
      * use TargetOS for installer
      595a95c0
  35. 31 3月, 2020 1 次提交
    • E
      Fix for changed host behaviour on app crash (#34224) · ed2e6e2e
      Elinor Fung 提交于
      * Switch back to only handling synchronous exceptions in host components
      
      Add native hosting tests for components with unhandled exceptions.
      
      * Switch setting /EHa to be for coreclr instead of shared default
      ed2e6e2e
  36. 24 3月, 2020 1 次提交
  37. 21 3月, 2020 1 次提交
    • A
      Unify some cmake function definitions (#33716) · b0351370
      Adeel Mujahid 提交于
      * Unify some cmake function definitions
      
      * Address CR feedback
      
      * Make installers /Zc:strictStrings compatible
      
      * Make installer /Gz compatible
      
      * Remove skip-strip internal implementation
      
      * Use CLR_CMAKE_TARGET_DARWIN
      
      * Establish iOS to Darwin relationship
      
      * Simplify iOS conditions
      b0351370
  38. 18 3月, 2020 1 次提交
  39. 13 3月, 2020 1 次提交