[Paraview-developers] [EXTERNAL] Re: ParaView superbuild and Source

Scott, W Alan wascott at sandia.gov
Wed Nov 30 17:03:11 EST 2016


Hi Shawn,
Nope, once again the Superbuild is downloading from the web.  Any other ideas?  I wrote up details here: https://gitlab.kitware.com/paraview/paraview/issues/17059.

Are there tests for this stuff in the nightly testing suite?  This has bit me at least half a dozen times at this point…

Alan



From: Shawn Waldon [mailto:shawn.waldon at kitware.com]
Sent: Wednesday, November 30, 2016 1:13 PM
To: Scott, W Alan <wascott at sandia.gov>
Cc: paraview-developers at paraview.org
Subject: [EXTERNAL] Re: [Paraview-developers] ParaView superbuild and Source

Alan,
We refactored the superbuild so that other projects than paraview could have multiple possible sources.  The new variable is paraview_SOURCE_SELECTION.  The options are '5.2.0' (downloads tarball from paraview.org<http://paraview.org> and the default), 'git' (pulls git master), and 'source' which uses an external source dir.  The git and source options are customizable with other variables (to specify which source dir or which git branch/tag to use).  I think what you want now is this:
cMakeVars = cMakeVars +\
    '-Dparaview_SOURCE_SELECTION:STRING=source '+\
    '-Dparaview_SOURCE_DIR:PATH='+pvSrcDir+' '
The first one has the same effect as the first two in your example and the last one sets the path to the source dir of ParaView.

HTH,
Shawn

On Wed, Nov 30, 2016 at 2:50 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
I have set the following variables, attempting to turn off Paraview’s downloading from the paraview.org<http://paraview.org> website.  Yet, SuperBuild is downloading everything externally!  What am I doing wrong?  How can I make ParaView not do this download and just fail?  Are the switches just ignored?


cMakeVars = cMakeVars +\
        '-DParaView_FROM_GIT:BOOL=OFF '+\
        '-DParaView_FROM_SOURCE_DIR:BOOL=ON '+\
        '-DPARAVIEW_SOURCE_DIR:PATH='+pvSrcDir+' '


Groan.

Alan


_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=Paraview-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20161130/dd65bbdf/attachment.html>


More information about the Paraview-developers mailing list