GithubHelp home page GithubHelp logo

Building is now very slow? about chezscheme HOT 6 CLOSED

mml avatar mml commented on August 19, 2024
Building is now very slow?

from chezscheme.

Comments (6)

mflatt avatar mflatt commented on August 19, 2024 2

Although ./configure --force is the way I normally work with make re.boot, I agree that tracking should be more automatic. I think it's just a matter of properly recording make re.boot in build.zuo, and I'll work on that.

from chezscheme.

jltaylor-us avatar jltaylor-us commented on August 19, 2024

Configuring for ta6le, and will create boot files via pb

As described in the release notes, the initial build is bootstrapped using a platform-independent "portable boot" virtual machine architecture. This is obviously going to be slower than native code.

from chezscheme.

mml avatar mml commented on August 19, 2024

@jltaylor-us thanks for that pointer. I tried using the re.boot makefile target to speed things up, expecting this would create native bootfiles and let me avoid using the VM. It creates files in boot/ta6le, but then when I run a straight make after that, it still says it's building boot files for ta6le using pb.

% command time -v make -j12 re.boot
[...]
        User time (seconds): 135.22
        System time (seconds): 1.70
        Percent of CPU this job got: 99%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 2:16.96
[...]
% command time -v make -j12
bin/zuo ta6le MAKE="make"
checking boot files for ta6le against pb
pb/bin/pb/scheme is up to date
pb/bin/pb/petite is up to date
building boot files for ta6le using pb
running pb/bin/pb/scheme to build xc-ta6le/s/cmacros.so
[...]

from chezscheme.

jltaylor-us avatar jltaylor-us commented on August 19, 2024

That still seems like a long time to make the re.boot target... is it actually using your existing scheme installation? The instructions in BUILDING mention a --force flag; maybe that would help?

Setting that aside, you're also saying that even after it's built some boot files it doesn't "pick them up" for the next build? I'm not sure what precise workflow you're trying to implement, but it seems like that should be supported. I haven't tried to do anything other than the simplest make targets since the build system was updated to default to the pb machine type, so we might have to tag in @mflatt to tell us what's going wrong here.

from chezscheme.

mml avatar mml commented on August 19, 2024

Ah, OK. When using ./configure --force, things work as expected. Building the boot files still takes >2 minutes, but after that, the build time is much more in keeping with the Chez 9 builds.

% command time -v make -j12
[...]
        User time (seconds): 68.26
        System time (seconds): 3.89
        Percent of CPU this job got: 180%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:39.86
[...]

from chezscheme.

mml avatar mml commented on August 19, 2024

Thanks for the extremely quick response.

from chezscheme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.