From nobody Fri Feb 23 21:12:53 2024 X-Original-To: bugs@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 4ThN5K5Qvdz5BWgF for ; Fri, 23 Feb 2024 21:12:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ThN5K152Qz43HR for ; Fri, 23 Feb 2024 21:12:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708722773; a=rsa-sha256; cv=none; b=i5Zc6r5ZjSgxIaxeHjcgcAQ4Nzv2G0CkcBFe7mRwtcNfrIuYvT/ixMqe4DxEFYi4CtLdd3 YDhEWBXMJpiMJ+tweR9swf2qwcfm1nkjZeFQJR/Pyfd8IC4u/uo+vynGLLlKj1lDSxLwZU ryIqOBlki8b8amqTUgXg7yW+QAPWqfFLmGNb3ugIEW1yyWmCH2xpuk9D2C9Ao6xThR7K5I zM8ncORwMDc/tuVf0wWCb/LEehYxDGXKoAnpsDeKw2PwvkZDqbQZsiullc+oBtn6fX77+H QCSK47oAJweqe5EYItID2u9QUktRjfcKIouuT3uksjADQ0mXgTFXAekxLsUlJg== 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=1708722773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lpbNXPpYGQlWkpsORVoG+3IK50qRct4LzCiHxgoRK7g=; b=KR+PlYqR70gnerRHEG6RKSPkvuo4WkgHwk60zj/DLmcojEAp2Q0KGa1PFtD0ikdoFAan0r +rXQ2+IqJJpDLEF6c+8jjStmp55Vh5UvHf+FI4n5WzzoBSGFyzPzZToLwOtBj3hkrFCmNl L0i2ZpYtxl1UUQ5dE4t7Putvv6SJUOt3xWQ5lz6Hnb6ww85EVHO6cYHbGAj4JmtYRmOViD gMvZtgbvLqaBGKs2LxbjINKAolvJU+n7pQxt7yrqK8eZbEzyYQ8LU5+FwzEDPCaw3YR/Aj YWhP/L2OQnztaYeWH6WZFhSJV2Q2/s6hHGP8ntuZhqnbPJi432JxeUPQ9hUFCw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ThN5K08VMzY6p for ; Fri, 23 Feb 2024 21:12:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41NLCqSj086023 for ; Fri, 23 Feb 2024 21:12:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41NLCqts086022 for bugs@FreeBSD.org; Fri, 23 Feb 2024 21:12:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277269] [nanoBSD] setting NANO_PMAKE in defaults.sh renders setting NANO_NCPU in config useless Date: Fri, 23 Feb 2024 21:12:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: embhd@posteo.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277269 Bug ID: 277269 Summary: [nanoBSD] setting NANO_PMAKE in defaults.sh renders setting NANO_NCPU in config useless Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: embhd@posteo.de Created attachment 248702 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248702&action= =3Dedit Patch As of now, the default value of the variable NANO_PMAKE ("Parallel MAKE") as set in the script `default.sh` contains the default value of NANO_NCPU ("Nu= mber of CPUs used"). Thus, if NANO_NCPU is set to a different value in the respective config fil= e, this won't change anything for the actual build, since the value of NANO_PM= AKE is not automatically updated to the configured number of cores - rendering = the variable more or less useless. The proposed solution (c.f. the patch attached) is to eliminate the variable NANO_PMAKE and use the "original" variables NANO_MAKE and NANO_NCPU directl= y, since it only affects two places in `defaults.sh=C2=B4. In addition, the patch adds the missing available options to the output of `nanobsd.sh -h`. --=20 You are receiving this mail because: You are the assignee for the bug.=