diff --git a/scripts/travis-build-test.sh b/scripts/travis-build-test.sh index 05bd9b8e6f1..1564fbf0786 100755 --- a/scripts/travis-build-test.sh +++ b/scripts/travis-build-test.sh @@ -2,5 +2,5 @@ cd src ./autogen.sh ./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation -make -j2 # cores: ~2, bursted -../scripts/rip-environment runtests -v +make -O -j$(nproc) +../scripts/rip-environment runtests diff --git a/scripts/travis-install-build-deps.sh b/scripts/travis-install-build-deps.sh index 0327b4ed827..df84a5fd5a4 100755 --- a/scripts/travis-install-build-deps.sh +++ b/scripts/travis-install-build-deps.sh @@ -1,7 +1,9 @@ #!/bin/sh -e +sudo sh -c 'echo deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe >> /etc/apt/sources.list' +grep . /etc/apt/sources.list /etc/apt/sources.list.d/* sudo apt-get update -qq sudo apt-get install -y devscripts equivs build-essential --no-install-recommends sudo apt-get remove -f libreadline6-dev || true sudo apt-get remove -f libreadline-dev || true -debian/configure uspace +debian/configure uspace noauto mk-build-deps -i -r -s sudo -t 'apt-get --no-install-recommends --no-install-suggests' diff --git a/src/hal/user_comps/Submakefile b/src/hal/user_comps/Submakefile index a2ab65c83e6..182e9b721c2 100644 --- a/src/hal/user_comps/Submakefile +++ b/src/hal/user_comps/Submakefile @@ -75,7 +75,7 @@ USERSRCS += $(XHC_HB04_SRC) $(call TOOBJSDEPS, $(XHC_HB04_SRC)) : EXTRAFLAGS += $(LIBUSB10_CFLAGS) ../bin/xhc-hb04: $(call TOOBJS, $(XHC_HB04_SRC)) ../lib/liblinuxcnchal.so.0 ../lib/liblinuxcncini.so.0 $(ECHO) Linking $(notdir $@) - $(Q)$(CC) $(LDFLAGS) -o $@ $^ -lm -lstdc++ $(LIBUSB10_LIBS) + $(Q)$(CXX) $(LDFLAGS) -o $@ $^ -lm $(LIBUSB10_LIBS) TARGETS += ../bin/xhc-hb04 endif # HAVE_LIBUSB10