Skip to content

Commit

Permalink
build: prevent CUDA_HOME KeyError (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
iblislin committed Nov 13, 2017
1 parent e083e5f commit 09b9718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if HAS_CUDA
if HAS_CUDNN
info("Found a CuDNN installation.")
end
info("CUDA_HOME -> $(ENV["CUDA_HOME"])")
info("CUDA_HOME -> $(get(ENV, "CUDA_HOME", nothing))")
else
info("Did not find a CUDA installation, using CPU-only version of MXNet.")
end
Expand Down

0 comments on commit 09b9718

Please sign in to comment.