forked from mirrors/jj
docs: document how to compile a statically linked binary on Mac
I feel like this is worth documenting, as it shouldn't require Homebrew.
This commit is contained in:
parent
fd52efa0ba
commit
206c0cf830
1 changed files with 26 additions and 2 deletions
|
@ -95,9 +95,33 @@ brew install jj
|
||||||
|
|
||||||
### Mac
|
### Mac
|
||||||
|
|
||||||
#### From Source
|
#### From Source, Vendored OpenSSL
|
||||||
|
|
||||||
You may need to run some or all of these:
|
You may need to run:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
xcode-select --install
|
||||||
|
```
|
||||||
|
|
||||||
|
Now run either:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# To install the *prerelease* version from the main branch
|
||||||
|
cargo install --git https://github.com/martinvonz/jj.git \
|
||||||
|
--features vendored-openssl --locked --bin jj jj-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
or:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# To install the latest release
|
||||||
|
cargo install --features vendored-openssl -locked --bin jj jj-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
#### From Source, Homebrew OpenSSL
|
||||||
|
|
||||||
|
You will need [Homebrew](https://brew.sh/) installed. You may then need to run
|
||||||
|
some or all of these:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
|
|
Loading…
Reference in a new issue