From nobody Sat May 4 14:02:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1492096022992688.2856410911352; Thu, 13 Apr 2017 08:07:02 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 80732787F0; Thu, 13 Apr 2017 15:07:01 +0000 (UTC) Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 443BD7A434; Thu, 13 Apr 2017 15:07:01 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EBE525EC68; Thu, 13 Apr 2017 15:07:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v3DF6xCT024699 for ; Thu, 13 Apr 2017 11:06:59 -0400 Received: by smtp.corp.redhat.com (Postfix) id C9E7681B44; Thu, 13 Apr 2017 15:06:59 +0000 (UTC) Received: from inaba.usersys.redhat.com (dhcp129-166.brq.redhat.com [10.34.129.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 53C5F81B5E for ; Thu, 13 Apr 2017 15:06:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 80732787F0 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 80732787F0 From: Andrea Bolognani To: libvir-list@redhat.com Date: Thu, 13 Apr 2017 17:06:56 +0200 Message-Id: <1492096016-30642-1-git-send-email-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [RFC PATCH] Drop autobuild.sh X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 13 Apr 2017 15:07:02 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" The Test-AutoBuild project, that this script is supposed to be used with, hasn't seen any activity in ~6 years; libvirt's own CI is running on Jenkins with a completely independent setup that doesn't use the script at all. --- autobuild.sh | 122 -------------------------------------------------------= ---- 1 file changed, 122 deletions(-) delete mode 100755 autobuild.sh diff --git a/autobuild.sh b/autobuild.sh deleted file mode 100755 index 2143479..0000000 --- a/autobuild.sh +++ /dev/null @@ -1,122 +0,0 @@ -#!/bin/sh - -set -e -set -v - -# Make things clean. - -test -n "$1" && RESULTS=3D$1 || RESULTS=3Dresults.log -: ${AUTOBUILD_INSTALL_ROOT=3D$HOME/builder} - -# If run under the autobuilder, we must use --nodeps with rpmbuild; -# but this can lead to odd error diagnosis for normal development. -nodeps=3D -if test "${AUTOBUILD_COUNTER+set}"; then - nodeps=3D--nodeps -fi - -test -f Makefile && make -k distclean || : -rm -rf coverage - -rm -rf build -mkdir build -cd build - -# Run with options not normally exercised by the rpm build, for -# more complete code coverage. -../autogen.sh --prefix=3D"$AUTOBUILD_INSTALL_ROOT" \ - --enable-expensive-tests \ - --enable-test-coverage \ - --disable-nls \ - --enable-werror \ - --enable-static - -# If the MAKEFLAGS envvar does not yet include a -j option, -# add -jN where N depends on the number of processors. -case $MAKEFLAGS in - *-j*) ;; - *) n=3D$(getconf _NPROCESSORS_ONLN 2> /dev/null) - test "$n" -gt 0 || n=3D1 - n=3D$(expr $n + 1) - MAKEFLAGS=3D"$MAKEFLAGS -j$n" - export MAKEFLAGS - ;; -esac - -make -make install - -# set -o pipefail is a bashism; this use of exec is the POSIX alternative -exec 3>&1 -st=3D$( - exec 4>&1 >&3 - { make check syntax-check 2>&1 3>&- 4>&-; echo $? >&4; } | tee "$RESULTS" -) -exec 3>&- -test "$st" =3D 0 -test -x /usr/bin/lcov && make cov - -rm -f *.tar.xz -make dist - -if test -n "$AUTOBUILD_COUNTER" ; then - EXTRA_RELEASE=3D".auto$AUTOBUILD_COUNTER" -else - NOW=3D`date +"%s"` - EXTRA_RELEASE=3D".$USER$NOW" -fi - -if test -f /usr/bin/rpmbuild ; then - rpmbuild $nodeps \ - --define "extra_release $EXTRA_RELEASE" \ - --define "_sourcedir `pwd`" \ - -ba --clean libvirt.spec -fi - -# Test mingw32 cross-compile -if test -x /usr/bin/i686-w64-mingw32-gcc ; then - make distclean - - PKG_CONFIG_LIBDIR=3D"/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig:= /usr/i686-w64-mingw32/sys-root/mingw/share/pkgconfig" \ - PKG_CONFIG_PATH=3D"$AUTOBUILD_INSTALL_ROOT/i686-w64-mingw32/sys-root/min= gw/lib/pkgconfig" \ - CC=3D"i686-w64-mingw32-gcc" \ - ../configure \ - --build=3D$(uname -m)-w64-linux \ - --host=3Di686-w64-mingw32 \ - --prefix=3D"$AUTOBUILD_INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw" \ - --enable-expensive-tests \ - --enable-werror - - make - make install - -fi - -# Test mingw64 cross-compile -if test -x /usr/bin/x86_64-w64-mingw32-gcc ; then - make distclean - - PKG_CONFIG_LIBDIR=3D"/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfi= g:/usr/x86_64-w64-mingw32/sys-root/mingw/share/pkgconfig" \ - PKG_CONFIG_PATH=3D"$AUTOBUILD_INSTALL_ROOT/x86_64-w64-mingw32/sys-root/m= ingw/lib/pkgconfig" \ - CC=3D"x86_64-w64-mingw32-gcc" \ - ../configure \ - --build=3D$(uname -m)-w64-linux \ - --host=3Dx86_64-w64-mingw32 \ - --prefix=3D"$AUTOBUILD_INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw"= \ - --enable-expensive-tests \ - --enable-werror - - make - make install - -fi - - -if test -x /usr/bin/i686-w64-mingw32-gcc && test -x /usr/bin/x86_64-w64-mi= ngw32-gcc ; then - if test -f /usr/bin/rpmbuild ; then - rpmbuild $nodeps \ - --define "extra_release $EXTRA_RELEASE" \ - --define "_sourcedir `pwd`" \ - -ba --clean mingw-libvirt.spec - fi -fi --=20 2.7.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list