Updated installation instructions for Ubuntu and Conda
This commit is contained in:
23
README.md
23
README.md
@@ -35,17 +35,34 @@ To see what `clang-uml` can do so far, checkout the diagrams generated for unit
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
### Distribution packages
|
||||||
|
|
||||||
|
#### Ubuntu
|
||||||
|
```bash
|
||||||
|
sudo add-apt-repository ppa:bkryza/clang-uml
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install clang-uml
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Conda
|
||||||
|
```bash
|
||||||
|
conda config --add channels conda-forge
|
||||||
|
conda config --set channel_priority strict
|
||||||
|
conda install -c bkryza/label/clang-uml clang-uml
|
||||||
|
```
|
||||||
|
|
||||||
### Building from source
|
### Building from source
|
||||||
Currently, the only method to install `clang-uml` is from source. First make sure
|
First make sure that you have the following dependencies installed:
|
||||||
that you have the following dependencies installed:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Ubuntu
|
# Ubuntu (clang version will vary depending on Ubuntu version)
|
||||||
apt install ccache cmake libyaml-cpp-dev clang-12 libclang-12-dev libclang-cpp12-dev
|
apt install ccache cmake libyaml-cpp-dev clang-12 libclang-12-dev libclang-cpp12-dev
|
||||||
|
|
||||||
# macos
|
# macos
|
||||||
brew install ccache cmake llvm yaml-cpp
|
brew install ccache cmake llvm yaml-cpp
|
||||||
```
|
```
|
||||||
|
> Please note that on macos this tool is not fully functional, i.e. several test cases fail. The build instructions are
|
||||||
|
> provided for development purposes only.
|
||||||
|
|
||||||
Then proceed with building the sources:
|
Then proceed with building the sources:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user