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
bd64b405
Commit
bd64b405
authored
8 years ago
by
Henry Weller
Browse files
Options
Downloads
Patches
Plain Diff
CGAL: Set to use the system CGAL installation by default
parent
d8fcf895
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
etc/config.csh/CGAL
+10
-3
10 additions, 3 deletions
etc/config.csh/CGAL
etc/config.csh/unset
+2
-1
2 additions, 1 deletion
etc/config.csh/unset
etc/config.sh/CGAL
+2
-5
2 additions, 5 deletions
etc/config.sh/CGAL
etc/config.sh/unset
+2
-1
2 additions, 1 deletion
etc/config.sh/unset
with
16 additions
and
10 deletions
etc/config.csh/CGAL
+
10
−
3
View file @
bd64b405
...
@@ -28,10 +28,17 @@
...
@@ -28,10 +28,17 @@
# Setup file for CGAL (& boost) include/libraries.
# Setup file for CGAL (& boost) include/libraries.
# Sourced from OpenFOAM-<VERSION>/etc/cshrc
# Sourced from OpenFOAM-<VERSION>/etc/cshrc
#
#
# If using system-wide installations for either one, use the following
# version settings:
#
# boost_version=boost-system
# cgal_version=cgal-system
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
set
boost_version
=
boost-system
set
boost_version
=
boost-system
set
cgal_version
=
CGAL-4.8
set
cgal_version
=
cgal-system
#set cgal_version=CGAL-4.8
setenv BOOST_ARCH_PATH
$WM_THIRD_PARTY_DIR
/platforms/
$WM_ARCH$WM_COMPILER
/
$boost_version
setenv BOOST_ARCH_PATH
$WM_THIRD_PARTY_DIR
/platforms/
$WM_ARCH$WM_COMPILER
/
$boost_version
setenv CGAL_ARCH_PATH
$WM_THIRD_PARTY_DIR
/platforms/
$WM_ARCH$WM_COMPILER
/
$cgal_version
setenv CGAL_ARCH_PATH
$WM_THIRD_PARTY_DIR
/platforms/
$WM_ARCH$WM_COMPILER
/
$cgal_version
...
@@ -42,11 +49,11 @@ if ($?FOAM_VERBOSE && $?prompt) then
...
@@ -42,11 +49,11 @@ if ($?FOAM_VERBOSE && $?prompt) then
echo
"
$boost_version
at
$BOOST_ARCH_PATH
"
echo
"
$boost_version
at
$BOOST_ARCH_PATH
"
endif
endif
if
(
-d
"
$CGAL_ARCH_PATH
"
)
then
if
(
-d
"
$CGAL_ARCH_PATH
"
&&
"
$cgal_version
"
!=
"cgal-system"
)
then
_foamAddLib
$CGAL_ARCH_PATH
/lib
_foamAddLib
$CGAL_ARCH_PATH
/lib
endif
endif
if
(
-d
"
$BOOST_ARCH_PATH
"
)
then
if
(
-d
"
$BOOST_ARCH_PATH
"
&&
"
$boost_version
"
!=
"boost-system"
)
then
_foamAddLib
$BOOST_ARCH_PATH
/lib
_foamAddLib
$BOOST_ARCH_PATH
/lib
endif
endif
...
...
This diff is collapsed.
Click to expand it.
etc/config.csh/unset
+
2
−
1
View file @
bd64b405
...
@@ -127,10 +127,11 @@ unsetenv PV_PLUGIN_PATH
...
@@ -127,10 +127,11 @@ unsetenv PV_PLUGIN_PATH
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# Unset
CGAL
-related environment variables
# Unset
foamyHexMesh
-related environment variables
unsetenv BOOST_ARCH_PATH
unsetenv BOOST_ARCH_PATH
unsetenv CGAL_ARCH_PATH
unsetenv CGAL_ARCH_PATH
unsetenv FOAMY_HEX_MESH
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
etc/config.sh/CGAL
+
2
−
5
View file @
bd64b405
...
@@ -34,14 +34,11 @@
...
@@ -34,14 +34,11 @@
# boost_version=boost-system
# boost_version=boost-system
# cgal_version=cgal-system
# cgal_version=cgal-system
#
#
# Note
# If CGAL/Boost is to be entirely disabled, either rename this file or
# create an empty one with the same name at a user or site location.
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
boost_version
=
boost-system
boost_version
=
boost-system
cgal_version
=
CGAL-4.8
cgal_version
=
cgal-system
#cgal_version=CGAL-4.8
if
[
-z
"
$SOURCE_CGAL_VERSIONS_ONLY
"
]
if
[
-z
"
$SOURCE_CGAL_VERSIONS_ONLY
"
]
then
then
...
...
This diff is collapsed.
Click to expand it.
etc/config.sh/unset
+
2
−
1
View file @
bd64b405
...
@@ -117,10 +117,11 @@ unset PV_PLUGIN_PATH
...
@@ -117,10 +117,11 @@ unset PV_PLUGIN_PATH
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# Unset
CGAL
-related environment variables
# Unset
foamyHexMesh
-related environment variables
unset
BOOST_ARCH_PATH
unset
BOOST_ARCH_PATH
unset
CGAL_ARCH_PATH
unset
CGAL_ARCH_PATH
unset
FOAMY_HEX_MESH
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
...
...
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