From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C9C52138010 for ; Tue, 25 Sep 2012 03:15:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96C1521C20D for ; Tue, 25 Sep 2012 03:15:28 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 1FA1821C01C for ; Tue, 25 Sep 2012 00:35:05 +0000 (UTC) Received: by pbcwz12 with SMTP id wz12so4657709pbc.40 for ; Mon, 24 Sep 2012 17:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=rFrkpCTFJXw7Swsd8LVb5sjYYZH8s8duyS3DvlYDLt0=; b=gh6g3CSRs2YVvcwn91x4hF55eqvE/ca+a5dyLaiZdUBPQhAtkdDbyU26SQhv/xOmKm ZZHwG7rKwePTF+/xcQe+XKRh3WNAIcbXVpTtb9eObNkXc+vH8CkiInnhzV+Q2V3rLTBw twO8zLLuxlM7JOCvfmTibZr4jOn6Fs+Pc062oy23v+VHjk5l+gXpNanieAWXf7UDbUOr dskRaZFdD1ZmggKctYHXfyMFkiCMN/2mTLlmMpxq/sCGUKCdAW0/i48axo1d5L101JWD nDWB+iFggVzdJEHAVT3t0vHnJBwYPL7wTWRudpxghV4QhP3Mptb2XxSMBNAJUegBPSEx YMrQ== Received: by 10.68.83.68 with SMTP id o4mr37490232pby.25.1348533305208; Mon, 24 Sep 2012 17:35:05 -0700 (PDT) Received: from smtp.gmail.com:587 (74-95-192-101-SFBA.hfc.comcastbusiness.net. [74.95.192.101]) by mx.google.com with ESMTPS id h10sm6328394pav.28.2012.09.24.17.35.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Sep 2012 17:35:04 -0700 (PDT) Received: by smtp.gmail.com:587 (sSMTP sendmail emulation); Mon, 24 Sep 2012 17:35:05 -0700 Date: Mon, 24 Sep 2012 17:35:05 -0700 From: Brian Harring To: gentoo-portage-dev@lists.gentoo.org Cc: "Gregory M. Turner" Subject: Re: [gentoo-portage-dev] blech... (multijob/multiprocessing work-around for cygwin) Message-ID: <20120925003505.GP5384@localhost> References: <5060351F.2040002@malth.us> <201209241305.35900.vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209241305.35900.vapier@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: d6c34395-65c3-491f-a78d-e3d9adb54f21 X-Archives-Hash: ee41eda60596db618359b85ae3a86435 On Mon, Sep 24, 2012 at 01:05:35PM -0400, Mike Frysinger wrote: > On Monday 24 September 2012 06:25:35 Gregory M. Turner wrote: > > On cygwin, there is a problem with bi-directional pipe support in bash. > > > > I used to solve this with an ugly reversion in portage and an > > ultra-simple stubbification patch for multiprocessing.eclass (both > > serialized everything). > > > > However, this really sucked for numerous reasons, including the obvious > > one: it makes stuff slow as hell. > > if cygwin sucks, it doesn't get parallel jobs. add stubs to the end of the > file to disable parallel support. > > if is_cygwin ; then > numjobs() { return 1; } > multijob_init() { return 0; } > ...etc... > fi > > interleaving the cygwin logic otherwise makes it unmaintainable Seconded; if cygwin environment sucks for this, just suppress the parallelization for it. Better to be working then not, plus I doubt cygwin users are going to notice a huge diff in performance. :) ~harring