You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change setup.py to optionally build binaries in source distribution (#245)
* adds initial skbuild configuration load from local lib directory loads local binaries if they are available
* remove git from toml dependencies
* additional cmake args in setup.py
* add description format for pypi
* directory corrections for skbuild
* load local nvrtc-builtins when possible
* make mkl libs static for distribution
* Update README to include information about wheels
* remove extra import platform
Co-authored-by: pradeep <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -25,30 +25,29 @@ def calc_pi_device(samples):
25
25
26
26
Choosing a particular backend can be done using `af.set_backend(name)` where name is either "_cuda_", "_opencl_", or "_cpu_". The default device is chosen in the same order of preference.
27
27
28
-
## Requirements
29
-
30
-
Currently, this project is tested only on Linux and OSX. You also need to have the ArrayFire C/C++ library installed on your machine. You can get it from the following sources.
28
+
## Getting started
29
+
ArrayFire can be installed from a variety of sources. [Pre-built wheels](https://repo.arrayfire.com/python/wheels/3.8.0/) are available for a number of systems and toolkits. Wheels for some systems are available on PyPI. Unsupported systems will require separate installation of the ArrayFire C/C++ libraries and only the python wrapper will be installed in that case.
30
+
You can get the ArrayFire C/C++ library from the following sources:
31
31
32
32
-[Download and install binaries](https://arrayfire.com/download)
33
33
-[Build and install from source](https://github.com/arrayfire/arrayfire)
34
34
35
-
Please check the following links for dependencies.
Rather than installing and building ArrayFire elsewhere in the system, you can also build directly through python by first setting the `AF_BUILD_LOCAL_LIBS=1` environment variable. Additional setup will be required to build ArrayFire, including satisfying dependencies and further CMake configuration. Details on how to pass additional arguments to the build systems can be found in the [scikit-build documentation.](https://scikit-build.readthedocs.io/en/latest/)
60
60
61
61
**Post Installation:**
62
62
63
-
Please follow [these instructions](https://github.com/arrayfire/arrayfire-python/wiki) to ensure the arrayfire-python can find the arrayfire libraries.
63
+
If you are not using one of the pre-built wheels, you may need to ensure arrayfire-python can find the installed arrayfire libraries. Please follow [these instructions](https://github.com/arrayfire/arrayfire-python/wiki) to ensure that arrayfire-python can find the arrayfire libraries.
64
64
65
65
To run arrayfire tests, you can run the following command from command line.
0 commit comments