Changes
Page history
Update build_linux
authored
Dec 09, 2025
by
Adrien Crovato
Hide whitespace changes
Inline
Side-by-side
build_linux.md
View page @
de475063
...
@@ -5,7 +5,7 @@ Note that these build instructions are using the GNU compilers but Intel's compi
...
@@ -5,7 +5,7 @@ Note that these build instructions are using the GNU compilers but Intel's compi
```
bash
```
bash
# Common
# Common
sudo
apt update
sudo
apt update
sudo
apt
install
git
sudo
apt
install
git
git-lfs
sudo
apt
install
build-essential cmake
sudo
apt
install
build-essential cmake
sudo
apt
install
swig
sudo
apt
install
swig
sudo
apt
install
libeigen3-dev
sudo
apt
install
libeigen3-dev
...
@@ -29,24 +29,31 @@ python3 -m pip install vtk
...
@@ -29,24 +29,31 @@ python3 -m pip install vtk
sudo
apt
install
doxygen graphviz
sudo
apt
install
doxygen graphviz
```
```
**
Build
**
**
Local build (for developers)
**
```
bash
```
bash
# Get the code
# Get the code
git lfs
install
# enable large file support
git clone git@gitlab.uliege.be:am-dept/sdpm.git
# ssh only for developers
git clone git@gitlab.uliege.be:am-dept/sdpm.git
# ssh only for developers
cd
sdpm
cd
sdpm
# Build
# Build
mkdir
build
&&
cd
build
mkdir
build
&&
cd
build
cmake ..
cmake
[
-Dopt
=
val]
..
make
[
-j4
]
make
[
-j4
]
[
make dox]
# to build the documentation
[
make dox]
# to build the documentation
# Test
# Test
ctest
[
-E
exclude_pattern]
[
-R
include_pattern]
[
-j4
]
ctest
[
-E
exclude_pattern]
[
-R
include_pattern]
[
-j4
]
# Install
python3
-m
pip
install
.
[
--user
]
```
```
For a complete list of options, refer to the
[
build
](
Build
)
page.
For a complete list of options, refer to the
[
build
](
Build
)
page.
**Install (for users)**
```
bash
# Get the code
git clone https://gitlab.uliege.be/am-dept/sdpm.git
cd
sdpm
# Install
python3
-m
pip
install
.
[
-Ccmake
.define.opt
=
val]
[
--user
]
```
For a complete list of options, refer to the
[
build
](
Build
)
page.
**Example**
**Example**
From the SDPM root directory,
From the SDPM root directory,
```
bash
```
bash
...
...
...
...