Skip to content

Apm release v1.0 - #2

Closed
Dinesh D (ddhanara) wants to merge 4 commits into
mainfrom
apm_release_v1.0
Closed

Apm release v1.0#2
Dinesh D (ddhanara) wants to merge 4 commits into
mainfrom
apm_release_v1.0

Conversation

@ddhanara

Copy link
Copy Markdown

Enable support for Android platform

- Add libacl cc_library target in third_party/acl/BUILD for linux/aarch64
  that links -lacl directly, replacing the external deb package dependency
- Update acl alias to select libacl on linux/aarch64 and Android paths
- Add missing load("@bazel_skylib//lib:selects.bzl", "selects") required
  by selects.config_setting_group usage in the same file

Applies on top of v0.2.7 (cab36dd) for local Android GVM testing.
- score/memory/shared/map.h: guard Boost interprocess Map with
  !defined(__ANDROID__) since Android bionic does not support it
- score/memory/shared/BUILD: add //conditions:default branch to select()
  to prevent unresolved select errors on Android platform
- score/os/BUILD: extend acl deps to include Android platform;
  add shm_android fallback for shm_open/shm_unlink (bionic lacks these);
  make -lpthread conditional on non-Android (bionic includes pthread in libc)
- third_party/acl/android/: Android-compatible ACL stub implementation
- third_party/shm_android/: file-based shm_open/shm_unlink backed by
  /dev/shm tmpfs for Android GVM targets

Required for score_baselibs to build cleanly on Android aarch64 GVM.
btirunagaru pushed a commit that referenced this pull request Jul 15, 2026
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.

2 participants