-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
compilers: Detect Vala compiler for the requested machine #10735
base: master
Are you sure you want to change the base?
Conversation
This seems wrong and the argument in the other PR for why you want to use the build machine is pretty sensible IMO. I'm not sure why you want to revert it, it basically sounds like "but I want to do it wrong"? It basically lacks explanation. ... What's wrong with specifying it in the native file? The PR should explicitly rationalize why you find that to be unsatisfactory, rather than leaving reviewers to try to guess. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #10735 +/- ##
===========================================
- Coverage 70.23% 50.42% -19.82%
===========================================
Files 219 203 -16
Lines 48534 44152 -4382
Branches 11516 9786 -1730
===========================================
- Hits 34090 22264 -11826
- Misses 12009 19887 +7878
+ Partials 2435 2001 -434 ☔ View full report in Codecov by Sentry. |
Oops, indeed. Apologies.
It couples the choice to what's chosen for the build machine, when e.g. I think it would make sense to fall back to using the build machine's selection though, but unconditionally coupling things seems unnecessary. |
Ah okay, so the vapidir is host machine specific. So the issue (and the commit message) is not/should not be:
But rather:
|
I wonder if it's possible to somehow detect this. Probably setting the cross file to |
a9abd9c
to
cb15ef1
Compare
Thanks! Just updated the issue description and commit message. |
Instead of unconditionally detecting it for the build machine. The rationale for making this use the build machine was wrong. The Vala compiler needs search paths for the host machine (specifically, the `--vapidir` default paths). This reverts part of af846a1.
cb15ef1
to
3e2c3f8
Compare
Instead of unconditionally detecting it for the build machine.
The rationale for making this use the build machine was wrong.
The valac transpiler needs search paths for the host machine
(specifically, the
--vapidir
default paths).This reverts part of af846a1.