1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-10 18:11:04 +09:00
Satori/docs/workflow/requirements/macos-requirements.md
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

934 B

Requirements to build dotnet/runtime on macOS

This guide will walk you through the requirements needed to build dotnet/runtime on macOS. We'll start by showing how to set up your environment from scratch.

Environment

These instructions were validated on macOS 10.15 (Catalina).

Xcode

Install Apple Xcode developer tools from the Mac App Store (link).

Toolchain Setup

Building dotnet/runtime depends on several tools to be installed. You can download them individually or use Homebrew for easier toolchain setup.

Install the following packages:

  • cmake 3.15.5 or newer
  • autoconf
  • automake
  • icu4c
  • libtool
  • openssl 1.1
  • pkg-config
  • python3

You can install all the packages above using Homebrew by running this command in the repository root:

brew bundle --no-lock --file eng/Brewfile