Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
2766941d
Commit
2766941d
authored
Nov 04, 2016
by
Matthew Brett
Browse files
Struggling with openssl / curl build
parent
0d02ad9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
library_builders.sh
library_builders.sh
+7
-5
No files found.
library_builders.sh
View file @
2766941d
...
...
@@ -23,7 +23,7 @@ HDF5_VERSION="${HDF5_VERSION:-1.8.17}"
LIBAEC_VERSION
=
"
${
LIBAEC_VERSION
:-
0
.3.3
}
"
LZO_VERSION
=
${
LZO_VERSION
:-
2
.09
}
BLOSC_VERSION
=
${
BLOSC_VERSION
:-
1
.10.2
}
CURL_VERSION
=
${
CURL_VERSION
:-
7
.4
3.0
}
CURL_VERSION
=
${
CURL_VERSION
:-
7
.4
9.1
}
NETCDF_VERSION
=
${
NETCDF_VERSION
:-
4
.4.1
}
OPENSSL_ROOT
=
openssl-1.0.2j
OPENSSL_HASH
=
e7aff292be21c259c6af26469c7a9b3ba26e9abaaffd325e3dccc9785256c431
...
...
@@ -249,16 +249,18 @@ function build_lzo {
function
build_curl
{
if
[
-e
curl-stamp
]
;
then return
;
fi
local
flags
=
"--prefix=
$BUILD_PREFIX
--disable-shared"
if
[
-n
"
$IS_OSX
"
]
;
then
flags
=
"--with-darwinssl"
flags
=
"
$flags
--with-darwinssl"
else
# manylinux
flags
=
"--with-ssl"
flags
=
"
$flags
--with-ssl"
build_openssl
fi
fetch_unpack https://curl.haxx.se/download/curl-
${
CURL_VERSION
}
.tar.gz
(
cd
curl-
${
CURL_VERSION
}
\
&&
if
[
-z
"
$IS_OSX
"
]
;
then
LIBS
=
-ldl
;
fi
\
&&
./configure
--prefix
=
$BUILD_PREFIX
$flags
\
&&
if
[
-z
"
$IS_OSX
"
]
;
then
\
LIBS
=
-ldl
./configure
$flags
;
else
\
./configure
$flags
;
fi
\
&&
make
\
&&
make
install
)
touch
curl-stamp
...
...
Write
Preview
Markdown
is supported
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