[ovs-dev] [PATCH ovn] travis: Disable sindex build in sparse.
Ilya Maximets
i.maximets at ovn.org
Thu Mar 12 10:30:15 UTC 2020
Sparse introduced a new utility 'sindex' for semantic search,
but unfortunately it fails to build in Travis environment.
Disabling it explicitly as we don't need it anyway.
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
---
.travis/linux-prepare.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 50189c421..0bb0ff096 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -7,8 +7,10 @@ set -ev
# Explicitly disable sparse support for llvm because some travis
# environments claim to have LLVM (llvm-config exists and works) but
# linking against it fails.
+# Disabling sqlite support because sindex build fails and we don't
+# really need this utility being installed.
git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
-cd sparse && make -j4 HAVE_LLVM= install && cd ..
+cd sparse && make -j4 HAVE_LLVM= HAVE_SQLITE= install && cd ..
pip install --disable-pip-version-check --user six flake8 hacking
pip install --user --upgrade docutils
--
2.24.1
More information about the dev
mailing list