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

installing required library headers #21

Open
tjallingt opened this issue Jul 4, 2024 · 1 comment · May be fixed by #23
Open

installing required library headers #21

tjallingt opened this issue Jul 4, 2024 · 1 comment · May be fixed by #23
Labels
C-enhancement Category: A new feature or an improvement for an existing one C-question Category: A question

Comments

@tjallingt
Copy link

I want to compile an SLint application for aarch64-unknown-linux-gnu and it needs some library headers to be available.
Would it be possible to install these? if so how?

Using https://github.com/cross-rs/cross it is possible to add apt-get update && apt-get --assume-yes install libgbm-dev:$CROSS_DEB_ARCH libxkbcommon-dev:$CROSS_DEB_ARCH libinput-dev:$CROSS_DEB_ARCH libudev-dev:$CROSS_DEB_ARCH to the pre-build.

Using this action could it be done by just running apt-get update && apt-get --assume-yes install libgbm-dev libxkbcommon-dev libinput-dev libudev-dev?

@taiki-e
Copy link
Owner

taiki-e commented Jul 19, 2024

Using this action could it be done by just running apt-get update && apt-get --assume-yes install libgbm-dev libxkbcommon-dev libinput-dev libudev-dev?

No.

In environments that use regular mirrors (e.g., in containers), (sudo) dpkg --add-architecture arm64 + (sudo) apt-get update + (sudo) apt-get install -y <package>:arm64 should work.

However, GitHub-hosted runners uses Microsoft's special mirrors and may require additional operations before apt-get update.

I'm fine with adding an option like packages: <package>,... to do them on this action side.

@taiki-e taiki-e added C-enhancement Category: A new feature or an improvement for an existing one C-question Category: A question labels Jul 19, 2024
@tjallingt tjallingt linked a pull request Aug 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: A new feature or an improvement for an existing one C-question Category: A question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants