File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3
3
deps /deps.jl
4
4
deps /downloads
5
5
deps /package
6
+ deps /clBLAS-2.12.0-Linux-x64
Original file line number Diff line number Diff line change @@ -13,23 +13,26 @@ if is_windows()
13
13
provides (
14
14
Binaries, uri,
15
15
libCLBLAS, unpacked_dir = archive,
16
- installed_libpath = libpath , os = :Windows
16
+ installed_libpath = " usr/lib64 " , os = :Windows
17
17
)
18
18
else
19
19
error (" Only 64 bits windows supported with automatic build" )
20
20
end
21
21
end
22
22
23
23
if is_linux ()
24
- provides (AptGet, " libclblas-dev " , libCLBLAS)
24
+
25
25
if Sys. ARCH == :x86_64
26
+ push! (BinDeps. defaults, Binaries)
26
27
uri = URI (baseurl * " Linux-x64.tar.gz" )
28
+ basedir = joinpath (dirname (@__FILE__ ), " clBLAS-2.12.0-Linux-x64" )
27
29
provides (
28
30
Binaries, uri,
29
- libCLBLAS, unpacked_dir = archive ,
30
- installed_libpath = libpath , os = :Linux
31
+ libCLBLAS, unpacked_dir = basedir ,
32
+ installed_libpath = joinpath (basedir, " lib64 " ) , os = :Linux
31
33
)
32
34
end
35
+ provides (AptGet, " libclblas-dev" , libCLBLAS)
33
36
end
34
37
if is_apple ()
35
38
error ("""
You can’t perform that action at this time.
0 commit comments