Skip to content
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

Deprecate and Remove [target_machine] from cross file format #6322

Open
Ericson2314 opened this issue Dec 9, 2019 · 1 comment
Open

Deprecate and Remove [target_machine] from cross file format #6322

Ericson2314 opened this issue Dec 9, 2019 · 1 comment

Comments

@Ericson2314
Copy link
Member

Ericson2314 commented Dec 9, 2019

Meson does nothing itself with the target machine. I think its a bit misleading that it parses it at all when only user-written logic can use it. I've talked in #3972 about having separate host and target files rather than just one cross file. I think it would be best to:

  1. Remove [target_machine]
  2. Rename [host_machine] to [machine]
  3. Add [machine] to native platform for consistency.
  4. Use a separate target file if we ever wish to support target platforms "for real"
@Ericson2314
Copy link
Member Author

Ericson2314 commented Dec 9, 2019

Note how there is PerMachine and PerThreeMachine in mesonlib. With this change, the last use of PerThreeMachine will be become PerMachine so we can just delete that class. Much better!

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

No branches or pull requests

1 participant