Skip to content

Fix scas compiler version #10631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

liufengyun
Copy link
Contributor

Fix scas compiler version

@liufengyun
Copy link
Contributor Author

We already override the compiler globally, it seems to be enough:

https://github.com/lampepfl/dotty/blob/master/community-build/src/scala/dotty/communitybuild/projects.scala#L89

@nicolasstucki
Copy link
Contributor

It seems to have failed the tests

@liufengyun
Copy link
Contributor Author

@anatoliykmetyuk Do you know if the following is necessary for mill (all other mill projects do the same), given that there is already a global override?

-    baseCommand = "scas.application"
+    baseCommand = s"scas.application[$compilerVersion]"

@anatoliykmetyuk
Copy link
Contributor

anatoliykmetyuk commented Dec 4, 2020

What needs to be done is this:

https://github.com/dotty-staging/PPrint/blob/7a668f52cc19addd4f24e41ef11714a8e2b0e405/build.sc#L103-L104

For all mill projects. Then the baseCommand should be as you specified and will work. Mill projects get these envvars via this line.

@liufengyun
Copy link
Contributor Author

The necessary changes are now in #10632

@liufengyun liufengyun closed this Dec 4, 2020
@liufengyun liufengyun deleted the fix-scas branch December 4, 2020 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants