Commit Graph
44 Commits
Author SHA1 Message Date
Thefrank bc7f6c2754 Add Running on FreeBSD Instructions (#63417) 2022-01-07 20:45:32 -08:00
9872424ada Update windows-requirements.md (#62476)
* Update windows-requirements.md

* Update docs/workflow/requirements/windows-requirements.md

Co-authored-by: Stephen Toub <[email protected]>

Co-authored-by: Dan Moseley <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>
2021-12-07 07:46:42 -07:00
Steve DunnandSantiago Fernandez Madero 5c8ea45eda Removed two unused packages from .vsconfig (#60798)
These packages are unused as described in #60794

Co-authored-by: Santiago Fernandez Madero <[email protected]>
2021-11-02 17:40:45 +01:00
Stephen Toub e118d3fc71 Update Microsoft.CodeAnalysis.CSharp.CodeStyle version (#59783) 2021-10-03 10:14:02 -04:00
Jason Pugsley dff742a06b FreeBSD12 version cleanup and process and thread enhancements (#59339)
* Set FreeBSD 12 as minimum version

This is a small clean-up to remove reliance on FreeBSD versions
prior to 12 and more specifically 12.2 which is the lowest currently
supported version of FreeBSD. 11.4 becomes unsupported as of
October 2021. See https://www.freebsd.org/releases/

* Add functionality for FreeBSD process and threads

Added support for naming native threads, the process disambiguation
key and detecting if the process is running under a debugger.

Changed references to thr_self to pthread_getthreadid_np already
used elsewhere - it returns the same value.
2021-09-25 22:37:11 -07:00
Aleksey Kliger (λgeek) 7e67f8763d [docs] macOS: add note about Xcode command line tools (#59477) 2021-09-23 14:54:23 -04:00
Adam SitnikandSingleAccretion 2ce426a7b3 update Windows ARM build requirements (#57275)
* update Windows ARM build requirements

* Apply suggestions from code review

Co-authored-by: SingleAccretion <[email protected]>
2021-08-12 13:19:48 +02:00
Chris Ross b8a9eabb16 Update windows-requirements.md (#56476) 2021-08-03 08:48:59 -06:00
CW2andJuan Hoyos 0f04d34ac4 Added Visual Studio build tools (#55629) (#56234)
* Added Visual Studio build tools (#55629)

Added description of build tools (CMake, Ninja and Python) installation as Visual Studio Individual Components.
Added emphasis (bold) of Visual Studio installer sections and components (replaces previously used different styles of quotes).

* Removed Python 32-bit VS component

Python 64-bit component is enough for building x86 and x64 target architectures.

Co-authored-by: Juan Hoyos <[email protected]>
2021-07-30 22:54:03 -07:00
xtqqczze 1cf9e342e7 Clarify Visual Studio minimum requirement (#52820) 2021-06-21 08:21:52 -07:00
Andrii Kurdiumov eb54d0d940 Add list of prerequisites for Gentoo (#50317) 2021-05-11 10:08:59 -07:00
Jeremy Koritzinsky a211e4fed9 Clarify that Ninja is required for the default build experience. (#50809) 2021-04-06 14:20:40 -07:00
Jan Kotas a938d2a5b4 Update minimum recommended cmake version for Windows (#49961) 2021-03-22 09:16:27 -07:00
Viktor Hofer 3553284bea Rename mention to master branch to main (#48824) 2021-03-01 10:09:31 +01:00
Lukas Lansky 1bb8af0a23 Fixing doc link to maximum file path limitation removal (#46627) 2021-01-06 05:49:01 -08:00
Alexander Köplinger b62af1a9e8 Remove autotools dependencies from the build requirements (#45825)
Now that Mono has switched to CMake we no longer need the autoconf, automake and libtool build dependencies.
2020-12-09 13:57:08 +01:00
Jeremy Koritzinsky 854fde65c1 Fix ninja package name (#45217) 2020-11-25 10:43:40 -08:00
Jeremy Koritzinsky 8c6a049cdb Enable using the Ninja generator instead of Visual Studio on Windows builds. (#41897)
* 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: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* Support building via Ninja for coreclr via an MSBuild property

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* Update host build to use shared gen-buildsys.cmd

* Fix multi-config generator detection.

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* Exit with success when we build successfully.

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* Enable and fix up Ninja build for hosts.

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* Only link delayimp.lib on Windows

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* Fix passing arch for MSBuild build.

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* 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: Jeremy Koritzinsky <[email protected]>

* Add mention of the `-ninja` flag in the Building CoreCLR documentation.

Signed-off-by: Jeremy Koritzinsky <[email protected]>

* Mention installation locations for Ninja and warn while building if CMake is older than 3.16.0.

* Update docs/workflow/requirements/windows-requirements.md
2020-11-02 07:50:01 -08:00
Key Kim 4a58c28b80 Update linux-requirements.md (#40576)
append -y option and add ``` around command code
2020-08-08 18:56:21 -07:00
Oleksandr Tymoshenko 370aba46e7 Fix Docker cross-build command (#40433) 2020-08-05 21:58:39 -07:00
Eirik Tsarpalis b82f8f0046 Tidy up ARM tools installation instructions (#38676) 2020-07-01 10:07:33 -07:00
xtqqczze 384153f0d9 Update windows requirements.md (#38546)
* Remove VS 16.6 Preview 2 requirement

* Clarify wording on Visual Studio community edition
2020-06-29 07:36:28 -07:00
Adeel MujahidandAlexander Köplinger e2541c74d5 Rev cmake minimum version from 3.14.2 to 3.14.5 (#34757)
iOS requires 3.14.5 version and we have a special case for it. Since this is a minor version difference, and no distro is particularly providing cmake 3.14.2 package, it is safe to update to 3.14.5 to cover our supported platform matrix.

Discussion: https://github.com/dotnet/runtime/pull/33959#discussion_r396389297
Fixes: https://github.com/dotnet/runtime/issues/33976

Co-authored-by: Alexander Köplinger <[email protected]>
2020-06-01 17:05:33 +02:00
Bruce Forstall 19f18bca14 Fix bad documentation links (#37222)
Also, don't make documentation specific to CoreCLR.
2020-05-31 10:49:58 -07:00
Bruce Forstall ae0abac4ae Reduce duplication in Linux build instructions (#37175)
All the Docker information was duplicated in two places; remove
that duplication.
2020-05-31 10:30:19 -07:00
Bruce Forstall 4d2b9bbcb7 Fix Linux requirements document (#37145)
Update linux-requirements.md

Fix copy/paste error, update wording related to LLVM APT feed.
2020-05-29 11:09:05 -07:00
Viktor Hofer 511cadad23 Update the -vs switch and add docs for it (#37026)
* Remove testhost DOTNET_ROOT from vs switch

We don't need to point to the testhost folder anymore for libraries for
supporting VS Test Explorer.

* Update docs

* Fix verbosity alias
2020-05-27 15:59:38 +02:00
Egor Bogatov 514ea59fcd Add autoconf, automake and libtool as dependencies (#36475)
* Add autoconf, automake and libtool as dependencies

* Update instructions
2020-05-21 07:11:57 -07:00
Alexander Köplinger af2e5c9829 Use a Brewfile for installing brew packages (#36747)
This means we won't be upgrading existing packages on the system that we don't need for the build.
Marks install-native-dependencies.sh as executable (+x) so we don't need to start it with `sh` in the build .yml

Fixes https://github.com/dotnet/runtime/issues/36727
2020-05-20 17:57:57 +02:00
Nick Craver 4700cf4e75 CMake: Point download URLs directly to https:// (#36615) 2020-05-17 16:27:13 -07:00
Ganbarukamo41 622341ecc2 Update windows prerequisites to be more specific about SDK (#36438)
* Update windows prerequisites to be more specific about SDK

* Global installation of nightly SDK is required to normally browse the solution files in VS, as there is no way to supply SDKs when the solution files are opened through VS.

* Update windows prerequisites

* allow newer versions of VS workloads
2020-05-14 12:21:02 +02:00
Tomas WeinfurtandTomas Weinfurt 0ec974709e add requirement doc for FreeBSD (#35704)
* add freebsd requirements

* corrections

* format

* feedback from review

* more cleanup

Co-authored-by: Tomas Weinfurt <[email protected]>
2020-05-07 13:47:41 -07:00
f6aad636c9 Simplify build on macOS (#35570)
* Check for OpenSSL (and pkg-config) in the check_prereqs() function
* Simplify OpenSSL installation instructions
* Automatically pick the OpenSSL version installed by Homebrew by exporting the proper PKG_CONFIG_PATH environment variable
* Improve the error message if cmake can't find OpenSSL

The previous instructions were asking the user to add symbolic links inside  /usr/local/lib/ and /usr/local/lib/pkgconfig/ for OpenSSL related files. There is no need for a complicated setup with symbolic links when the PKG_CONFIG_PATH environment variable points to the right pkgconfig, which is now done in build-commons.sh.

Co-Authored-By: Jan Kotas <[email protected]>
Co-Authored-By: Jeremy Barton <[email protected]>
2020-05-07 11:12:29 +02:00
Jan Jahoda efc260cada Add zlib-dev to linux requirement (#35571)
On Ubuntu, the build fails on missing zlib.
2020-04-28 16:27:06 +02:00
Viktor Hofer 3b42a9a1d4 Update VS minimum dependency (#35114)
With the net5.0 TFM change and the nuget static graph restore, we require VS >= 16.6 Preview2.
2020-04-17 20:00:49 +02:00
Jan Kotas 479067315a .NET Core to .NET branding changes (#33694)
Contributes to #33680
2020-03-28 07:00:19 -07:00
Jarret Shook 96560599c3 Run crossgen in parallel in crossgen_comparison.py (#33175)
* Run crossgen in parallel

* Change container to python:3.7

* Undo python3.7 container

* Update the arm build image and address feedback

* Default to python 3.x

* Force python3

* Small python changes

* Define asyncio

* Update to run arm 18.04 cross

* Remove dup core_root generation

* Update arm container

* Use 3.6 for crossgen_comparison

* Finish adding async defintions

* Fix spacing in file

* Update docker image used in linux-requirements
2020-03-25 17:29:19 -07:00
Karel Zikmund 356fb92d9f Update windows-requirements.md (#32938)
Clarify few minor things in initial setup workflow.
2020-02-27 16:11:33 -08:00
Marek Safar 71a216a5ff Initial pass on updating documentation to include MonoVM (#1863)
* Update documentation to cover also Mono runtime

* Updated requirements for mac and linux to include mono's

* Update System.Private.CoreLib/src/README.md

* Added initial mono building doc

* Added library testing steps for mono

* A bit of rewording based on feedback

* Add some scripts coloring
2020-01-20 07:50:07 -08:00
Bruce Forstall 24cd690c1c Update macOS build requirements to include openssl 2020-01-16 14:29:02 -08:00
Bruce Forstall 5f1a54e5d6 Update macOS dependencies (#1691)
* Explicitly mention Xcode as a dependency

* Delete obsolete Xcode version comment
2020-01-13 16:51:10 -08:00
Jan Kotas ffcb1fa529 Unify cmake_minimum_required to 3.14.2 (#1315)
- Set cmake_minimum_required in top level projects to 3.14.2 (the lowest version used by the CI currently)
- Delete cmake_minimum_required from child projects
- Leave the cmake_minimum_required alone in vendored projects (zlib)
- Note CMake version in the docs

Fixed #1311
2020-01-11 09:14:54 -08:00
Jeff HandleyandEirik Tsarpalis e82f56f2fc Fix broken docs links (#1005)
* Fix broken docs links in txt/md files under src

* Fix broken docs links found in source code

* Fix broken docs links in workflow docs

* Fix broken docs links in build commands

* Fix broken docs links in HTML resource files

* Update HTTP/SSL stress test docs for local builds

Co-Authored-By: Eirik Tsarpalis <[email protected]>

* Fix a few remaining broken links

Co-authored-by: Eirik Tsarpalis <[email protected]>
2020-01-06 17:17:21 -08:00
9900dfb4b2 Organize some markdowns and fix links (#1159)
* Move files into hierarchy

* fix more links

* Fix botr and features links

* Remove bad apostrophe

* spelling

* Apply suggestions from code review

Co-Authored-By: Youssef Victor <[email protected]>

* Update docs/coding-guidelines/package-projects.md

Co-Authored-By: Jan Kotas <[email protected]>

Co-authored-by: Youssef Victor <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
2019-12-26 15:22:57 -08:00