• 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
libmad.patch 2.77 KB