Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'anyway.': 0.05; 'failing': 0.07; 'linux,': 0.07; 'assuming': 0.09; 'executable': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'partly': 0.16; 'python".': 0.16; 'rebuild': 0.16; 'rerunning': 0.16; 'seconds,': 0.16; "test'": 0.16; 'wrote:': 0.18; 'module': 0.19; 'normally': 0.19; 'typing': 0.19; 'thanks.': 0.20; 'cc:addr:python.org': 0.22; 'fraction': 0.24; 'cc:2**0': 0.24; 'source': 0.25; '15,': 0.26; 'changes,': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'usually': 0.31; '(although': 0.31; 'once,': 0.31; 'second,': 0.31; "they'll": 0.31; 'file': 0.32; 'quite': 0.32; 'says': 0.33; 'fri,': 0.33; 'anywhere': 0.35; 'received:google.com': 0.35; 'disk': 0.36; 'ram': 0.36; "didn't": 0.36; 'half': 0.37; 'performance': 0.37; 'needed': 0.38; 'changed': 0.39; 'enough': 0.39; 'even': 0.60; 'hope': 0.61; 'took': 0.61; 'range': 0.61; 'times': 0.62; "you'll": 0.62; 'making': 0.63; "'make'": 0.84; '(ie': 0.84; '2015': 0.84; 'upstream': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=E2eFInRiNHCXsnWOpISBkOkls9zuj4L5LhQSVtJEYrE=; b=JqTBUfbbudESbbT1HhzaFK4Ifors+wcmvjQxvenvwsRycSynaKj/IP7XRe/hhyZBr1 eu8ccjL+Jg/ETLGhCBtigy8sLK79RuG0rOIOCgSZyVHd2Iq2Ru2d3McAv/Q1+2L4vVoH x6yoKFUFvS3k1FV90Z7b5BzsgwyH0oOOxogVFY3BxhsSzOkbfLrYeagT1XsS/nD34J45 vymMZMdHATMOWaxHQnyo/RQimoJ0x/bl3Vq6c3evSR0eHw51Ce0bIOj4siXy1fhc8hJw wzqIIFUKRkR+aGAL/GN8pcY31M0XeUttEN7qgTvSCKPhG4K4tTrLodGPRVw6csY+z7gM tE5A== MIME-Version: 1.0 X-Received: by 10.107.16.32 with SMTP id y32mr6774260ioi.53.1431625509456; Thu, 14 May 2015 10:45:09 -0700 (PDT) In-Reply-To: References: <7JN4x.37133$Q41.15375@fx25.am4> <6w35x.645690$I97.19867@fx31.am4> Date: Fri, 15 May 2015 03:45:09 +1000 Subject: Re: Building CPython From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431625518 news.xs4all.nl 2908 [2001:888:2000:d::a6]:38616 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90621 On Fri, May 15, 2015 at 3:32 AM, BartC wrote: > OK, thanks. I didn't even know where the executable was put! Now I don't > need 'make install', while 'make test' I won't bother with any more. > > Making a small change and typing 'make' took 5 seconds, which is reasonable > enough (although I had to use the copy of the source in Windows to find > where the main.c file I needed was located). > > Now Python 3.4.3 says "Bart's Python". Haha. I don't usually bother rebranding my builds of things; though that's partly because normally I'm making very few changes, and all in the hope that they'll be accepted upstream anyway. Incidentally, a quick 'make' can range anywhere from a fraction of a second to quite a long time, depending mainly on the speed of your hard drive and the performance of your disk cache. On my Linux, a "null make" (ie when literally nothing has changed - just rerunning make) takes about half a second, and that's dealing with a module that's failing to build. When you rebuild lots of times all at once, you'll pretty much be working in RAM the whole time, assuming you have enough of it available. ChrisA