- 02 Sep, 2024 1 commit
-
-
mayp777 authored
-
- 28 Jul, 2022 1 commit
-
-
moto authored
Summary: Extract the helper functions for defining library and extension so that they can be reused for building flashlight library and binding in https://github.com/pytorch/audio/issues/2580. Pull Request resolved: https://github.com/pytorch/audio/pull/2585 Reviewed By: carolineechen Differential Revision: D38233407 Pulled By: mthrok fbshipit-source-id: 96f7c62a8b70bb3ff5caede9730165d54a55272f
-
- 01 Apr, 2022 1 commit
-
-
moto authored
Summary: Change the cmake logic to search CONDA_PREFIX before falling back to the other default paths and system paths. 1. FFMPEG_ROOT 2. CONDA_PREFIX 3. Other locations (Package managers and system paths) For users with regular conda installation, ffmpeg from conda should be picked automatically. If anyone wants to specify the ffmpeg, then can set FFMPEG_ROOT variable to the location of desired installation. Pull Request resolved: https://github.com/pytorch/audio/pull/2312 Reviewed By: hwangjeff Differential Revision: D35317383 Pulled By: mthrok fbshipit-source-id: 52aef8f3f7f0f8f1eaf7a89a2d1ccfb6265e2c50
-
- 15 Feb, 2022 1 commit
-
-
moto authored
Summary: This commit fixes the issue with ffmpeg discovery at build time. The original implementation had issues like. 1. Wrong usage of FindFFMPEG, which caused mixture of ffmpeg libraries from system directory and user directory. 2. The optional `FFMPEG_ROOT` variable was not set within cmake. The issue 1 is problematic when a user does not have a permission to modify the environment. For example, an old version of ffmpeg, which is installed in a directory managed by the system (such as `/usr/local/lib`), then there is no way to specify a path in which user installs a supported version of ffmpeg. This commit changes the behavior by first searching the library in `FFMPEG_ROOT` environment variables, then resorting to the original behavior of searching the custom paths with system default path. Also this commirt removes support for `libavresample`, which is deprecated in ffmpeg 4 and removed in ffmpeg 5. Pull Request resolved: https://github.com/pytorch/audio/pull/2204 Reviewed By: carolineechen Differential Revision: D34225769 Pulled By: mthrok fbshipit-source-id: 95b0bfaaef31e2e69e6df29f789010f48a48210b
-
- 05 Jan, 2022 1 commit
-
-
moto authored
Summary: Update ffmpeg discovery logic Previously the build process used pkg-config to locate an installation of ffmpeg, which does not work well Windows/CentOS. This commit update the discovery process to use the custom FindFFMPEG.cmake adopted from Kitware/VTK repository with addition of conda environment. The custom discovery logic can support Windows and CentOS. Pull Request resolved: https://github.com/pytorch/audio/pull/2124 Reviewed By: carolineechen Differential Revision: D33429564 Pulled By: mthrok fbshipit-source-id: 6cb50c1d8c58f51e0f3f3af5c5b541aa3a699bba
-
- 04 Jan, 2022 1 commit
-
-
moto authored
Summary: Preparation for updating the build process of ffmpeg-related feature to support Windows. Checking-in FindFFMPEG.cmake from Kitware/VTK repo without modification so that later it's easy to follow our modification on it with git tool. Pull Request resolved: https://github.com/pytorch/audio/pull/2125 Reviewed By: carolineechen Differential Revision: D33405408 Pulled By: mthrok fbshipit-source-id: 5faea8940d2dfcf0b2f647eda3754f713d21fcd1
-
- 02 Apr, 2021 1 commit
-
-
Michael Melesse authored
-