1. 01 Apr, 2022 1 commit
    • moto's avatar
      Update GNU config files to support `arm64-apple` system (#2307) · 3ed39e15
      moto authored
      Summary:
      This commit
      1. Updates the config.guess and config.sub files and
      2. applies them to all the third party libraries that use them.
      
      This resolves the following build failure on M1 mac with newer SDK.
      
      On MacBookPro with M1 chip, with the recent OS update, something
      about the development environment has been changed (probably newer
      version of XCode) and the build stopeed working with the following
      errors from third party dependencies.
      
      ```
      checking build system type... Invalid configuration ‘arm64-apple-darwin20.0.0': machine ‘arm64-apple' not recognized
      ```
      
      note: config files are taken from https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2307
      
      Reviewed By: nateanl
      
      Differential Revision: D35318273
      
      Pulled By: mthrok
      
      fbshipit-source-id: 746ac51dd1816767aa78b88445f76a29acfd29e8
      3ed39e15
  2. 18 Dec, 2021 1 commit
  3. 17 Dec, 2021 1 commit
    • moto's avatar
      Add static build of KenLM (#2076) · adc559a8
      moto authored
      Summary:
      Add KenLM and its dependencies required for static build (`zlib`, `bzip2`, `lzma` and `boost-thread`).
      
      The KenLM and its dependencies are build but since no corresponding code on torchaudio side is changed, the resulting torchaudio extension module is not changed. (therefore, as long as build process passes on CI this PR should be good to go.)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2076
      
      Reviewed By: carolineechen
      
      Differential Revision: D33189980
      
      Pulled By: mthrok
      
      fbshipit-source-id: 6096113128b939f3cf70990c99aacc4aaa954584
      adc559a8