Skip to content

Commit b13b1a1

Browse files
committed
[CI] Remove stale test scripts (i386, hexagon, mypy, nightly)
1 parent 9a8320a commit b13b1a1

12 files changed

Lines changed: 5 additions & 359 deletions

docker/lint.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ function run_lint_step() {
4848
blocklint|file_type|asf|clang_format|python_format|pylint)
4949
cmd=( pre-commit run --all-files )
5050
;;
51-
mypy)
52-
echo "mypy: now handled by pre-commit (skipping standalone run)"
53-
return 0
54-
;;
5551
*)
5652
echo "error: don't know how to run lint step: $1" >&2
5753
echo "usage: ${SCRIPT_NAME} [-i] <lint_step>" >&2

tests/python/contrib/test_hexagon/README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ You can find more information about downloading [Hexagon SDK](https://developer.
4040

4141
First build Hexagon API application under `apps/hexagon_api`. This step will generate `tvm_rpc_android` and `libtvm_runtime.so` to run on Android. Also, it generates `libtvm_runtime.a` `libtvm_runtime.so`, `libhexagon_rpc_skel.so` and `libhexagon_rpc_sim.so` to run on Hexagon device or Hexagon simulator.
4242

43-
**Note:** To get the most updated instructions, please take a look at [task_build_hexagon_api.sh](https://github.com/apache/tvm/blob/main/tests/scripts/task_build_hexagon_api.sh).
44-
4543
```bash
4644
cd apps/hexagon_api
4745
mkdir build
@@ -59,8 +57,6 @@ make -j2
5957

6058
Next, we need to build TVM on host with RPC and Hexagon dependencies. To do that follow these commands.
6159

62-
**Note:** To get the most recent configs for this step, please take a look at [task_config_build_hexagon.sh](https://github.com/apache/tvm/blob/main/tests/scripts/task_config_build_hexagon.sh).
63-
6460
```bash
6561
cd tvm
6662
mkdir build
@@ -83,23 +79,19 @@ To use hexagon docker image, install TVM and Hexagon API follow these steps from
8379

8480
# Build TVM
8581
rm -rf build
86-
./tests/scripts/task_config_build_hexagon.sh build
87-
cd build
88-
cmake ..
82+
mkdir build && cd build
83+
cmake -DUSE_LLVM=ON \
84+
-DUSE_RPC=ON \
85+
-DUSE_HEXAGON_SDK=$HEXAGON_SDK_PATH \
86+
-DUSE_HEXAGON=ON ..
8987
make -j2
90-
91-
# Build Hexagon API
92-
cd ..
93-
./tests/scripts/task_build_hexagon_api.sh
9488
```
9589

9690
Now that you have built required tools, you can jump to [run test examples](#run-tests).
9791

9892
## Run Tests
9993
You have the options of running Hexagon test on real hardware or on Hexagon simulator. Also, depending on whether you decided to use Hexagon docker image or not we will explain both cases here.
10094

101-
**Note: You can always find updated instructions based on this [script](https://github.com/apache/tvm/blob/main/tests/scripts/task_python_hexagon.sh).**
102-
10395
### Only follow these steps if running tests outside of docker
10496
```bash
10597
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"path to `llvm-clang/lib` sub-directory"

tests/scripts/ci.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,6 @@ def add_subparser(
590590
"run unit tests",
591591
[
592592
"./tests/scripts/task_java_unittest.sh",
593-
"./tests/scripts/task_opencl_cpp_unittest.sh {build_dir}",
594593
"./tests/scripts/task_python_unittest_gpuonly.sh",
595594
"./tests/scripts/task_python_integration_gpuonly.sh",
596595
],
@@ -637,20 +636,6 @@ def add_subparser(
637636
"test": ("run WASM tests", ["./tests/scripts/task_web_wasm.sh"]),
638637
},
639638
),
640-
generate_command(
641-
name="hexagon",
642-
help="Run Hexagon build and test(s)",
643-
post_build=["./tests/scripts/task_build_hexagon_api.sh --output build-hexagon"],
644-
options={
645-
"cpp": CPP_UNITTEST,
646-
"test": (
647-
"run Hexagon API/Python tests",
648-
[
649-
"./tests/scripts/task_python_hexagon.sh",
650-
],
651-
),
652-
},
653-
),
654639
generate_command(
655640
name="arm",
656641
help="Run ARM build and test(s) (native or via QEMU on x86)",

tests/scripts/task_build_hexagon_api.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

tests/scripts/task_clean.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/scripts/task_config_build_gpu_vulkan.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

tests/scripts/task_config_build_hexagon.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.

tests/scripts/task_config_build_i386.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/scripts/task_mypy.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/scripts/task_opencl_cpp_unittest.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)