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
227811bb
Commit
227811bb
authored
9 years ago
by
Henry Weller
Browse files
Options
Downloads
Patches
Plain Diff
etc/config.*: Added support for gcc-6.1
parent
482869ee
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
etc/config.csh/settings
+6
-3
6 additions, 3 deletions
etc/config.csh/settings
etc/config.sh/compiler
+3
-0
3 additions, 0 deletions
etc/config.sh/compiler
etc/config.sh/settings
+3
-3
3 additions, 3 deletions
etc/config.sh/settings
with
12 additions
and
6 deletions
etc/config.csh/settings
+
6
−
3
View file @
227811bb
...
...
@@ -246,6 +246,9 @@ case ThirdParty:
case
Gcc53:
set
gcc_version
=
gcc-5.3.0
breaksw
case
Gcc61:
set
gcc_version
=
gcc-6.1.0
breaksw
case
Clang:
# Using clang - not gcc
setenv WM_CC
'clang'
...
...
@@ -290,12 +293,12 @@ case ThirdParty:
_foamAddLib
$gccDir
/lib
$WM_COMPILER_LIB_ARCH
# Add gmp/mpfr libraries to run-time environment
_foamAddLib
$gmpDir
/lib
_foamAddLib
$mpfrDir
/lib
_foamAddLib
$gmpDir
/lib
$WM_COMPILER_LIB_ARCH
_foamAddLib
$mpfrDir
/lib
$WM_COMPILER_LIB_ARCH
# Add mpc libraries (not need for older gcc) to run-time environment
if
(
$?
mpc_version
)
then
_foamAddLib
$mpcDir
/lib
_foamAddLib
$mpcDir
/lib
$WM_COMPILER_LIB_ARCH
endif
# Used by boost/CGAL:
...
...
This diff is collapsed.
Click to expand it.
etc/config.sh/compiler
+
3
−
0
View file @
227811bb
...
...
@@ -63,6 +63,9 @@ OpenFOAM | ThirdParty)
Gcc53
)
gcc_version
=
gcc-5.3.0
;;
Gcc61
)
gcc_version
=
gcc-6.1.0
;;
Clang
)
# Using clang - not gcc
export
WM_CC
=
'clang'
...
...
This diff is collapsed.
Click to expand it.
etc/config.sh/settings
+
3
−
3
View file @
227811bb
...
...
@@ -241,13 +241,13 @@ OpenFOAM | ThirdParty)
_foamAddLib
$gccDir
/lib
$WM_COMPILER_LIB_ARCH
# Add gmp/mpfr libraries to run-time environment
_foamAddLib
$gmpDir
/lib
_foamAddLib
$mpfrDir
/lib
_foamAddLib
$gmpDir
/lib
$WM_COMPILER_LIB_ARCH
_foamAddLib
$mpfrDir
/lib
$WM_COMPILER_LIB_ARCH
# Add mpc libraries (not need for older gcc) to run-time environment
if
[
-n
"
$mpc_version
"
]
then
_foamAddLib
$mpcDir
/lib
_foamAddLib
$mpcDir
/lib
$WM_COMPILER_LIB_ARCH
fi
# Used by boost/CGAL:
...
...
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