Open cvogt opened 7 years ago
Binaries to be released from project:
So for the bootstrap (COMP
== scalac):
COMP
COMP
depending on (1 and scala-library-2.11.5)Once we snip the cord from scalac and release only bootstrapped versions, then COMP
becomes the previous released compiler.
One thing to note is that currently the dotty compiler does weird things with the classpath that it takes from bootclasspath, i.e. it will currently automatically put its running classpath on the classpath of what is being compiled. This is bad and needs to go away asap.
this merged PR now allows providing a custom Dotty compiler, which is necessary for bootstrapping: https://github.com/cvogt/cbt/pull/333
PR that bootstraps Dotty is open in dotty-staging: https://github.com/lampepfl/dotty/pull/1964
battle testing CBT by bootstrapping Dotty with CBT.
https://github.com/dotty-staging/dotty/blob/topic/restructure-attempt2/project/Build.scala#L213