From patchwork Sat Jan 27 22:50:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866785 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89711-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Gsc6lgg9"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTWGd6jxtz9sP9 for ; Sun, 28 Jan 2018 09:51:21 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=XU8jRH5SN+AzGdXqvT1qTuo2BvLq5HN WLJIOauW6xrhmA5BaTeyjuhyS8wDwuAcJ5hIMGHxhIHHiO8YF9SGxPR04vcTRgpI JALf5UfeVvQHNvuwgZHkbVpw1P1Zi3zK4wou7Kyt6ccT7Yao4E0WjbbajXuyjagZ cfepwZNuwO48= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=yEUfVjCrg6ObZ3XQe4dMlnRoip4=; b=Gsc6l gg9B+wo2IwY6cpWXNHLjR0Gt1yJ7KroAb2BNN4VepsMv3W76ZsrXdUUwBsm5cSzW gFZy/NYIz4gRvV9pGECMUTqFaYCR14ffg/3jbmMx1eRBkVBMS3qOYCF3Qa2Grx5y 5MlvRU4S04vu8+HLgokNGx4wzppsEI1nZ4l/KU= Received: (qmail 4137 invoked by alias); 27 Jan 2018 22:51:08 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 4059 invoked by uid 89); 27 Jan 2018 22:51:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=Hx-languages-length:1810 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd, commited 3/7] hurd: make build-many-glibcs.py use mainline mig Date: Sat, 27 Jan 2018 23:50:58 +0100 Message-Id: <20180127225102.11373-4-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127225102.11373-1-samuel.thibault@ens-lyon.org> References: <20180127225102.11373-1-samuel.thibault@ens-lyon.org> Some warnings come from code generated by mig, so we need a very recent version for now. * scripts/build-many-glibcs.py (checkout_vcs): Add mig repository URL, and run autoreconf, make it the default for now. --- ChangeLog | 2 ++ scripts/build-many-glibcs.py | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7d7800dbb1..9582d8cfed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,8 @@ timer_ptr2id to cast struct timer_node * to void *. * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass --disable-libcilkrts to gcc configure. + (checkout_vcs): Add mig repository URL, and run autoreconf, make it the + default for now. * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c. * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0. diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index fbb701e25d..d7adcc8022 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -704,7 +704,7 @@ class Context(object): 'linux': '4.14', 'mpc': '1.1.0', 'mpfr': '4.0.0', - 'mig': '1.8', + 'mig': 'vcs-mainline', 'gnumach': '1.8', 'hurd': 'vcs-mainline'} use_versions = {} @@ -786,6 +786,13 @@ class Context(object): r = self.git_checkout(component, git_url, git_branch, update) self.fix_glibc_timestamps() return r + elif component == 'mig': + git_url = 'git://git.savannah.gnu.org/hurd/mig.git' + git_branch = 'master' + r = self.git_checkout(component, git_url, git_branch, update) + subprocess.run(['autoreconf', '-i'], + cwd=self.component_srcdir(component), check=True) + return r elif component == 'hurd': git_url = 'git://git.savannah.gnu.org/hurd/hurd.git' git_branch = 'master'