Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenFOAM-plus
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
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Development
OpenFOAM-plus
Commits
01b02a9c
Commit
01b02a9c
authored
6 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
COMP: add debug flag for repeating runTimePostProcessing rebuilds
- avoids removal of files and the dummy fallback
parent
79b3fe89
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/functionObjects/graphics/runTimePostProcessing/Allwmake
+9
-3
9 additions, 3 deletions
src/functionObjects/graphics/runTimePostProcessing/Allwmake
with
9 additions
and
3 deletions
src/functionObjects/graphics/runTimePostProcessing/Allwmake
+
9
−
3
View file @
01b02a9c
...
@@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
...
@@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
echo
"======================================================================"
echo
"======================================================================"
echo
"
${
PWD
##*/
}
:
$PWD
"
echo
"
${
PWD
##*/
}
:
$PWD
"
unset
depend
unset
depend
runTimePostProDebug
if
[
-d
"
$VTK_DIR
"
]
if
[
-d
"
$VTK_DIR
"
]
then
then
...
@@ -17,9 +17,12 @@ then
...
@@ -17,9 +17,12 @@ then
depend
=
"ParaView_DIR=
$ParaView_DIR
"
depend
=
"ParaView_DIR=
$ParaView_DIR
"
fi
fi
#
Or f
orce use of dummy only
#
F
orce use of dummy only
# unset depend
# unset depend
# For rebuilding (on error) instead of dropping back to dummy
# runTimePostProDebug=true
if
[
"
$targetType
"
=
objects
]
if
[
"
$targetType
"
=
objects
]
then
then
depend
=
ignore
depend
=
ignore
...
@@ -31,7 +34,10 @@ then
...
@@ -31,7 +34,10 @@ then
echo
echo
echo
" WARNING: incomplete build of VTK-based post-processing"
echo
" WARNING: incomplete build of VTK-based post-processing"
echo
echo
depend
=
"dummy"
if
[
-z
"
$runTimePostProDebug
"
]
then
depend
=
"dummy"
fi
}
}
else
else
echo
"==> skip runTimePostProcessing (needs cmake)"
echo
"==> skip runTimePostProcessing (needs cmake)"
...
...
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