Skip to content

Commit

Permalink
travis: Disable sindex build in sparse.
Browse files Browse the repository at this point in the history
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.

Acked-by: Numan Siddique <numans@ovn.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
  • Loading branch information
igsilya committed Mar 12, 2020
1 parent 25a7e55 commit d69d4c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis/linux-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ 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
make -j4 HAVE_LLVM= HAVE_SQLITE= install
cd ..

pip3 install --disable-pip-version-check --user flake8 hacking
Expand Down

0 comments on commit d69d4c0

Please sign in to comment.