docs: revert "docs: update installation docs to say that cmake is needed"
Some checks failed
build / build (, macos-13) (push) Has been cancelled
build / build (, macos-14) (push) Has been cancelled
build / build (, ubuntu-latest) (push) Has been cancelled
build / build (, windows-latest) (push) Has been cancelled
build / build (--all-features, ubuntu-latest) (push) Has been cancelled
build / Build jj-lib without Git support (push) Has been cancelled
build / Check protos (push) Has been cancelled
build / Check formatting (push) Has been cancelled
build / Check that MkDocs can build the docs (push) Has been cancelled
build / Check that MkDocs can build the docs with latest Python and uv (push) Has been cancelled
build / cargo-deny (advisories) (push) Has been cancelled
build / cargo-deny (bans licenses sources) (push) Has been cancelled
build / Clippy check (push) Has been cancelled

This reverts commit b7ba3fc0be.

As per discussion in https://github.com/martinvonz/jj/pull/5047, I would like to make it so that the default build configuration doesn't need `cmake`.
This commit is contained in:
Waleed Khan 2024-12-08 12:53:04 -08:00
parent 8ba29ca227
commit defa823e0f

View file

@ -30,12 +30,12 @@ be compiled from the same source code.
#### From Source
First make sure that you have a Rust version >= 1.76 and that the `cmake`,
`libssl-dev`, `openssl`, `pkg-config`, and `build-essential` packages are
installed by running something like this:
First make sure that you have a Rust version >= 1.76 and that the `libssl-dev`,
`openssl`, `pkg-config`, and `build-essential` packages are installed by running
something like this:
```shell
sudo apt-get install cmake libssl-dev openssl pkg-config build-essential
sudo apt-get install libssl-dev openssl pkg-config build-essential
```
Now run either:
@ -139,7 +139,6 @@ these:
```shell
xcode-select --install
brew install cmake
brew install openssl
brew install pkg-config
export PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl@3/lib/pkgconfig"
@ -181,14 +180,7 @@ sudo port install jujutsu
### Windows
First make sure that you have a Rust version >= 1.76. You will also need
`cmake`, which you can install by running this:
```shell
winget install cmake
```
Now run either:
First make sure that you have a Rust version >= 1.76. Now run either:
```shell
# To install the *prerelease* version from the main branch