mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
Create mac_setup.sh (#80)
* Create mac_setup.sh * setyp.sh * Update README.md
This commit is contained in:
@@ -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
13
contrib/mac_setup.sh
Normal 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
|
||||
Reference in New Issue
Block a user