Thanks.

So it doesn't matter if one uses the build.sh script
or cmake?

Chris

Am 24.02.2022 um 14:20 schrieb Patrick Shanahan:
* Christian <chris66...@gmx.de> [02-24-22 08:04]:
Hi,
are these the right steps to do a daily build of DT master:

git pull

git submodule init   (optional)
git submodule update (optional)

cd build
cmake --build .
cmake --install .

Or do I have to do a clean re-build:

rmdir -r build
rmdir -r /opt/darktable

mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/opt/darktable ../.
cmake --build .
cmake --install .

I always clean(rmdir) prior to git pull/../.. and building


git clean -d -f -x ; git submodule update --init ; \
  git pull --rebase --recurse-submodules ; \
  git fetch origin+refs/heads/master:refs/remotes/origin/master && \
  git reset --hard origin/master

build.sh --enable-opencl --install --build-type RelWithDebInfo \
  --prefix <preferred install location>


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to