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

Vendor & layer paths on Android #236

Open
Jeremy-Kemp opened this issue May 30, 2024 · 0 comments
Open

Vendor & layer paths on Android #236

Jeremy-Kemp opened this issue May 30, 2024 · 0 comments

Comments

@Jeremy-Kemp
Copy link

Currently the common default path for Vendor ICD or layer files is /system/vendor/Khronos/OpenCL/vendors

If Android's Soong build system is used to install ICD and/or layer files on Android (e.g. by using prebuilt_root), a custom directory under /system/vendor cannot be created. As such, it would be beneficial if the common path could be updated for Android to support users leveraging Soong for these files.

/system is also simply a symlink to /vendor so that prefix could be removed at the same time.

An initial suggestion allowing Soong's prebuilt_etc (where subdirectories can be created) rule to be leveraged would be to set the paths to /vendor/etc/opencl/{drivers,layers} either as the default Android path, or as a build option to maintain compatibility with any shipping configurations.

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