Add an ArrayFire conanfile.py that pulls from the linux binary installer#2875
Merged
9prady9 merged 2 commits intoarrayfire:masterfrom May 6, 2020
Merged
Add an ArrayFire conanfile.py that pulls from the linux binary installer#28759prady9 merged 2 commits intoarrayfire:masterfrom
9prady9 merged 2 commits intoarrayfire:masterfrom
Conversation
eb8c326 to
ce0d9e5
Compare
9prady9
reviewed
May 6, 2020
Member
|
arrayfire build especially for CUDA backend for all computes takes significant time, I wonder if conan allows/handles such huge build times while building a package from source. Let's say we do provide such facility, I have question, let's say someone wants to use araryfire conan package, could they potentially build cuda backend for a specific compute on their development device ? I am not sure how much of benefit that would provide 🤔 Idea to add to conan-community sounds good to me. |
9prady9
reviewed
May 6, 2020
jacobkahn
added a commit
to jacobkahn/flashlight
that referenced
this pull request
May 6, 2020
Summary: Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Differential Revision: D21425652 fbshipit-source-id: ec30de11eac4864fa42195de922bd3b8cd654cf9
9prady9
reviewed
May 6, 2020
9prady9
approved these changes
May 6, 2020
umar456
pushed a commit
to umar456/arrayfire
that referenced
this pull request
Jun 27, 2020
…ler (arrayfire#2875) * Add an ArrayFire conanfile.py that pulls from the linux binary installer * Make backends and graphics opt-in/out, use variables for lib versioning
9prady9
pushed a commit
that referenced
this pull request
Jun 27, 2020
…ler (#2875) * Add an ArrayFire conanfile.py that pulls from the linux binary installer * Make backends and graphics opt-in/out, use variables for lib versioning
jacobkahn
added a commit
to jacobkahn/flashlight
that referenced
this pull request
Jul 5, 2020
Summary: Pull Request resolved: flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: b70e869c87e2ad582424c6a8288c29ca05ffdae8
jacobkahn
added a commit
to jacobkahn/flashlight
that referenced
this pull request
Jul 7, 2020
Summary: Pull Request resolved: flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 945cda8baffe2e595f71901133d72208d8388d96
facebook-github-bot
pushed a commit
to flashlight/flashlight
that referenced
this pull request
Jul 7, 2020
Summary: Pull Request resolved: #119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
facebook-github-bot
pushed a commit
to flashlight/flashlight
that referenced
this pull request
Jul 7, 2020
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 25, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 27, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 27, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 27, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/text
that referenced
this pull request
Mar 27, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/sequence
that referenced
this pull request
Oct 13, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/sequence
that referenced
this pull request
Oct 13, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/sequence
that referenced
this pull request
Oct 13, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/sequence
that referenced
this pull request
Oct 13, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
jacobkahn
added a commit
to flashlight/sequence
that referenced
this pull request
Oct 13, 2022
Summary: Pull Request resolved: flashlight/flashlight#119 Needed changes to CMake files to support a flashlight Conan package. Support adding `CONAN_PKG::[package]` where needed. Conan pulls in ArrayFire (see arrayfire/arrayfire#2875, in progress) along with OpenMPI, Cereal, and Google Test, so conditionally find/pull in those deps based on if those Conan package imported targets exist. Reviewed By: vineelpratap Differential Revision: D21425652 fbshipit-source-id: 4d13b5bcb7f5420527214c2f4ca5deda034d0da5
jacobkahn
added a commit
to flashlight/sequence
that referenced
this pull request
Oct 13, 2022
Summary: Adds Conan support on flashlight. This is on the heels of Conan support for ArrayFire (arrayfire/arrayfire#2875). Note that that PR doesn't need to land for this to be viable, since I'll be uploading the ArrayFire package to the `conan-community` remote one of these days I'll also add `flashlight/0.1` to the [`conan-community` remote](https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-community) eventually as well. Note that only the CUDA backend is supported right now (the AF binary installer provides non-CUDA-RT CUDA libraries) -- MKL-DNN has no Conan support Build is also Linux-based only for now. The AF binary installer used is for Linux. Reviewed By: andresy, vineelpratap Differential Revision: D21427691 fbshipit-source-id: e85f6911b3e3340db339fae5520112a1d2b2af09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Conan is a C++ package manager with a large ecosystem and several projects that have dependencies on CUDA/OpenCL (e.g. OpenCV).
This Conan configuration is minimal and only pulls from the Linux binary installer. I've tested it with other downstream projects (e.g. flashlight), and it works. The installer as it stands is backend agnostic since it installs all libraries in the binary installer (except for
debuglibraries). One could eventually add a version that builds from source (and is thus eligible for all of the configuration options that Conan provides), but the Linux installer is already quite generic/has many of these things already.I'll also be adding the package provided by this installer to the
conan-communityremote which has packages which are still experimental/being improved. We can easily push breaking changes to those at any point.(I've added myself as author of the package config for now -- we should change that to be an appropriate author/a generic AF point of contact)