Skip to content

Commit fb38035

Browse files
author
Joe Petviashvili
committed
fix #193
1 parent 7beb5ad commit fb38035

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

deps/build.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
global const af_lib = is_unix() ? "libaf" : "af"
2+
3+
try
4+
Libdl.dlopen(af_lib)
5+
catch
6+
warn("ArrayFire library not loaded:
7+
either download a binary from the official site http://arrayfire.com/download
8+
or you can build from source https://github.com/arrayfire/arrayfire")
9+
rethrow()
10+
end

0 commit comments

Comments
 (0)