From nobody Wed Feb 14 11:46:56 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TZbyh4pdBz59Zxr for ; Wed, 14 Feb 2024 11:47:08 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZbyh4KgDz4TZl for ; Wed, 14 Feb 2024 11:47:08 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707911228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EXFmgQeO2AJPyjHTbpFsOUpi3CcV5aJOlapJF18w6T8=; b=HiIKhX8DzfCmdo2gayBz24h6Yt3b8DfNNzznW0lpbrajLwKnyRclGLnz2NmRwrf53gUd/0 0loenpt3adZuqn75p+7U3tl9KhsmB+BHOlVZOzdtldj/kx2By9RreWpP+IUF86X+ZFkcBr mxun4y/hnrdSQEClr+zxyoBObagF1a0fJWMGgqYs3Xp4xnXp8aW1/S521QL/l0eUTgZJMI kejA426l+KNpZjd0P8BxL/IJVCP0gtKxE5iIz0i1Sqispjs+XE/xpLF5lsSUs9x4dBGF5e J+TG1hfDDWNftjSUozhIkHVQNJjm5UvlWxmOhtvZHJqNrondoya4pbflld1kGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707911228; a=rsa-sha256; cv=none; b=oZaiaXyQRyOJIkszdZxKeCWJm632s25HKjzGyZbWoy2sibHwlSj8gufZ/yL33Htka+ygYE CvU1c0UI943zYMjbCqtIDEZvTwf86oGKYxiFQ+X5DukForamtlIFxvlhQ//sbHCHw0qGKp NWzjoTNyUQKxM7Te2PguVSpook4tHjETUuKPXbLT7rB65XNey2QR46Z6X6UDFWsJieYukS sOxQDpByvf0wyy2+f3dqzVutSN+P7JEwfUT9P3pBdXK1E5pzbzFfY5MmjxsJVyOboX+ook CI7jocMPj8vVXQ3FvlYikrUfLx8jf+P0TjFnPJ/bqL4lb848kVh8bRMjtt68rA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707911228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EXFmgQeO2AJPyjHTbpFsOUpi3CcV5aJOlapJF18w6T8=; b=xUSADG/eSkvX90+uR6vpnuSfnSbODUZff/t6MCnPIWyAZLIMB6BaEF87AodwokpMvC55NM c4uQHGtYkLnRUj3vM6c1tmFtMOhnIivBmNKeBJUk6ZiHHbMD0jbjkiczfafKb1YLPnq2Tu W1NMb7aA0q4zBTlwZKkHRhUSC7I2etJlNPbNnE1u2puoHCF8Q65DTFkP9Ui2BU3DM2w24i +keQJfVVZDl/S8IMEBhbQFKcxi7mTRTNxkDIgDrcdP+AcnOp8yYHE+c/+XrOlbgEeAS2Re w0Jm/KIEbbXqYkScQJdWr8RTOMDOfWELZk0UtTllIIrO8na452WzCWRzkbfVow== Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TZbyh3GjMzKf9 for ; Wed, 14 Feb 2024 11:47:08 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f170.google.com with SMTP id d75a77b69052e-42c7c1cb2e9so7849211cf.3 for ; Wed, 14 Feb 2024 03:47:08 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWptFYHmItus4pbLN3SlqQIb2ynw2BmQ9klOl9yjrkZgKvdIxO8dUdIwKARTSKjep1L7i/HUwOUpAHZjeqgHF5tN2MST3X+E72xMhs= X-Gm-Message-State: AOJu0Yyap6U6oK2cNUA72wAJhMstMqFfqoJAuFa21QEG2PiTxE2gPadX 0M1y6NNq/qVTqSG2yVwfXl2GMGRwG+478+2w2/86cxmRMbYZxRY10/UFc3dj8kfdDBxet5TfrT0 +J16hOooBAvKkkTHRExZmxaiOP5Y= X-Google-Smtp-Source: AGHT+IEprrFOy25VoSwJs5yI7dOyYHd6Fozxiz+bfg7fvTrPlrzzi9K3Vqr8b7Ld2vilRYYTYdoshX/fBIJOPU05Bv4= X-Received: by 2002:ac8:1244:0:b0:42d:bf5e:70dd with SMTP id g4-20020ac81244000000b0042dbf5e70ddmr732376qtj.26.1707911227801; Wed, 14 Feb 2024 03:47:07 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com> <71141.1706406125@kaos.jnpr.net> In-Reply-To: <71141.1706406125@kaos.jnpr.net> From: Nuno Teixeira Date: Wed, 14 Feb 2024 11:46:56 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: meta mode To: "Simon J. Gerraty" Cc: void , freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can we say that META is for speeding consecutives builds tracking current/stable and META + DIRDEPS for developing/testing specific parts of base code with speed + debug in mind? Simon J. Gerraty escreveu (domingo, 28/01/2024 =C3=A0(s) = 01:43): > > > I use meta-mode in /etc/src-env.conf so that if (for example) a small > > change in the kernel config is made, the machine doesn't take hours > > recompiling. > > > But, from time to time, one might be required to make > > cleanworld && make cleandir (to be sure) && make clean (to be *really* = sure) > > Almost never (as Warner said). > I have trees that go for years without ever being cleaned. > Unless I'm collecting timing data for clean tree builds. > > If you use DIRDEPS_BUILD as well as META_MODE, there can be cases where > you need the stage tree cleaned (staging is like auto-install to > DESTDIR). The most common case is when a library has switched from > staging its headers from $STAGE_ROOT/$MACHINE/usr/include to > $STAGE_ROOT/common/usr/include (so they only get staged once), if you > don't clean out $STAGE_ROOT/$MACHINE/usr/include, builds will continue to > find headers there that should be found in > $STAGE_ROOT/common/usr/include and thus revert Makefile.depend changes. > We added a mechanism to allow triggering auto-clean of stage tree when su= ch > changes are made. > > --sjg > --=20 Nuno Teixeira FreeBSD Committer (ports)