[Paraview-developers] ParaView superbuild and Source

Shawn Waldon shawn.waldon at kitware.com
Wed Nov 30 15:13:06 EST 2016


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 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> wrote:

> I have set the following variables, attempting to turn off Paraview’s
> downloading from the 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
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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/3a39ef74/attachment.html>


More information about the Paraview-developers mailing list