Review Request 116816: Small patches for building on Mac OS X against KDE

RJVB Bertin rjvbertin at gmail.com
Mon Mar 24 08:31:52 GMT 2014



> On March 23, 2014, 10:51 p.m., Yue Liu wrote:
> > do you still have the gmic clang issue?

On OSX 10.6, yes. But there one could choose to use a recent gcc version.

I cannot test on the intermediate OS versions, but on OS X 10.9 the situation is a bit more complicated. Apple's current clang version ("3.4 svn") compiles gmic.cpp fine, without particular memory requirements. However, clang 3.5 displays the almost same behaviour as clang 3.3 on OS X 10.6: taking the form of very high memory pressure that basically brings the machine down to a point where it requires extreme patience to get the focus back to the controlling terminal window in order to ^C the process.

Might it be a good idea to disable the gmic extension when not using a verified clang version? 


- RJVB


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116816/#review53870
-----------------------------------------------------------


On March 16, 2014, 8:17 a.m., RJVB Bertin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116816/
> -----------------------------------------------------------
> 
> (Updated March 16, 2014, 8:17 a.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> Small modifications for building on Mac OS X against KDE, Qt and other libraries installed through MacPorts installed under /opt/local. MacPorts installs GLEW as a simple dylib in /opt/local/lib, FindGLEW.cmake has been modified accordingly. I installed Vc (not in MacPorts) by hand into /opt/local; the modification to FindVc.cmake is possibly redundant. The modification to kis_opengl_canvas2_p.h enables building on systems that do not have the (optional!) GLEW framework.
> 
> Note that gmic.cpp is so huge that clang 3.3 needs almost 20GB memory at some time, and takes an enormous time to compile.
> 
> 
> Diffs
> -----
> 
>   cmake/modules/FindGLEW.cmake adcc452 
>   cmake/modules/FindVc.cmake bb9823f 
>   krita/ui/opengl/kis_opengl_canvas2_p.h 3b1e369 
> 
> Diff: https://git.reviewboard.kde.org/r/116816/diff/
> 
> 
> Testing
> -------
> 
> With these modifications the non-packager OSX productset builds correctly on my OS X 10.6.8 system (after also modifying cmake's CMAKE_SHARED_MODULE_CREATE formulas), using the clang-3.3 compiler from MacPorts.
> Basic functionality appears correct in all member applications, and 79% of the unittests succeed.
> 
> I have not tested my patch to kis_opengl_canvas2_p.h exhaustively as if figured out why GLEW wasn't found shortly after patching the file, but it's a step in the right direction if GLEW is indeed to be an optional dependency.
> 
> 
> Thanks,
> 
> RJVB Bertin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20140324/9ba5ad29/attachment.htm>


More information about the calligra-devel mailing list