Skip to content

Commit

Permalink
Merge branch 'master' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Jan 29, 2017
2 parents 0619b55 + 79d80b6 commit e599d51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ if !libmxnet_detected

run(download_cmd(base_url, "mxnet_base.7z"))
run(`7z x mxnet_base.7z -y -ousr`)
run(`usr\\setupenv.cmd`)
run(`cmd /c copy "usr\\3rdparty\\openblas\\bin\\*.dll" "usr\\lib"`)

run(download_cmd(package_url, "mxnet.7z"))
Expand Down
2 changes: 1 addition & 1 deletion src/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typealias char_pp Ptr{char_p}
################################################################################
const MXNET_LIB = Libdl.find_library(["libmxnet.so","libmxnet.dll"],
[joinpath("$(get(ENV,"MXNET_HOME",""))","lib"),
joinpath(Pkg.dir("MXNet"),"deps/usr/lib")])
Pkg.dir("MXNet","deps","usr","lib")])
if isempty(MXNET_LIB)
# touch this file, so that after the user properly build libmxnet, the precompiled
# MXNet.ji will be re-compiled to get MXNET_LIB properly.
Expand Down

0 comments on commit e599d51

Please sign in to comment.