Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2334148ybi; Thu, 20 Jun 2019 13:13:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcyrICnLyHZR3Qz1UqRqjmN0/7hfCiiGiDjhn9OiPR06U2SjS7aCsCzYl8Zaj1vcGsdkjU X-Received: by 2002:a17:902:ac1:: with SMTP id 59mr49220626plp.168.1561061633405; Thu, 20 Jun 2019 13:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561061633; cv=none; d=google.com; s=arc-20160816; b=iUkZ+sIFP2FJydBDckSZrmeKNuAP7i0DjbirayMWd4ODbdiwxxo1fExDfA2afJCsFX 9EfmOGl3sbwhpl8fOrgOIAi0kqBQMgNmPVkMuAcRbt4Dvyag35oVlNTwjaxohYToiuja Wkfg7heFFBHpGeKM9keZ1bq2A6Hbls5jl3ZaW2vlNmUepGeTWJtJJMqpmafx3L8qW1aU fEBwejulRfpzfzy18iFTwY4P35qG0GCmOR5YFZKJyGhoLXYzFvqrh/KdsXIVISZQuKDE Hdjb5GKWJGlHVjyNk/lIUgpdm8qSF7axJj/oX/8yIp3nJrJ9FQPWf39ZrdDjLTLqcyFV gLxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1icci/FsKBkA+YdqOQYL2S4BNlawV+2fYSo6CDrDd30=; b=fc5Hi9Y7kA3trns04pBSODaFDagDl/J4EKtAE3sK0plnGlOBoUvMwyO+5vuPlJ6W0v JKio9gVQ71b7cSDRPKA39RNgdmhKhvwJqy5NNNUwjTU1EH/LnhfQBp80h9MYR4gMONJm xzNNHHaRtB8MYq5MFXo05jLcQEHcrYY902G7hM6kOzgta/VHS4BIyPo52o2I5LXMm9lo AMQpxJBbJo5TFlFdNVEXe6WyDIXOxFQQKCGT8rEB1Qkei6ZoGTc2pb+AVl+37Dxffv8L 31i/HUMoNAoAiZcmuA7mDPbDtXOsXjj64VcLQ6DR++H/4uZV9lnmwyJDEDuRkeHPtPWW t7CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=OFzTjUo6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si614428pln.70.2019.06.20.13.13.37; Thu, 20 Jun 2019 13:13:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=OFzTjUo6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbfFTUN0 (ORCPT + 99 others); Thu, 20 Jun 2019 16:13:26 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:36098 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725907AbfFTUN0 (ORCPT ); Thu, 20 Jun 2019 16:13:26 -0400 Received: by mail-io1-f65.google.com with SMTP id h6so1093238ioh.3 for ; Thu, 20 Jun 2019 13:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1icci/FsKBkA+YdqOQYL2S4BNlawV+2fYSo6CDrDd30=; b=OFzTjUo6dM5S4TV8R6STTtXuVSs45v8xQQEev2XuL3pcVD1YpdD/JMoJqp54BN6TSR OfknnbirwIqLRmAdWF2FEFm7F5eOS17C0VbPa1w/MEoWHTf0kgiv4qMAeuEn7rrJL3Pa 8Tg2FjOBYeInzzjePv82w96YiKDFmdOV2pl70Yds80E9IKrb9aW5q9a6tcp1dAlrrIdP ygVOxXS4DM2DFX2VVKjVgNmUA9nSdTTpyQ0L+kiuE/WOv/LU99b6L+7Ml/EbK/b7lE0b LaezwiXe75eA+j80W8tXrC+KmBO1u6vE6DCuCk6EAyk8NjdKHX1UsvvLLMBJSQvDl2Zw 3K7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1icci/FsKBkA+YdqOQYL2S4BNlawV+2fYSo6CDrDd30=; b=g0TY9lzE9LnxFGN+3wrLgWKgborNxwPJNaiXEeSTdKYow3XSnsMnbk/9eHWN7TNWBa nzrMNUiKkZvH9c5oW7BTzAsS+mqxam/86p32c97G+s7/XRXV+XqCkmVpIHcEMQEFw1Et 6ZFJZWm7lbC6pfXa0uQzibVNfERj6ixkh11zcvSC8aiG5TiXTBZmOcPBBg2Lwgh1J9Qq YJGzI6M6mstho2vPIoRAOT+zp+2IPiw1pmD559k7ermBaZP2YNPIUp2HYKq7S5cwypG+ thlE+Cx2Ddwfdc/2duqaQwp0gjKZqlgOfI6XUWcarDJMR+MJQkV85rHfGJ1/DoKOy6GO 6eig== X-Gm-Message-State: APjAAAUcg+c0mzIBsHQyAGD05o28+tG75RYR1rb4UFGlfCabHkaFpPNb G72vYPQM27Nno05ZQUw+ORHOr/x3b1ZCIHUC5QMhGw== X-Received: by 2002:a5d:96d8:: with SMTP id r24mr32836485iol.269.1561061605185; Thu, 20 Jun 2019 13:13:25 -0700 (PDT) MIME-Version: 1.0 References: <20190620184523.155756-1-mka@chromium.org> In-Reply-To: From: Doug Anderson Date: Thu, 20 Jun 2019 13:13:12 -0700 Message-ID: Subject: Re: [PATCH] gen_compile_command: Add support for separate KBUILD_OUTPUT directory To: Nick Desaulniers Cc: Matthias Kaehlcke , Tom Roeder , Masahiro Yamada , LKML , Raul E Rangel , Tom Hughes , Ryan Case , Yu Liu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Jun 20, 2019 at 12:53 PM Nick Desaulniers wrote: > > I do miss Doug's Kbuild caching patches' speedup. You actually get quite a bit of this by grabbing a new version of ccache (assuming you use ccache). :-P You still have to pay the penalty (twice) for all the options that are tested that the compiler _doesn't_ support, but at least you get the cache for the commands that the compiler does support. Specifically, make sure you have a ccache with: * https://github.com/ccache/ccache/pull/365 * https://github.com/ccache/ccache/pull/370 I still have it in my thoughts to avoid the penalty for options that the compiler doesn't support but haven't had time to work on it recently. -Doug