Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Apr 2, 2020
1 parent e0b8a23 commit bac2b67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ if(MSVC)
add_definitions(-DDMLC_STRICT_CXX11)
add_definitions(-DNOMINMAX)
set(CMAKE_C_FLAGS "/MP")
# report an accurate value for recent C++ language standards support
set(CMAKE_CXX_FLAGS "/Zc:__cplusplus")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /bigobj")
else()
Expand Down
8 changes: 4 additions & 4 deletions ci/build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def windows_build(args):
logging.info("Using vcvars environment:\n{}".format(args.vcvars))

path = args.output

# cuda thrust + VS is flaky so try multiple times if fail
MAXIMUM_TRY = 5
build_try = 0
Expand All @@ -197,7 +197,7 @@ def windows_build(args):

t0 = int(time.time())
ret = call(cmd, shell=True)

if ret != 0:
build_try += 1
logging.info("{} build(s) have failed".format(build_try))
Expand Down Expand Up @@ -226,15 +226,15 @@ def windows_package(args):
for dll in dlls:
logging.info("packing dll: %s", dll)
shutil.copy(dll, pkgdir_lib)

os.chdir(get_mxnet_root())
logging.info('packing python bindings')
copy_tree('python', j(pkgdir, 'python'))
logging.info('packing headers')
copy_tree('include', j(pkgdir, 'include'))
logging.info("Compressing package: %s", pkgfile)
check_call(['7z', 'a', pkgfile, pkgdir])


def nix_build(args):
path = args.output
Expand Down
9 changes: 0 additions & 9 deletions ci/windows/test_py3_gpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ $env:MXNET_HOME=[io.path]::combine($PSScriptRoot, 'mxnet_home')

$env:PATH+=[io.path]::combine($pwd.Path,"windows_package\lib")

echo "Printing env vars"
echo $env:MXNET_LIBRARY_PATH
echo $env:PYTHONPATH
echo $env:MXNET_HOME
echo $env:PATH
Get-ChildItem -Path (join-path $pwd.Path windows_package\lib)
Invoke-RestMethod -uri http://169.254.169.254/latest/meta-data/instance-type
echo "All printed"

C:\Python37\Scripts\pip install -r tests\requirements.txt
C:\Python37\Scripts\pip install -e $env:PYTHONPATH

Expand Down

0 comments on commit bac2b67

Please sign in to comment.