Comments (6)
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.
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.
@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.
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.
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.
Thanks for the extremely quick response.
from chezscheme.
Related Issues (20)
- Intermittent crash in `make test` HOT 2
- `makefiles/boot.zuo`'s `main` calls `cross-build-boot` incorrectly HOT 3
- Why is `main.o` installed? HOT 3
- Bug in fixnum arithmetic HOT 1
- bytevector-reference-ref & set! fail to correctly check size of bytevectors smaller than ptr-bytes - 1 HOT 1
- Warnings from GCC `-fanalyzer`
- new RNG is very broken HOT 4
- chezscheme 10 cannot be built from tarball HOT 1
- Non-tail calls to errorf sometimes treated as tail calls with debug-level 2 HOT 5
- weird cond expansion HOT 8
- a few questions regarding packaging chez-scheme HOT 6
- [PATCH] Update user's guide link in README HOT 1
- Bug in V format prefix parameter HOT 1
- native eol style HOT 4
- error: use of unknown builtin '__builtin_add_overflow' HOT 1
- How to cross compile on macOS for a different macOS architecture HOT 3
- Build fails if I set CC_FOR_BUILD HOT 1
- set! creates new bindings HOT 3
- Build/Embed Chez Scheme with larger C/C++ program HOT 3
- Unexpected result using conditional procedure and set! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezscheme.