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
d4c22053
Commit
d4c22053
authored
Oct 17, 2017
by
xoviat
Committed by
GitHub
Oct 17, 2017
Browse files
MAINT: use the new arguments in some places
parent
91a600e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
15 deletions
+6
-15
library_builders.sh
library_builders.sh
+6
-15
No files found.
library_builders.sh
View file @
d4c22053
...
@@ -170,16 +170,12 @@ function build_xz {
...
@@ -170,16 +170,12 @@ function build_xz {
}
}
function
build_libwebp
{
function
build_libwebp
{
if
[
-e
libwebp-stamp
]
;
then return
;
fi
build_libpng
build_libpng
build_tiff
build_tiff
build_giflib
build_giflib
fetch_unpack https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-
${
LIBWEBP_VERSION
}
.tar.gz
build_simple libwebp
$LIBWEBP_VERSION
\
(
cd
libwebp-
${
LIBWEBP_VERSION
}
&&
\
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/
\
./configure
--enable-libwebpmux
--enable-libwebpdemux
--prefix
=
$BUILD_PREFIX
\
--enable-libwebpmux
--enable-libwebpdemux
&&
make
\
&&
make
install
)
touch
libwebp-stamp
}
}
function
build_freetype
{
function
build_freetype
{
...
@@ -194,15 +190,10 @@ function build_libyaml {
...
@@ -194,15 +190,10 @@ function build_libyaml {
function
build_szip
{
function
build_szip
{
# Build szip without encoding (patent restrictions)
# Build szip without encoding (patent restrictions)
if
[
-e
szip-stamp
]
;
then return
;
fi
build_zlib
build_zlib
local
szip_url
=
https://www.hdfgroup.org/ftp/lib-external/szip/
build_simple szip
$SZIP_VERSION
\
fetch_unpack
${
szip_url
}
/
$SZIP_VERSION
/src/szip-
$SZIP_VERSION
.tar.gz
https://www.hdfgroup.org/ftp/lib-external/szip/
\
(
cd
szip-
$SZIP_VERSION
\
--enable-encoding
=
no
&&
./configure
--enable-encoding
=
no
--prefix
=
$BUILD_PREFIX
\
&&
make
\
&&
make
install
)
touch
szip-stamp
}
}
function
build_hdf5
{
function
build_hdf5
{
...
...
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