pytorch
89df0e42 - Enable Python-3.11 binary builds across the board (#94430)

Commit
1 year ago
Enable Python-3.11 binary builds across the board (#94430) Most of the work is outside of repositories and consists of cloning projects https://github.com/AnacondaRecipes/ and building: - [typing_extensions](https://github.com/AnacondaRecipes/typing_extensions-feedstock) - [pyyaml](https://github.com/AnacondaRecipes/pyyaml-feedstock) - [setuptools](https://github.com/AnacondaRecipes/setuptools-feedstock) v 59.8.0, needed to build `numpy`. Trick here is to add `add_pip_as_python_dependency: off` to ones `.condarc` - [cython](https://github.com/AnacondaRecipes/cython-feedstock) - [mkl-service](https://github.com/AnacondaRecipes/mkl-service-feedstock) - [numpy-base](https://github.com/AnacondaRecipes/numpy-feedstock) (against mkl-2021.4), i.e. add `blas_impl: "mkl"` and `mkl: ">=2021.4.0,<2022.0a0"` to ones `conda_build_config.yaml` - [mkl_random](https://github.com/AnacondaRecipes/mkl_random-feedstock) - [mkl_fft](https://github.com/AnacondaRecipes/mkl_fft-feedstock) - [numpy](https://github.com/AnacondaRecipes/numpy-feedstock) - [mpmath](https://github.com/AnacondaRecipes/mpmath-feedstock) - [sympy](https://github.com/AnacondaRecipes/sympy-feedstock) Anaconda build system is really modern, so in order to be able to build: - x86 MacOS packages, one need to install Macos 10.10 SDK from 2014, still available at https://github.com/phracker/MacOSX-SDKs/releases and reference it as conda build sysroot, as follows: `CONDA_BUILD_SYSROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.10.sdk` - Windows packages "MSVC v141 - VS 2017 C++ x64/86 build tools (v14.16)" is needed, which likely is still available as Visual Studio component As well as make a pretty trivial tweak to build rules in https://github.com/pytorch/builder/commit/cf4fa8900bb3a1e766611f5467c7b90eccd16f4e Pull Request resolved: https://github.com/pytorch/pytorch/pull/94430 Approved by: https://github.com/seemethere, https://github.com/weiwangmeta, https://github.com/albanD, https://github.com/atalman
Author
Committer
Parents
Loading