Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Oct 25, 2024
1 parent 5a7fe98 commit f06fbdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/Basic/Compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,19 @@ Alternatively, `CMake` can be used to generate solution files if some external p
#### Ubuntu
The following instructions are based on Ubuntu 20.04. [CMake](https://cmake.org/) is used to manage builds. It is
The following instructions are based on Ubuntu 22.04. [CMake](https://cmake.org/) is used to manage builds. It is
recommended to use **CMake** GUI if appropriate.
1. Install necessary tools.
```bash
sudo apt-get install gcc-10 g++-10 gfortran-10 git cmake libomp5 -y
sudo apt-get install gcc g++ gfortran git cmake libomp5 libglvnd-dev -y
```
2. Clone the project.
```bash
git clone -b master https://github.com/TLCFEM/suanPan.git
git clone -b master --depth 1 https://github.com/TLCFEM/suanPan.git
```
3. Create build folder and configure via CMake. The default configuration disables parallelism `-DBUILD_MULTITHREAD=OFF`
Expand All @@ -139,7 +139,7 @@ recommended to use **CMake** GUI if appropriate.
4. Invoke `make`.
```bash
make -j4
make -j"$(nproc)"
```
Check the following recording.
Expand Down
2 changes: 1 addition & 1 deletion docs/Basic/Obtain.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ and [macOS](https://github.com/actions/runner-images/blob/main/images/macos/maco

### Chocolatey

[![asciicast](https://asciinema.org/a/491350.svg)](https://asciinema.org/a/491350)
[![asciicast](https://asciinema.org/a/684063.svg)](https://asciinema.org/a/684063)

### snap

Expand Down

0 comments on commit f06fbdc

Please sign in to comment.