aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-02-08 12:07:54 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-02-08 15:34:28 +0100
commitdfa29f9f859c9ca261f96a1bb1b13d7d765d10aa (patch)
tree42687cd09c2ed70ebebe083cae4a5e7fcebfc70c /travis
parentead6a66d9830e1f3e0f49a9d46fcd500f342f20f (diff)
downloadPROJ-dfa29f9f859c9ca261f96a1bb1b13d7d765d10aa.tar.gz
PROJ-dfa29f9f859c9ca261f96a1bb1b13d7d765d10aa.zip
Travis: restrict symbol comparison to x86_64 builds
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/travis/install.sh b/travis/install.sh
index a8b98f98..56533d21 100755
--- a/travis/install.sh
+++ b/travis/install.sh
@@ -43,9 +43,11 @@ cd build_autoconf
make -j${NPROC}
if [ "$(uname)" == "Linux" -a -f src/.libs/libproj.so ]; then
+ if objdump -TC "$1" | grep "elf64-x86-64">/dev/null; then
echo "Checking exported symbols..."
${TOP_DIR}/scripts/dump_exported_symbols.sh src/.libs/libproj.so > /tmp/got_symbols.txt
diff -u ${TOP_DIR}/scripts/reference_exported_symbols.txt /tmp/got_symbols.txt || (echo "Difference(s) found in exported symbols. If intended, refresh scripts/reference_exported_symbols.txt with 'scripts/dump_exported_symbols.sh src/.libs/libproj.so > scripts/reference_exported_symbols.txt'"; exit 1)
+ fi
fi
make check