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

Meson: RoboRIO Toolchain Selection #9

Open
mfisher31 opened this issue Feb 9, 2025 · 0 comments
Open

Meson: RoboRIO Toolchain Selection #9

mfisher31 opened this issue Feb 9, 2025 · 0 comments

Comments

@mfisher31
Copy link
Contributor

This could be done with with meson_options.txt to choose the path (or even just be auto detection if a flag is set) to the installed location. Meson has the ability to configure a cross build by using a *.cmake configuration. Thankfully, installing WPIlib provides this + the toolchain itself. This is step one in deploying native LuaJIT to the rio... compile for it. A little work might be needed to also set up include and linker paths.

Specify cmake config in a meson.build
robotpy/mostrobotpy#33 (comment)

As an extra added bonus, doing this gives us a re-usable framework to skip using gradle all together.

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