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
0faec5eb
Commit
0faec5eb
authored
Aug 26, 2020
by
Andrew Murray
Browse files
Added ensure_xz instead of always skipping on manylinux
parent
589a6701
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
docker_build_wrap.sh
docker_build_wrap.sh
+1
-1
library_builders.sh
library_builders.sh
+7
-1
manylinux_utils.sh
manylinux_utils.sh
+0
-4
tests/test_library_builders.sh
tests/test_library_builders.sh
+1
-1
No files found.
docker_build_wrap.sh
View file @
0faec5eb
...
...
@@ -23,10 +23,10 @@ ENV_VARS_PATH=${ENV_VARS_PATH:-env_vars.sh}
# Always pull in common and library builder utils
MULTIBUILD_DIR
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
# These routines also source common_utils.sh
source
$MULTIBUILD_DIR
/manylinux_utils.sh
if
[
-r
"
$ENV_VARS_PATH
"
]
;
then
source
"
$ENV_VARS_PATH
"
;
fi
source
$MULTIBUILD_DIR
/configure_build.sh
source
$MULTIBUILD_DIR
/library_builders.sh
source
$MULTIBUILD_DIR
/manylinux_utils.sh
if
[
"
$USE_CCACHE
"
==
"1"
]
;
then
activate_ccache
...
...
library_builders.sh
View file @
0faec5eb
...
...
@@ -148,7 +148,7 @@ function build_bzip2 {
function
build_tiff
{
build_zlib
build_jpeg
build
_xz
ensure
_xz
build_simple tiff
$TIFF_VERSION
https://download.osgeo.org/libtiff
}
...
...
@@ -201,6 +201,12 @@ function build_xz {
build_simple xz
$XZ_VERSION
https://tukaani.org/xz
}
function
ensure_xz
{
if
[[
!
$(
type
-P
"xz"
)
]]
;
then
build_xz
fi
}
function
build_libwebp
{
build_libpng
build_tiff
...
...
manylinux_utils.sh
View file @
0faec5eb
...
...
@@ -4,10 +4,6 @@
MULTIBUILD_DIR
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
source
$MULTIBUILD_DIR
/common_utils.sh
function
build_xz
{
echo
"Skip building xz"
}
function
get_platform
{
# Report platform as given by uname
python
-c
'import platform; print(platform.uname()[4])'
...
...
tests/test_library_builders.sh
View file @
0faec5eb
...
...
@@ -40,7 +40,7 @@ suppress build_flex
suppress build_openblas
suppress build_tiff
suppress build_lcms2
suppress
build
_xz
suppress
ensure
_xz
suppress build_freetype
suppress build_libyaml
if
[
-z
"
$IS_OSX
"
]
;
then
...
...
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