Skip to content

Commit 7beb5ad

Browse files
author
Gaika
authored
remove stale installation instructions
1 parent 9d2d0fe commit 7beb5ad

File tree

1 file changed

+4
-49
lines changed

1 file changed

+4
-49
lines changed

README.md

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,65 +7,20 @@
77

88
## Installation
99

10-
Julia v0.6:
11-
```julia
12-
Pkg.add("ArrayFire")
13-
Pkg.checkout("ArrayFire")
14-
```
15-
16-
Julia v0.7:
17-
```julia
18-
Pkg.add("ArrayFire")
19-
Pkg.checkout("ArrayFire", "julia-v0.7")
20-
```
21-
22-
### OSX
23-
24-
If you are on OSX, the easiest way to install arrayfire is by using [brew](https://brew.sh/):
25-
```
26-
brew install brewsci/science/arrayfire
27-
```
28-
This would download and install `arrayfire` and link the libraries `libafcpu.so`, and `libafopencl.so` to your `usr/local/lib/` and link `arrayfire.h` to `/usr/local/include`.
10+
Install ArrayFire library: either [download a binary](http://arrayfire.com/download) from the official site, or you can [build from source](https://github.com/arrayfire/arrayfire).
2911

30-
Note that this binary contains libraries only for the CPU (`libafcpu`) and OpenCL backends (`libafopencl`). If you want the CUDA backend, you have to [download a different binary](http://arrayfire.com/login/?redirect_to=http%3A%2F%2Farrayfire.com%2Fdownload), or [build the library from source](https://github.com/arrayfire/arrayfire/wiki/Build-Instructions-for-OSX).
31-
32-
**NOTE**:
33-
* Even if you do download an `arrayfire` binary with the CUDA backend (`libafcuda`), you need to have CUDA installed on your system. If you don't already, [check out these instructions](http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#axzz4Axqo0CMQ) on how to install it on a Mac.
34-
* You have to build from source for any custom configurations too (such as linking to a different BLAS library).
35-
36-
### Linux
37-
On Linux, you can either [download a binary](http://arrayfire.com/login/?redirect_to=http%3A%2F%2Farrayfire.com%2Fdownload) from the official site, or you can [build from source](https://github.com/arrayfire/arrayfire/wiki/Build-Instructions-for-Linux).
38-
39-
Now that you have `arrayfire` installed, make sure `libaf` in your system path or `LD_LIBRARY_PATH`. Note that `libaf` is the library for the unified backend. For more information on the unified backend, refer to the backends section.
40-
41-
Now, start Julia, and do:
12+
In Julia v0.6:
4213
```julia
4314
Pkg.add("ArrayFire")
44-
```
45-
46-
You can also get the latest nightly version of `ArrayFire.jl` by doing:
47-
```julia
4815
Pkg.checkout("ArrayFire")
4916
```
5017

51-
Check if `ArrayFire.jl` works by running the tests:
52-
```julia
53-
Pkg.test("ArrayFire")
54-
```
55-
56-
If you have any issues getting `ArrayFire.jl` to work, please check the Troubleshooting section below. If it still doesn't work, please file an issue.
57-
58-
### Windows
59-
Just download the [installer](http://arrayfire.com/download/) after creating an account.
60-
Follow the installation steps and make sure that you include the library directory into the PATH variable as advised by the installer.
61-
Now try:
18+
In Julia v0.7:
6219
```julia
6320
Pkg.add("ArrayFire")
64-
Pkg.test("ArrayFire")
21+
Pkg.checkout("ArrayFire", "julia-v0.7")
6522
```
6623

67-
Arrayfire requires vcomp120.dll. If you do not have Visual Studio installed, install the [Visual C++ redistributable](https://www.microsoft.com/en-us/download/details.aspx?id=40784).
68-
6924
## Simple Usage
7025
Congratulations, you've now installed `ArrayFire.jl`! Now what can you do?
7126

0 commit comments

Comments
 (0)