Skip to content

AF_PATH for ArchLinux arrayfire package #118

Closed
@nacardin

Description

@nacardin

Hello,

I am trying to build this crate against the Arrayfire package provided by ArchLinux (https://www.archlinux.org/packages/community/x86_64/arrayfire)

I'm not sure how to set the AF_PATH so that it points to the libs installed by the package. According to the arch package, it looks like it installs the AF libs to /usr/lib, so setting AF_PATH=/usr seems to work. I'm not sure if this the right way to do it.

Ideally, I would like to distribute a rust app which depends on the arrayfire-rust crate but is able to find and load the AF libs from the installed arrayfire package regardless of OS/distro. Is there a recommended way for doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions