Build from source instruction

This commit is contained in:
Jean-Claude 2023-10-27 14:26:58 +02:00
parent bd92ef6f15
commit b8d5b4049c
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
1 changed files with 16 additions and 0 deletions

16
rawtherapee.md Normal file
View File

@ -0,0 +1,16 @@
# RawTherapee
- The packaged version is not compiled with multithreading enabled.
- Better compile it form source
## Compile from Source
- Clone repository <https://github.com/Beep6581/RawTherapee>
- `mkdir build && cd build`
- `cmake -DCMAKE_BUILD_TYPE="release" -DCACHE_NAME_SUFFIX="5-dev" -DPROC_TARGET_NUMBER="6" -DBUILD_BUNDLE="ON" -DBUNDLE_BASE_INSTALL_DIR="$HOME/Documents/Programs/RawTherapee" -DOPTION_OMP="ON" -DWITH_LTO="ON" -DWITH_PROF="OFF" -DWITH_SAN="OFF" -DWITH_SYSTEM_KLT="OFF" -DWITH_BENCHMARK="OFF" -DENABLE_TCMALLOC="OFF" ..`
- Optimized for i7, otherwise use `-DPROC_TARGET_NUMBER="2"` for non-i7 CPUs
- Installs it to a local directory
- `make -j 7`
- `make install`
### Update
- Repeat all step starting with the `cmake`