From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7340634974758895616 X-Forwarded-Encrypted: i=2; AJvYcCW+20K42QOb1Rv7+pxqR8264JGPcfErH5muKsKZ5GYjKqK0Fbhb441Et3Ni94JladUVQ1IXojehabo7z491FBVMCBMlTaZWq8Oiz5g= X-Received: by 2002:a05:600c:304b:b0:412:b0e3:88d2 with SMTP id n11-20020a05600c304b00b00412b0e388d2mr1273752wmh.22.1709194461050; Thu, 29 Feb 2024 00:14:21 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:1d81:b0:33d:d932:8004 with SMTP id bk1-20020a0560001d8100b0033dd9328004ls172255wrb.1.-pod-prod-07-eu; Thu, 29 Feb 2024 00:14:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVjZmXkCArEVwC04Il29Oa4WNQPJTtneAIqunSoE0SdN/8q2/IcQiRKCxOlmaro459XKFbPqazdKtIhMsEitgzcYKnkPngBEXs+46Q= X-Google-Smtp-Source: AGHT+IGx/D22a6ICyEZMs+br/S9q968NEXiwpK0nRFEZ7IAg0qDKNl8d/rtsyDhLAb+TfKKl9AsJ X-Received: by 2002:a5d:4581:0:b0:33d:bb65:806d with SMTP id p1-20020a5d4581000000b0033dbb65806dmr857757wrq.50.1709194458889; Thu, 29 Feb 2024 00:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709194458; cv=none; d=google.com; s=arc-20160816; b=gas0/ewc0Cdv8EYR1Sexa/MT/0r5hN7bws9gkBaI3Cv0Of+O9Dhpjhl42R0IdOOddI b7461oocAWAqH5B3wHg6WytVUykUR3Yq0JaPHW/KRxNsggdzpUOyZAVhUYdCuL/0vQYA nXc4hb2j0e5RXIC8NB6Wv2Ts9juFA49z4C2aYRebNm8zHNVcRc9hvlqJFPU9fFvzfFD8 ODzwHvEypI3DPpa+INF8or3fI+oujWdzLElOn0ZiTXKsWlOPFTDJaksYPoIwWRjQTLgB B4edxuzy4SE/xFOoif09Qh/5uP25gJKwIoz7plmhhU78Jaq3VVZ74MtjUTkyDgKGLtLK P3Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=rsuY5DfhOQ1X4kII7c5kNAYMy8u+zxK23jI3tS4VE8E=; fh=ESeThplgfMD2KEzQeqPEr2AqC+IYE+IuEF9/XQ1L2NQ=; b=a+BEMVlZAWXGMjU+vbG98bkNAw8HvHfVzLOmJ9r4gH1tLI/at9jWw4JIIXEIvA1vvt LRKFAFL7hOHRlUMc2bN5FQkINM8l3mlCLNpFcMae4JHnH0q3N8LYY95e7GhkjesAJ8TK dlZPa1P/Ck9XtCDb0HghJ8RE1/UxXuhi7kwrCNEdla3o7iLBflyhUhtl0hSEwtSHJ/BG owDPb52ySXcjPVSZtjGrBuDrAN0CPhcVnFdnlWcktWDV5jlNoENHy4slA6N4ZsWolXLq RGfS83VwOO0ufjQkiBlrCfK1mjHhBxKpawttERgPAVeKRBNc2hpNWgjHZm0Zga64j3ky O5Uw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id s14-20020a5d6a8e000000b0033d67b701c9si53196wru.8.2024.02.29.00.14.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Feb 2024 00:14:18 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 41T8EGoX008911 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Feb 2024 09:14:17 +0100 Message-ID: <046e9d21b3dea3055e27581db11e932172cdc904.camel@ilbers.de> Subject: Re: limit PARALLEL_MAKE From: Uladzimir Bely To: "Schultschik, Sven" , "isar-users@googlegroups.com" Date: Thu, 29 Feb 2024 11:14:16 +0300 In-Reply-To: <0ffc2ce05f64d20599170b31799ef54eafe8862c.camel@siemens.com> References: <695d3bfb2d0b832aeb59068fc1a1fb0a63fb6aaf.camel@siemens.com> <99b2d6eb6581506ce094de7efedd418b346fd782.camel@ilbers.de> <0ffc2ce05f64d20599170b31799ef54eafe8862c.camel@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: uX8M+8s63Xrc On Wed, 2024-02-28 at 18:05 +0000, Schultschik, Sven wrote: > On Wed, 2024-02-28 at 15:57 +0300, Uladzimir Bely wrote: > > On Wed, 2024-02-28 at 12:52 +0000, 'Schultschik, Sven' via isar- > > users > > wrote: > > > Hi, > > >=20 > > > I found a bug in the fTPM build that it has a bug if more than 16 > > > cores > > > are available. On a machine with 20 cors the my build faild > > > constantly. > > > Limit hardcoded the ftpm build to -j 16 fixed the issue. > > >=20 > > > Is there a correct ISAR way to limit $(PARALLEL_MAKE) to max 16? > > >=20 > > > Or do I have to write me an own if (nproc > 16) -j 16 variable? > > >=20 > > > Thanks > > >=20 > > > Sven > > >=20 > >=20 > > Hello. > >=20 > > Just export it before the build: > > ``` > > export PARALLEL_MAKE=3D"-j 10" > > ``` > >=20 > > It should work both with build using kas-container and ordinary > > build. >=20 > Hi >=20 > sure that would work, but I wanted to just limit for that one recipe > and not for the complete build. >=20 > So it can be included directly into the recipe and be used by others. Hello ``` PARALLEL_MAKE =3D "-j 10" ``` Adding this to the recipe also works.