Comments (4)
I'll give it a try today. Please shout if you have any concerns about this proposal.
from hadrian.
This sounds intriguing
Under this proposal ghc-stage2 will live in stage1 directory, because it is built by stage1 compiler.
...and where will ghc-stage1
then be located? :-) (and what will be found in /stage2
then?)
/cc @thomie
PS: This would have the effect that for (non-canadian) cross-compilers, the stage0/
folder would countain binaries and object-code runnable on the build-host, while stage1/
would contain binaries and object-code compiled for the target-arch. That appears to be nicely consistent
from hadrian.
...and where will ghc-stage1 then be located? :-)
Well, in /stage0
:-) The bootstrapping compiler is referred to as Ghc Stage0
in the new build system. Does this make sense?
...the stage0/ folder would countain binaries and object-code runnable on the build-host, while stage1/ would contain binaries and object-code compiled for the target-arch. That appears to be nicely consistent
Indeed! That's another bonus I didn't think about.
from hadrian.
I've implemented this and it works smoothly so far: 52ecf6c.
It's possible to rollback to the old naming convention without much difficulty if need be (please reopen the issue in this case).
from hadrian.
Related Issues (20)
- _build/stage0/bin/ghc.exe misses dependency HOT 14
- Rules for rts/rts.cabal are broken HOT 15
- Should Hadrian build ghctags and haddock in Stage1? HOT 3
- Documentation broken HOT 2
- Custom build root does not work on Windows HOT 2
- Symlink traversing logic in build scripts HOT 25
- GHC testsuite rules status HOT 25
- Reduce the number of times a Cabal file is parsed HOT 13
- Improve documentation of predicates
- Build more variants of profiled runtime systems (normal, threaded, debug, threaded debug, ...) ? HOT 8
- Consider using Azure for CI HOT 1
- testsuite: support figuring out the list of tests from $PWD HOT 1
- testsuite: add CLI flag for specifying extra options to pass to ghc HOT 1
- rts: buggy handling of non-trivial dynamic flavours of the library HOT 14
- ctrl + c doesn't cancel build on windows HOT 5
- Building on windows is broken. HOT 23
- --integer-simple is broken HOT 40
- Hadrian has been merged into GHC proper HOT 4
- `happy` is not properly auto built in a fresh install HOT 11
- Issue on Trac: 15908 HOT 1
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 hadrian.