Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
4e5c6c7b
Unverified
Commit
4e5c6c7b
authored
Jan 06, 2020
by
Tianqi Chen
Committed by
GitHub
Jan 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] better deletion script for pycache (#4635)
parent
00c98e24
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
8 deletions
+14
-8
tests/scripts/task_python_docs.sh
+1
-1
tests/scripts/task_python_frontend.sh
+2
-0
tests/scripts/task_python_integration.sh
+2
-1
tests/scripts/task_python_nightly.sh
+2
-2
tests/scripts/task_python_topi.sh
+2
-2
tests/scripts/task_python_unittest.sh
+2
-1
tests/scripts/task_python_vta.sh
+3
-1
No files found.
tests/scripts/task_python_docs.sh
View file @
4e5c6c7b
...
...
@@ -37,7 +37,7 @@ mv out docs/_build/html/jsdoc
make javadoc
mv jvm/core/target/site/apidocs docs/_build/html/javadoc
rm
-rf
python/tvm/
*
.pyc python/tvm/
*
/
*
.pyc python/tvm/
*
/
*
/
*
.pyc
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
cd
docs
PYTHONPATH
=
`
pwd
`
/../python make html
...
...
tests/scripts/task_python_frontend.sh
View file @
4e5c6c7b
...
...
@@ -24,6 +24,8 @@ export PYTHONPATH=python:topi/python
export
TVM_BIND_THREADS
=
0
export
OMP_NUM_THREADS
=
1
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
# Rebuild cython
make cython3
...
...
tests/scripts/task_python_integration.sh
View file @
4e5c6c7b
...
...
@@ -24,7 +24,8 @@ export LD_LIBRARY_PATH="build:${LD_LIBRARY_PATH:-}"
export
TVM_BIND_THREADS
=
0
export
TVM_NUM_THREADS
=
2
rm
-rf
python/tvm/
*
.pyc python/tvm/
*
/
*
.pyc python/tvm/
*
/
*
/
*
.pyc
# cleanup pycache
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
# Test TVM
make cython3
...
...
tests/scripts/task_python_nightly.sh
View file @
4e5c6c7b
...
...
@@ -24,7 +24,7 @@ export PYTHONPATH=python:topi/python
# Rebuild cython
make cython3
rm
-rf
python/tvm/
*
.pyc python/tvm/
*
/
*
.pyc python/tvm/
*
/
*
/
*
.pyc
rm
-rf
topi/python/topi/
*
.pyc topi/python/topi/
*
/
*
.pyc topi/python/topi/
*
/
*
/
*
.pyc topi/python/topi/
*
/
*
/
*
/
*
.pyc
# cleanup pycache
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
python3
-m
pytest
-v
topi/tests/python/nightly
tests/scripts/task_python_topi.sh
View file @
4e5c6c7b
...
...
@@ -24,7 +24,7 @@ export PYTHONPATH=python:topi/python
# Rebuild cython
make cython3
rm
-rf
python/tvm/
*
.pyc python/tvm/
*
/
*
.pyc python/tvm/
*
/
*
/
*
.pyc
rm
-rf
topi/python/topi/
*
.pyc topi/python/topi/
*
/
*
.pyc topi/python/topi/
*
/
*
/
*
.pyc topi/python/topi/
*
/
*
/
*
/
*
.pyc
# cleanup pycache
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
python3
-m
pytest
-v
topi/tests/python
tests/scripts/task_python_unittest.sh
View file @
4e5c6c7b
...
...
@@ -21,7 +21,8 @@ set -u
export
PYTHONPATH
=
python:topi/python
rm
-rf
python/tvm/
*
.pyc python/tvm/
*
/
*
.pyc python/tvm/
*
/
*
/
*
.pyc
# cleanup pycache
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
TVM_FFI
=
ctypes python3
-m
pytest
-v
tests/python/unittest
make cython3
...
...
tests/scripts/task_python_vta.sh
View file @
4e5c6c7b
...
...
@@ -21,7 +21,9 @@ set -u
export
PYTHONPATH
=
python:vta/python:topi/python
rm
-rf
python/tvm/
*
.pyc python/tvm/
*
/
*
.pyc python/tvm/
*
/
*
/
*
.pyc python/tvm/
*
/
*
/
*
/
*
.pyc
# cleanup pycache
find
.
-type
f
-path
"*.pyc"
| xargs rm
-f
rm
-rf
~/.tvm
# Rebuild cython
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment