Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
50fc6c84
Commit
50fc6c84
authored
Jul 06, 2010
by
mattijs
Browse files
ENH: apps/paraview3 : upgrade to 3.8.0
parent
502987ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
etc/apps/paraview3/bashrc
View file @
50fc6c84
...
...
@@ -51,7 +51,7 @@ done
# set VERSION and MAJOR (version) variables if not already set
[
-n
"
$ParaView_VERSION
"
]
||
ParaView_VERSION
=
3.
6.1
[
-n
"
$ParaView_VERSION
"
]
||
ParaView_VERSION
=
3.
8.0
[
-n
"
$ParaView_MAJOR
"
]
||
ParaView_MAJOR
=
unknown
# if needed, set MAJOR version to correspond to VERSION
...
...
@@ -75,6 +75,7 @@ export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/paraview-
if
[
-r
$ParaView_DIR
-o
-r
$paraviewInstDir
]
then
export
PATH
=
$ParaView_DIR
/bin:
$PATH
export
LD_LIBRARY_PATH
=
$ParaView_DIR
/lib/paraview-
$ParaView_MAJOR
:
$LD_LIBRARY_PATH
export
PV_PLUGIN_PATH
=
$FOAM_LIBBIN
/paraview-
$ParaView_MAJOR
# add in python libraries if required
...
...
etc/apps/paraview3/cshrc
View file @
50fc6c84
...
...
@@ -49,7 +49,7 @@ foreach cmake ( cmake-2.8.1 cmake-2.8.0 cmake-2.6.4 )
end
# set VERSION and MAJOR (version) variables if not already set
if
(
!
$?
ParaView_VERSION
)
setenv ParaView_VERSION 3.
6.1
if
(
!
$?
ParaView_VERSION
)
setenv ParaView_VERSION 3.
8.0
if
(
!
$?
ParaView_MAJOR
)
setenv ParaView_MAJOR unknown
# if needed, set MAJOR version to correspond to VERSION
...
...
@@ -73,6 +73,7 @@ setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/paraview-
# set paths if binaries or source are present
if
(
-r
$ParaView_DIR
||
-r
$paraviewInstDir
)
then
setenv PATH
${
ParaView_DIR
}
/bin:
${
PATH
}
setenv LD_LIBRARY_PATH
"
${
ParaView_DIR
}
/lib/paraview-
${
ParaView_MAJOR
}
:
${
LD_LIBRARY_PATH
}
"
setenv PV_PLUGIN_PATH
$FOAM_LIBBIN
/paraview-
${
ParaView_MAJOR
}
# add in python libraries if required
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment