Create mac_setup.sh (#80)

* Create mac_setup.sh

* setyp.sh

* Update README.md
This commit is contained in:
subs
2022-05-24 10:46:50 +01:00
committed by parazyd
parent eb9747e471
commit 28699968d8
2 changed files with 22 additions and 0 deletions

View File

@@ -37,6 +37,15 @@ to install the required dependencies:
libexpat1-dev
```
Alternatively users can use the automated script in
`contrib/mac_setup.sh` by running. This script will install brew
if it does not already exists on the system and then automatically
install the dependencies
```shell
% bash contrib/mac_setup.sh
```
To build the necessary binaries, we can just clone the repo, and use the
provided Makefile to build the project. This will download the trusted
setup params, and compile the source code.

13
contrib/mac_setup.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if ! command -v brew &> /dev/null ; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew install cmake
brew install gcc
brew install jq
brew install pkgconf
brew install llvm@13
brew install freetype
brew install expat