[darktable-dev] Daily Build

2022-02-24 Thread Christian

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 .

Greetings from Germany
Christian

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



Re: [darktable-dev] Daily Build

2022-02-24 Thread Patrick Shanahan
* Christian  [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 
 
 
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/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