* 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>
 
 
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo                   paka @ IRCnet oftc
What sort of day was it?                  A day like all days, filled with 
those events that alter and illuminate our times... 
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to