Skip to content

Commit b77abdf

Browse files
committed
Remove third party directory
1 parent 268ee86 commit b77abdf

File tree

10 files changed

+6
-281
lines changed

10 files changed

+6
-281
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ignore = E203,E402,E741,W503
66

77
# Note: exclude is not honnored when flake8 is executed from pre-commit.
88
# pre-commit has a separate config
9-
exclude = build,docs/src,third_party
9+
exclude = build,docs/src
1010

1111
per-file-ignores =
1212
examples/tutorials/*.py: E501

.github/workflows/unittest-linux-cpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,6 @@ jobs:
7373
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_DECODER=true
7474
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_ENCODER=true
7575
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_FFMPEG=true
76+
export BUILD_CPP_TEST=1
7677
pytest torchaudio_unittest -k "not torchscript and not fairseq and not demucs"
7778
echo "::endgroup::"

.github/workflows/unittest-linux-gpu.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ jobs:
8181
8282
echo "::endgroup::"
8383
echo "::group::Run tests"
84-
export PATH="${PWD}/third_party/install/bin/:${PATH}"
8584
8685
declare -a args=(
8786
'-v'

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,3 @@ examples/interactive_asr/data/*.model
128128
examples/interactive_asr/data/*.pt
129129
examples/tutorials/_assets
130130

131-
# third parties
132-
third_party/install/
133-
third_party/archives/

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
hooks:
3131
- id: flake8
3232
args: ['src', 'test', 'tools', 'docs/source/conf.py', 'examples']
33-
exclude: 'build|docs/src|third_party'
33+
exclude: 'build|docs/src'
3434
additional_dependencies:
3535
- flake8-breakpoint == 1.1.0
3636
- flake8-bugbear == 22.6.22
@@ -43,4 +43,4 @@ repos:
4343
rev: 6.3.0
4444
hooks:
4545
- id: pydocstyle
46-
exclude: 'build|test|examples|third_party|docs|tools'
46+
exclude: 'build|test|examples|docs|tools'

CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,7 @@ else()
166166
endif()
167167

168168
add_subdirectory(src/libtorchaudio)
169-
if (USE_FFMPEG)
170-
if (DEFINED ENV{FFMPEG_ROOT})
171-
add_subdirectory(third_party/ffmpeg/single)
172-
else()
173-
message(STATUS "Building FFmpeg integration with multi version support")
174-
add_subdirectory(third_party/ffmpeg/multi)
175-
endif()
176-
endif()
169+
177170
if (BUILD_CUDA_CTC_DECODER)
178171
if (NOT USE_CUDA)
179172
message(FATAL "BUILD_CUDA_CTC_DECODER=1 but USE_CUDA=0.")

CONTRIBUTING.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,7 @@ Please refer to https://pytorch.org/audio/main/build.html
4444

4545
## Running Test
4646

47-
If you built sox, set the `PATH` variable so that the tests properly use the newly built `sox` binary:
48-
49-
```bash
50-
export PATH="<path_to_torchaudio>/third_party/install/bin:${PATH}"
51-
```
52-
53-
The following dependencies are also needed for testing:
47+
The following dependencies are needed for testing:
5448

5549
```bash
5650
pip install typing pytest scipy numpy parameterized

third_party/LICENSES_BUNDLED.txt

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

third_party/ffmpeg/multi/CMakeLists.txt

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

third_party/ffmpeg/single/CMakeLists.txt

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

0 commit comments

Comments
 (0)