[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: [krita] /: Update krita to compile against Vc >= 1.0.0 (fwd)
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2016-04-07 13:09:16
Message-ID: alpine.LNX.2.00.1604071507020.30033 () calcifer ! valdyas ! org
[Download RAW message or body]

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@zagge.de>
> Reply-To: kde-commits@kde.org
> To: kde-commits@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@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
> 

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org
_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic