Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
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
mpim-sw
cdo
Commits
2a571976
Commit
2a571976
authored
8 years ago
by
Ralf Mueller
Browse files
Options
Downloads
Patches
Plain Diff
add jessie setups for g++/clang/clang++; gcc-6.1.1, clang-3.8
parent
8ba97d93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/default
+33
-9
33 additions, 9 deletions
config/default
with
33 additions
and
9 deletions
config/default
+
33
−
9
View file @
2a571976
...
...
@@ -304,16 +304,40 @@ case "${HOSTNAME}" in
;;
# standard workstations at MPI-M debian jessie
mpipc149
)
${
CONFPATH
}
configure
\
--prefix
=
`
pwd
`
/build
\
--enable-maintainer-mode
\
--with-netcdf
=
'/sw/jessie-x64/netcdf-4.3.3.1-gccsys'
\
--with-hdf5
=
'/sw/jessie-x64/hdf5-1.8.16-gccsys/'
\
--with-szlib
=
'/sw/jessie-x64/szip-2.1-gccsys'
\
--with-udunits2
=
'/sw/jessie-x64/udunits-2.2.20-gccsys'
\
--enable-ruby
--enable-swig
--enable-python
\
CC
=
gcc
CFLAGS
=
"-g -Wall -W -Wfloat-equal -pedantic -O2"
LIBS
=
'-lm -lpthread '
CDOLIBS
=
"--prefix=
`
pwd
`
/build
\
--enable-maintainer-mode
\
--with-netcdf=/sw/jessie-x64/netcdf-4.3.3.1-gccsys
\
--with-hdf5=/sw/jessie-x64/hdf5-1.8.16-gccsys/
\
--with-szlib=/sw/jessie-x64/szip-2.1-gccsys
\
--with-udunits2=/sw/jessie-x64/udunits-2.2.20-gccsys
\
--enable-ruby --enable-swig --enable-python "
case
"
$COMP
"
in
gcc
)
${
CONFPATH
}
configure
\
$CDOLIBS
\
CC
=
gcc
CFLAGS
=
"-g -Wall -W -Wfloat-equal -pedantic -O2"
LIBS
=
'-lm -lpthread '
;;
g++
)
# jessie used gcc 6.1.1
${
CONFPATH
}
configure
\
$CDOLIBS
\
--enable-cxx
\
CC
=
gcc
CXX
=
g++
CFLAGS
=
"-std=c99 -g -Wall -W -Wfloat-equal -pedantic -O2"
LIBS
=
'-lm -lpthread '
;;
clang
)
${
CONFPATH
}
configure
\
$CDOLIBS
\
--disable-openmp
\
CC
=
/sw/jessie-x64/util/clang+llvm-3.8.0/bin/clang
CXX
=
/sw/jessie-x64/util/clang+llvm-3.8.0/bin/clang++
;;
clang++
)
# recent clang-3.8
${
CONFPATH
}
configure
\
$CDOLIBS
\
--disable-openmp
\
--enable-cxx
\
CC
=
/sw/jessie-x64/util/clang+llvm-3.8.0/bin/clang
CXX
=
/sw/jessie-x64/util/clang+llvm-3.8.0/bin/clang++
;;
esac
;;
# standard workstations at MPI-M x86_64-lenny
mpipc
*
)
${
CONFPATH
}
configure
\
...
...
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