You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ib...@apache.org on 2019/01/21 11:04:40 UTC

[incubator-mxnet] branch ib/ci-jl-win updated: check mxnet_home

This is an automated email from the ASF dual-hosted git repository.

iblis pushed a commit to branch ib/ci-jl-win
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/ib/ci-jl-win by this push:
     new dc18f84  check mxnet_home
dc18f84 is described below

commit dc18f846fdb85c23d859ea893f2ff018f1fe39af
Author: Iblis Lin <ib...@hs.ntnu.edu.tw>
AuthorDate: Mon Jan 21 19:04:06 2019 +0800

    check mxnet_home
---
 ci/windows/test_jl07_cpu.ps1 | 5 ++++-
 julia/deps/build.jl          | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ci/windows/test_jl07_cpu.ps1 b/ci/windows/test_jl07_cpu.ps1
index f104ab9..6e08fd1 100644
--- a/ci/windows/test_jl07_cpu.ps1
+++ b/ci/windows/test_jl07_cpu.ps1
@@ -20,7 +20,7 @@
 # set default output encoding to utf8
 $PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
 
-$env:MXNET_HOME = [System.IO.Path]::GetFullPath('.')
+$env:MXNET_HOME = [System.IO.Path]::GetFullPath('.\mxnet_home')
 $env:JULIA_URL = "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7.0-win64.exe"
 $env:JULIA_DEPOT_PATH = [System.IO.Path]::GetFullPath('.\julia-depot')
 
@@ -42,6 +42,9 @@ if (! $?) { Throw ("Error on installing Julia") }
 # use PackageSpec(name = "MXNet", path = "...") if we drop the 0.7 support
 Copy-Item -Path .\julia -Recurse -Destination "$env:JULIA_DEPOT_PATH\dev\MXNet"
 
+# debug
+dir $env:MXNET_HOME
+
 $src='
     using Pkg
     Pkg.develop("MXNet")
diff --git a/julia/deps/build.jl b/julia/deps/build.jl
index 7a37803..9a719be 100644
--- a/julia/deps/build.jl
+++ b/julia/deps/build.jl
@@ -86,7 +86,7 @@ if HAS_CUDA
   if HAS_CUDNN
     @info("Found a CuDNN installation.")
   end
-  @info("CUDA_HOME -> $(get(ENV, "CUDA_HOME", nothing))")
+  @info("CUDA_HOME -> $(get(ENV, "CUDA_HOME", "nothing"))")
 else
   @info("Did not find a CUDA installation, using CPU-only version of MXNet.")
 end