Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
2c5c4c53
Commit
2c5c4c53
authored
Jun 23, 2016
by
Ralf Mueller
Browse files
fix building on win7/cygwin
parent
2a407d8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/default
View file @
2c5c4c53
...
...
@@ -117,20 +117,27 @@ case "${HOSTNAME}" in
fi
;;
cdo4windows-cyg
)
CDOLIBS
=
"--with-netcdf=/usr
\
CDOLIBS
=
"--with-netcdf=/usr/local
\
--with-hdf5=/usr/local
\
--with-udunits2=/usr
\
--with-curl=/usr
\
--with-proj=/usr"
if
test
"
$COMP
"
=
clang
;
then
${
CONFPATH
}
configure
\
if
test
"
$COMP
"
=
g++
;
then
${
CONFPATH
}
configure
--prefix
=
/usr/local
\
--program-suffix
=
-g
++
\
--enable-cxx
\
--enable-maintainer-mode
\
$CDOLIBS
\
CC
=
clang
CFLAGS
=
"-g -Wall -O2"
CC
=
g++
CFLAGS
=
"-g -Wall -O2 -DPIC -pie -mwindows"
\
LDFLAGS
=
'-L/usr/local/lib'
\
LIBS
=
'-lpthread -lm -lcurl -lhdf5_hl -lhdf5 -lz -lsz -laec -ldl'
else
${
CONFPATH
}
configure
--prefix
=
$HOME
/local
\
--enable-maintainer-mode
\
$CDOLIBS
\
CC
=
gcc
CFLAGS
=
"-g -Wall -O2"
CC
=
gcc
CFLAGS
=
"-g -Wall -O2 -DPIC -pie -mwindows"
\
LDFLAGS
=
'-L/usr/local/lib'
\
LIBS
=
'-lpthread -lm -lcurl -lhdf5_hl -lhdf5 -lz -lsz -laec -ldl'
fi
;;
daint
*
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment