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

Add Android support #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andreascian
Copy link

This is a simple change that allow cpulimit build on Android, using NDK.
Unfortunately, it works only with API >=22 because older API do not implement bsd_signal symbol.

It can also be build inside AOSP with ease (I tested it with KK4.4.3, which is android-19 but didn't show the bsd_signal error)

The work was done by Emiliano Firmino (elmiliox@gmail.com) in its
project (https://github.com/Miliox/android-cpulimit), I just rework it a
little bit

The previous fails to compile with some gcc versions (e.g. the one from
Android NKD r11c)
Please note that this requires android-22 API because bsd_signal symbol
is defined only version 22 or above.

The work was done by Emiliano Firmino (elmiliox@gmail.com) in its
project (https://github.com/Miliox/android-cpulimit), I just rework it a
little bit
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.

1 participant