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
423fe104
Commit
423fe104
authored
14 years ago
by
graham
Browse files
Options
Downloads
Patches
Plain Diff
COMP: Correcting CGAL/boost/GMP build setup.
parent
c9c445c5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
etc/settings.csh
+3
-2
3 additions, 2 deletions
etc/settings.csh
etc/settings.sh
+3
-2
3 additions, 2 deletions
etc/settings.sh
wmake/rules/General/CGAL
+2
-1
2 additions, 1 deletion
wmake/rules/General/CGAL
with
8 additions
and
5 deletions
etc/settings.csh
+
3
−
2
View file @
423fe104
...
...
@@ -84,7 +84,7 @@ _foamAddLib ${FOAM_USER_LIBBIN}:${FOAM_SITE_LIBBIN}:${FOAM_LIBBIN}:${FOAM_EXT_L
# Compiler settings
# ~~~~~~~~~~~~~~~~~
unset
gcc_version gmp_version mpfr_version mpc_version
unsetenv MPFR_ARCH_PATH
unsetenv MPFR_ARCH_PATH
GMP_ARCH_PATH
# Location of compiler installation
...
...
@@ -178,6 +178,7 @@ case ThirdParty:
# used by boost/CGAL:
setenv MPFR_ARCH_PATH
$mpfrDir
setenv GMP_ARCH_PATH
$gmpDir
endif
unset
gcc_version gccDir
unset
gmp_version gmpDir mpfr_version mpfrDir mpc_version mpcDir
...
...
@@ -243,7 +244,7 @@ if ( -d "$CGAL_ARCH_PATH" ) then
endif
_foamAddLib
$CGAL_ARCH_PATH
/lib
else
unsetenv BOOST_ARCH_PATH CGAL_ARCH_PATH MPFR_ARCH_PATH
unsetenv BOOST_ARCH_PATH CGAL_ARCH_PATH MPFR_ARCH_PATH
GMP_ARCH_PATH
endif
unset
boost_version cgal_version
...
...
This diff is collapsed.
Click to expand it.
etc/settings.sh
+
3
−
2
View file @
423fe104
...
...
@@ -107,7 +107,7 @@ _foamAddLib $FOAM_USER_LIBBIN:$FOAM_SITE_LIBBIN:$FOAM_LIBBIN:$FOAM_EXT_LIBBIN:$
# Compiler settings
# ~~~~~~~~~~~~~~~~~
unset
gcc_version gmp_version mpfr_version mpc_version
unset
MPFR_ARCH_PATH
unset
MPFR_ARCH_PATH
GMP_ARCH_PATH
# Location of compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -198,6 +198,7 @@ OpenFOAM | ThirdParty)
# used by boost/CGAL:
export
MPFR_ARCH_PATH
=
$mpfrDir
export
GMP_ARCH_PATH
=
$gmpDir
fi
unset
gcc_version gccDir
unset
gmp_version gmpDir mpfr_version mpfrDir mpc_version mpcDir
...
...
@@ -264,7 +265,7 @@ then
fi
_foamAddLib
$CGAL_ARCH_PATH
/lib
else
unset
BOOST_ARCH_PATH CGAL_ARCH_PATH MPFR_ARCH_PATH
unset
BOOST_ARCH_PATH CGAL_ARCH_PATH MPFR_ARCH_PATH
GMP_ARCH_PATH
fi
unset
boost_version cgal_version
...
...
This diff is collapsed.
Click to expand it.
wmake/rules/General/CGAL
+
2
−
1
View file @
423fe104
...
...
@@ -2,7 +2,8 @@ CGAL_INC = \
-Wno-old-style-cast \
-I$(CGAL_ARCH_PATH)/include \
-I$(MPFR_ARCH_PATH)/include \
-I$(BOOST_ARCH_PATH)/include/boost
-I$(GMP_ARCH_PATH)/include \
-I$(BOOST_ARCH_PATH)/include
CGAL_LIBS = \
-L$(MPFR_ARCH_PATH)/lib \
...
...
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