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 05:31:43 UTC
[incubator-mxnet] branch ib/ci-jl-win updated: workaround
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 1a4bbe1 workaround
1a4bbe1 is described below
commit 1a4bbe16d25cb31778fb9e7e9619d0f49807bff7
Author: Iblis Lin <ib...@hs.ntnu.edu.tw>
AuthorDate: Mon Jan 21 13:31:33 2019 +0800
workaround
---
ci/windows/test_jl07_cpu.ps1 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/ci/windows/test_jl07_cpu.ps1 b/ci/windows/test_jl07_cpu.ps1
index 35c1c61..f104ab9 100644
--- a/ci/windows/test_jl07_cpu.ps1
+++ b/ci/windows/test_jl07_cpu.ps1
@@ -36,14 +36,15 @@ if (! $?) { Throw ("Error on downloading Julia Windows binary") }
Start-Process -Wait "julia-binary.exe" -ArgumentList "/S /D=$JULIA_DIR"
if (! $?) { Throw ("Error on installing Julia") }
-C:\julia07\julia\bin\julia -e "using InteractiveUtils; versioninfo()"
+& $JULIA -e "using InteractiveUtils; versioninfo()"
-pwd
-dir # path issue?
+# workaround a bug of Julia 0.7
+# use PackageSpec(name = "MXNet", path = "...") if we drop the 0.7 support
+Copy-Item -Path .\julia -Recurse -Destination "$env:JULIA_DEPOT_PATH\dev\MXNet"
$src='
using Pkg
- Pkg.develop(PackageSpec(name = "MXNet", path = "julia"))
+ Pkg.develop("MXNet")
Pkg.build("MXNet")
Pkg.test("MXNet")
'