From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 66452383582E for ; Thu, 1 Jul 2021 11:48:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 66452383582E Received: by mail-pf1-x436.google.com with SMTP id b12so4566378pfv.6 for ; Thu, 01 Jul 2021 04:48:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EWhXflfN8r1vqP80wLtd8w2W5AxdM1sI4hHfWkNZ/Gg=; b=E8jV2oYw8ThYXBoOxWclw99P5UntCd9rjqtqL8FkGLFdBYkG82ULcNdU0uHZorMrK8 pa2jSAZ/zpcCWq1E9gxR1YzzUXi6JLHmRmmn9BzVxUHgFX692VKAnCce6gFMkTW3ZdSu KkoQjcOHGT5fLtbqxyVuU5Ryw8llgRdrYo8awpOERA3MnODUkBn/H5dV4BX4sBXKdpci gwau02kVIq3jzwHYV9gsCEf82G9OkSKCg4+qhabuiBBe++k8CnQzvqnJjHYWMZDFPZ19 Fu7Xznbv6W+xoGGweI+/K8Am/YuSglL1pmR8f8hAvTH8rm4rs6QPiuLUothANbTFaVzD VyxQ== X-Gm-Message-State: AOAM532DnQqeW1wcZTXFou8uB5sRSggh3FdOtabZy5W3i0fYKIhf2pm0 SWhFv+Iyve7wZrE+uaaRgOA6d+7JB7P7XQ== X-Google-Smtp-Source: ABdhPJxnkTNKNwx2S/UN1lzVqGXjNY6qTurEONe6/mqPzWzTn1z9lyGFy02eM976Vg/c91IbulU3dA== X-Received: by 2002:a62:a102:0:b029:2f4:a8e:cc44 with SMTP id b2-20020a62a1020000b02902f40a8ecc44mr41191393pff.38.1625140111448; Thu, 01 Jul 2021 04:48:31 -0700 (PDT) Received: from ?IPv6:2804:7f0:4841:1e6a:d86b:249c:eb1d:ab69? ([2804:7f0:4841:1e6a:d86b:249c:eb1d:ab69]) by smtp.gmail.com with ESMTPSA id q125sm25157482pfb.193.2021.07.01.04.48.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Jul 2021 04:48:31 -0700 (PDT) Subject: Re: [RFC] Proposal for hosting GDB CI builds To: Rainer Orth , Luis Machado via Gdb References: <7bfae273-3887-30c8-dc65-94d5b177db56@linaro.org> From: Luis Machado Message-ID: <0e30f5d9-9f2f-05bd-1d02-30424017c6d7@linaro.org> Date: Thu, 1 Jul 2021 08:48:28 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2021 11:48:34 -0000 Hi Rainer, On 7/1/21 6:40 AM, Rainer Orth wrote: > Hi Luis, > >> Linaro can take care of providing builders and build jobs for ARM. Other >> architectures would be handled by their respective contributors. Those >> contributors can write jobs and plug builders as needed. > > thanks for coming forward with this: this is very welcome, given how > easy it is to miss build failures and other issues especially on > not-so-common targets. > > However, is there any documentation on setting up new builders? I've > never dealt with Jenkins before, and from glimpsing over the docs some > time ago when Jeff Law talked about extending this GCC builders to a > wider range of architectures left me completely at a loss: the whole > thing felt like a total moloch with an incredible range of abilities, > but little to no guidance on how to start. If the GDB CI wants to > extend beyond a Linux-only range of targets, I believe considerable > documentation is necessary to make this happen. I know the feeling. I've been there myself as Jenkins is indeed a very flexible tool. And I don't, by any means, claim to be an expert on dealing with it. Usually what I do is to peak at the documentation and at what others have implemented. Then I work on extending/modifying things to my needs. The GDB build job (currently running for aarch64/armhf/x86_64) I put together is here: https://git.linaro.org/ci/job/configs.git/tree/tcwg-gdb.yaml But I expect we will have to adjust this to make it a bit more generic so other architectures can use it. > > Besides, I seem to have glimpsed from the Linaro instance that the > builders use Docker. Is this a requirement or just a convenience? I'm > asking because there's no current Docker port to Solaris (there used to > be one based on zones, but it's no longer maintained) and the > buildbot-based builders I'm running (for both LLVM and GDB) do fine > without. That is a convenience so we can share hardware resources. It is possible to use real hardware to run the jobs. One may need to adjust the configurations a bit (distro, packages etc), but a job can automate some of that. Details about distros to use and packages to install still need to be investigated/discussed. > > Thanks. > Rainer >