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

Auto-bundle and install all lib deps #28

Open
jacobkahn opened this issue Sep 9, 2022 · 0 comments
Open

Auto-bundle and install all lib deps #28

jacobkahn opened this issue Sep 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jacobkahn
Copy link
Member

Install Flashlight deps to get to truly one-line install — for now, this is just ArrayFire.

Approach would be either:
1a. Bundle ArrayFire libs as standalone for each platform (i.e. libaf* as a platform-specific npm package).
1b. Dynamically download libs at runtime as needed -- can do more distro-specific detections this way (i.e. run uname -a)
2. Hope things work per distro glibc versions — there will be pain here at the beginning, but do the best we can.
3. Resolve LD_LIBRARY_PATH and equivalents to find libs at Bun dlopen/ffi time.

@jacobkahn jacobkahn added the enhancement New feature or request label Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant