Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 04dc6ef84b12
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd92644029db
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 23, 2020

  1. Copy the full SHA
    dd92644 View commit details
Showing with 25 additions and 1 deletion.
  1. +25 −1 documentation/Setup.md
26 changes: 25 additions & 1 deletion documentation/Setup.md
Original file line number Diff line number Diff line change
@@ -72,7 +72,31 @@ cd ..
```
### Building

In `<root>`, run the following command.
In `<root>`, run the following command:
```powershell
.\Principia\rebuild_all_solutions.ps1
```

# Instructions for building Principia on Linux and macOS

*Note that the released binaries for Linux and macOS are built using [Azure pipelines](https://dev.azure.com/mockingbirdnest/Principia/_build). The instructions below are best effort.*

Before starting, make sure the following are installed on your machine:
* Build prerequisites: `build-essential`, `clang`, `libc++-dev`, `libc++abi-dev`, `monodevelop`, `subversion`, and `git`;
* Runtime dependencies: `libc++1`.

## Installing the dependencies

In `<root>/Principia`, run the following command:
```bash
./install_deps.sh
```
This will install and compile all the third-party components that Principia uses. Don't proceed with the next step unless this step has completed without errors.

## Building Principia

In `<root>/Principia`, run the following command:
```bash
./principia_make.sh
```
If some of the unit tests fail, you may or may not be able to run the resulting version of Principia.