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
f4950e78
Unverified
Commit
f4950e78
authored
Nov 04, 2017
by
Matthew Brett
Committed by
GitHub
Nov 04, 2017
Browse files
Merge pull request #55 from xoviat/libraries
Libraries: add SWIG and suitesparse
parents
1b97cd55
90103db8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
library_builders.sh
library_builders.sh
+24
-0
tests/test_library_builders.sh
tests/test_library_builders.sh
+1
-0
No files found.
library_builders.sh
View file @
f4950e78
...
@@ -27,6 +27,9 @@ BLOSC_VERSION=${BLOSC_VERSION:-1.10.2}
...
@@ -27,6 +27,9 @@ BLOSC_VERSION=${BLOSC_VERSION:-1.10.2}
SNAPPY_VERSION
=
"
${
SNAPPY_VERSION
:-
1
.1.3
}
"
SNAPPY_VERSION
=
"
${
SNAPPY_VERSION
:-
1
.1.3
}
"
CURL_VERSION
=
${
CURL_VERSION
:-
7
.49.1
}
CURL_VERSION
=
${
CURL_VERSION
:-
7
.49.1
}
NETCDF_VERSION
=
${
NETCDF_VERSION
:-
4
.4.1.1
}
NETCDF_VERSION
=
${
NETCDF_VERSION
:-
4
.4.1.1
}
SWIG_VERSION
=
${
SWIG_VERSION
:-
3
.0.12
}
PCRE_VERSION
=
${
PCRE_VERSION
:-
8
.38
}
SUITESPARSE_VERSION
=
${
SUITESPARSE_VERSION
:-
4
.5.6
}
OPENSSL_ROOT
=
openssl-1.0.2l
OPENSSL_ROOT
=
openssl-1.0.2l
# Hash from https://www.openssl.org/source/openssl-1.0.2?.tar.gz.sha256
# Hash from https://www.openssl.org/source/openssl-1.0.2?.tar.gz.sha256
OPENSSL_HASH
=
ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c
OPENSSL_HASH
=
ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c
...
@@ -321,3 +324,24 @@ function build_netcdf {
...
@@ -321,3 +324,24 @@ function build_netcdf {
&&
make
install
)
&&
make
install
)
touch
netcdf-stamp
touch
netcdf-stamp
}
}
function
build_pcre
{
build_simple pcre
$PCRE_VERSION
https://ftp.pcre.org/pub/pcre/
}
function
build_swig
{
if
[
-n
"
$IS_OSX
"
]
;
then
brew
install
swig
>
/dev/null
else
build_pcre
build_simple swig
$SWIG_VERSION
http://prdownloads.sourceforge.net/swig/
fi
}
function
build_suitesparse
{
if
[
-n
"
$IS_OSX
"
]
;
then
brew
install
suite-sparse
>
/dev/null
else
yum
install
-y
suitesparse-devel
>
/dev/null
fi
}
tests/test_library_builders.sh
View file @
f4950e78
...
@@ -5,3 +5,4 @@ rm_mkdir $BUILD_PREFIX
...
@@ -5,3 +5,4 @@ rm_mkdir $BUILD_PREFIX
source
library_builders.sh
source
library_builders.sh
build_openssl
build_openssl
build_swig
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