Skip to content

Commit 2483433

Browse files
authored
Merge pull request #29 from JuliaGPU/sd/clblas212
prefer clblas 2.12
2 parents a2c3244 + 0375568 commit 2483433

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
deps/deps.jl
44
deps/downloads
55
deps/package
6+
deps/clBLAS-2.12.0-Linux-x64

deps/build.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,26 @@ if is_windows()
1313
provides(
1414
Binaries, uri,
1515
libCLBLAS, unpacked_dir = archive,
16-
installed_libpath = libpath, os = :Windows
16+
installed_libpath = "usr/lib64", os = :Windows
1717
)
1818
else
1919
error("Only 64 bits windows supported with automatic build")
2020
end
2121
end
2222

2323
if is_linux()
24-
provides(AptGet, "libclblas-dev", libCLBLAS)
24+
2525
if Sys.ARCH == :x86_64
26+
push!(BinDeps.defaults, Binaries)
2627
uri = URI(baseurl * "Linux-x64.tar.gz")
28+
basedir = joinpath(dirname(@__FILE__), "clBLAS-2.12.0-Linux-x64")
2729
provides(
2830
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
3133
)
3234
end
35+
provides(AptGet, "libclblas-dev", libCLBLAS)
3336
end
3437
if is_apple()
3538
error("""

0 commit comments

Comments
 (0)