mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] ci: Verification should pass regardless of autoconf artifacts
Allow ci_verify_configure.sh to pass regardless whether the configure script and the associated configure control files are present. This is necessary for the branches newer than 'libpng16', where these artifacts are no longer auto-generated by default. This is a cherry-pick of commit 09ec97edc099538d548a67253b990660c912af4f from branch 'libpng18'.
This commit is contained in:
parent
1bf304c43c
commit
7c90057cfe
@ -122,6 +122,10 @@ function ci_build {
|
|||||||
ci_spawn export CFLAGS="${CFLAGS:-"-O2"} -fsanitize=$CI_SANITIZERS"
|
ci_spawn export CFLAGS="${CFLAGS:-"-O2"} -fsanitize=$CI_SANITIZERS"
|
||||||
ci_spawn export LDFLAGS="${LDFLAGS}${LDFLAGS:+" "}-fsanitize=$CI_SANITIZERS"
|
ci_spawn export LDFLAGS="${LDFLAGS}${LDFLAGS:+" "}-fsanitize=$CI_SANITIZERS"
|
||||||
}
|
}
|
||||||
|
# Spawn "autogen.sh" if the configure script is not available.
|
||||||
|
[[ -x "$CI_SRC_DIR/configure" ]] || {
|
||||||
|
ci_spawn "$CI_SRC_DIR/autogen.sh" --maintainer
|
||||||
|
}
|
||||||
# And... build!
|
# And... build!
|
||||||
ci_spawn mkdir -p "$CI_BUILD_DIR"
|
ci_spawn mkdir -p "$CI_BUILD_DIR"
|
||||||
ci_spawn cd "$CI_BUILD_DIR"
|
ci_spawn cd "$CI_BUILD_DIR"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user