Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
bfc0926c
"README.md" did not exist on "c3cb632c24d23db80d01b28125c28cd92d042830"
Commit
bfc0926c
authored
15 years ago
by
Andrew Heather
Browse files
Options
Downloads
Patches
Plain Diff
updated to enable alternative builds if env variables set externally
parent
95b2a4d3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/apps/paraview3/bashrc
+8
-7
8 additions, 7 deletions
etc/apps/paraview3/bashrc
with
8 additions
and
7 deletions
etc/apps/paraview3/bashrc
+
8
−
7
View file @
bfc0926c
...
...
@@ -46,21 +46,22 @@ do
fi
done
paraviewMajor
=
paraview-3.6
export
ParaView_VERSION
=
3.6.1
# set MAJOR and VERSION variables if not already set
[
-z
"
$ParaView_MAJOR
"
]
&&
export
ParaView_MAJOR
=
paraview-3.6
[
-z
"
$ParaView_VERSION
"
]
&&
export
ParaView_VERSION
=
3.6.1
export
ParaView_INST_DIR
=
$WM_THIRD_PARTY_DIR
/paraview-
$ParaView_VERSION
export
ParaView_DIR
=
$ParaView_INST_DIR
/platforms/
$WM_ARCH$WM_COMPILER
# add in python libraries if required
p
ara
v
iew
Python
=
$ParaView_DIR
/Utilities/VTKPythonWrapping
if
[
-r
$
p
ara
v
iew
Python
]
P
ara
V
iew
_PYTHON_DIR
=
$ParaView_DIR
/Utilities/VTKPythonWrapping
if
[
-r
$
P
ara
V
iew
_PYTHON_DIR
]
then
if
[
"
$PYTHONPATH
"
]
then
export
PYTHONPATH
=
$PYTHONPATH
:
$
p
ara
v
iew
Python
:
$ParaView_DIR
/lib/
$
p
ara
v
iew
Major
export
PYTHONPATH
=
$PYTHONPATH
:
$
P
ara
V
iew
_PYTHON_DIR
:
$ParaView_DIR
/lib/
$
P
ara
V
iew
_MAJOR
else
export
PYTHONPATH
=
$
p
ara
v
iew
Python
:
$ParaView_DIR
/lib/
$
p
ara
v
iew
Major
export
PYTHONPATH
=
$
P
ara
V
iew
_PYTHON_DIR
:
$ParaView_DIR
/lib/
$
P
ara
V
iew
_MAJOR
fi
fi
...
...
@@ -70,5 +71,5 @@ then
export
PV_PLUGIN_PATH
=
$FOAM_LIBBIN
fi
unset
cmake
p
ara
v
iew
Major paraviewPython
unset
cmake
P
ara
V
iew
_PYTHON_DIR
# -----------------------------------------------------------------------------
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment