Skip to content

Updating build docs #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@ ln -sf /usr/bin/gcc-8 /usr/bin/gcc && ln -sf /usr/bin/g++-8 /usr/bin/g++
ln -sf /usr/bin/gcc-8 /usr/bin/cc && ln -sf /usr/bin/g++-8 /usr/bin/c++
```

With latest Ubuntu versions, `Package gcc-8 has no installation candidate` may be output upon installation.
In this case one may want to update `/etc/apt/sources.list` by executing the following command:

```bash
echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal main universe" | sudo tee -a /etc/apt/sources.list
```
and rerun `update` and `install` commands again.

Install **cmake**, at least version 3.25.0.

```bash
wget https://github.com/Kitware/CMake/archive/refs/tags/v3.25.0.zip
unzip v3.25.0.zip && cd v3.25.0.zip
unzip v3.25.0.zip && cd CMake-3.25.0
mkdir build && cd build
../configure
make -j <your_num_of_cores>
Expand Down Expand Up @@ -91,6 +99,8 @@ make -j <your_num_of_cores> && make install
export LLVM_CMAKE=<path_to_clang_installation>lib/cmake
```

Note that this may take a while.

After that you can start build a Cooddy project.

### Prepare and build release version of Cooddy
Expand Down