Up Minimum CMake Version to 3.20 (#86530)
authorIvan Diaz Sanchez <ivdiazsa@microsoft.com>
Tue, 4 Jul 2023 02:03:12 +0000 (19:03 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 02:03:12 +0000 (19:03 -0700)
commitcd26e63274102c8130109c9ce1301851a550433c
treec9b628071f96c3db097df95d1486f97f28ad82a8
parent956be4bb155f15c2270b894c10547b04f3a8bca1
Up Minimum CMake Version to 3.20 (#86530)

* Let's see what happens :)

* CMake 3.20 works on my machine???

* Upped the llibraries CMake version to 3.20

* Upped native libs CMake version to 3.20, and updated the requirements docs.

* Add CMake Policy to 3.17.0 for native libs because of wasm.

* Downgraded native libs CMake to 3.17.0 temporarily, while we figure out the funny troublemaker wasm.

* Added a couple notes regarding CMake on Linux and Windows, and upped the corehost and libunwind CMake versions to 3.20

* Reverted external native components CMake versions, and upped tests to 3.20. Only Mono remains now.

* Added mono to the 3.20 gang. Also, changed the condition for wasm.

* Had to condition mono's CMake version as well because of wasm.

* DEBUG-ONLY COMMIT: Added some CMake logging to help me figure out what is set for wasm to think of the appropriate conditional.

* DEBUG-ONLY COMMIT: I think I have the answer for wasm now/

* Restored the DEBUG-ONLY changes and set 3.20 as the universal CMake, as the missing machines have now been updated.

* Updated requirements doc with notes for Debian 11 and lower.
15 files changed:
docs/workflow/requirements/linux-requirements.md
docs/workflow/requirements/macos-requirements.md
docs/workflow/requirements/windows-requirements.md
src/coreclr/CMakeLists.txt
src/libraries/tests.proj
src/mono/CMakeLists.txt
src/mono/wasi/runtime/CMakeLists.txt
src/mono/wasm/runtime/CMakeLists.txt
src/native/corehost/CMakeLists.txt
src/native/libs/CMakeLists.txt
src/tests/CMakeLists.txt
src/tests/Interop/MonoAPI/Native/mono-embedding-api-test/CMakeLists.txt
src/tests/Interop/ObjectiveC/AutoReleaseTest/CMakeLists.txt
src/tests/Interop/ObjectiveC/ObjectiveCMarshalAPI/CMakeLists.txt
src/tests/profiler/native/CMakeLists.txt