[ITK-users] [ITK] Recommended approach for cross-platform deploying ITK+Vtk+Qt5

Andras Lasso lasso at queensu.ca
Sun Jul 30 08:02:14 EDT 2017


Currently, Slicer does not use AppVeyor for continuous integration on Windows. Also, the full test suite of Slicer takes several hours to run, so CircleCI only checks for build errors.

Andras

From: Pablo Hernández<mailto:pablo.hernandez.cerdan at outlook.com>
Sent: Sunday, July 30, 2017 6:58
To: Insight-users<mailto:insight-users at itk.org>
Subject: [ITK] [ITK-users] Recommended approach for cross-platform deploying ITK+Vtk+Qt5

Hi,
I wonder what is the recommended approach for deploying a cross-platform application involving ITK+Vtk+Qt nowadays with all the available tools: docker containers, travis-ci, appveyor, circle-ci etc.

Is it still recommended to create a SuperBuild with all your dependencies as ExternalProjects in CMake? How do you reduce the time it takes to build?
The build time for all my dependencies (Vtk (with qt5), ITK, boost) plus my small app is surpassing the 60min limit in both, AppVeyor and Travis-CI. To alleviate this, do you use docker?.

My main concern is Windows, I have seen that @thewtex and @jcfr have a repo with closs-platform buildings ( https://github.com/dockcross/dockcross<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdockcross%2Fdockcross&data=02%7C01%7Classo%40queensu.ca%7Cd78814b1f1c44e2a656708d4d739f46e%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636370091291392316&sdata=JZ6ktuq1nz1216%2BoSl79nhNriJRXTZUtKJdvuiBDVOQ%3D&reserved=0> ), there is a Windows64 there with Mingw that might help. I have no idea if I can generate windows binaries from AppVeyor using docker, or instead, I generate them using that docker image with Wine+MinGw in Travis-CI.

Instead of CPack from CMake I have been thinking to use windowsqtdeploy, linuxqtdeploy from Qt...

I have been looking to Slicer source code to see how they are doing it, and it seems super structured, but not 100% sure how they generate their nightly packages ( I guess it involves these docker images: https://github.com/thewtex/SlicerDocker<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fthewtex%2FSlicerDocker&data=02%7C01%7Classo%40queensu.ca%7Cd78814b1f1c44e2a656708d4d739f46e%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636370091291392316&sdata=8J%2FnkzEr2y5k5i8O%2FrwntLbYY0biI2PjT0eCJHLUi3E%3D&reserved=0>, but also in Windows?)

Maybe this is the not best forum to ask, but if you have any recommendations for deploying a small GUI app based on ITK, I will be extremely grateful to hear them. Thanks!

Cheers,
Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170730/edab9ed8/attachment.html>


More information about the Insight-users mailing list