Skip to content

[TFLite Task Audio] Support 16KB page size alignment for libtask_audio_jni.so #1004

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaikwadrahul8
Copy link

@gaikwadrahul8 gaikwadrahul8 commented Aug 11, 2025

Hi, Team
This PR ensures that the TensorFlow Lite Task Audio native library (libtask_audio_jni.so) is built with 16KB page alignment on Android.

def tflite_pagesize_linkopts():
    return select({
        clean_dep("//tensorflow:android"): [
            "-Wl,-z,max-page-size=16384",
        ],
        "//conditions:default": [],
    })

I would request you to please review this PR, if you've any feedback or suggestion please let me know that will be very helpful. Thank you for your consideration.

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