[krita] /: Update krita to compile against Vc >= 1.0.0 (fwd)

Boudewijn Rempt boud at valdyas.org
Thu Apr 7 13:09:16 UTC 2016


To amplify: if your distributions doesn't have Vc 1.0 or 1.2 yet, you can do the following:

mkdir ~/dev/b
mkdir ~/dev/d
mkdir ~/dev/deps
cd b
cmake ../krita/3rdparty/ -DINSTALL_ROOT=~/dev/deps -DEXTERNALS_DOWNLOAD_DIR=~/dev/d -DCMAKE_INSTALL_PREFIX=~/dev/deps
cmake --build . --config Release --target ext_vc

and then configure krita like normal, with an extra -DCMAKE_PREFIX_PATH pointing to ~/dev/deps

Or you can configure the 3rdparty deps project to directly install to your ~/dev/i folder.

If you build and install krita somewhere else than ~/dev/i, adapt.


On Thu, 7 Apr 2016, Boudewijn Rempt wrote:

> Note: I've updated the 3rdparty Vc project definition to download 1.2.
>
> ---------- Forwarded message ----------
> Date: Thu, 07 Apr 2016 12:56:24 +0000
> From: Thorsten Zachmann <t.zachmann at zagge.de>
> Reply-To: kde-commits at kde.org
> To: kde-commits at kde.org
> Subject: [krita] /: Update krita to compile against Vc >= 1.0.0
>
> Git commit b68c1c7666510e268babc4cd87cd9d5ad34ff2d5 by Thorsten Zachmann.
> Committed on 07/04/2016 at 12:54.
> Pushed by zachmann into branch 'master'.
>
> Update krita to compile against Vc >= 1.0.0
>
> This updates krita to work with Vc version 1.0.0 and above. Some changes to 
> the
> build system were needed as the compile options are now set differently. The
> compile flags are set on the lib which uses the functionality. This is needed 
> in
> a non packager build only. Compile the KisCompositionBenchmark against the
> current available Vc optimization.
>
> Thanks to Vir for all his help.
>
> Tested packager and non packager build. Run the and compared the output of
> ./KisCompositionBenchmark.shell. The speed is nearly the same. For avx a
> different code path is used when avx2 is not available which makes it tick
> slower but correct in all cases according to Vir.
>
> Compiled and tested against vc 1.0.0 and vc 1.2.0.
> _______________________________________________
> Krita mailing list
> kimageshop at kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org


More information about the kimageshop mailing list