torch-mlir/build_tools/python_deploy
Sayan Saha 09cdbe4c47
Disable building STABLEHLO and specify USE_MATH_DEFINES for windows builds. (#3805)
I'm trying to build python wheel for windows similar to as done for
linux in https://github.com/llvm/torch-mlir-release/ however turns out
the build process on windows is broken without the following fixes:

1. Building stablehlo for windows fails due to
https://github.com/openxla/stablehlo/issues/1772 -- so disabling
stablehlo in `build_windows_ci.sh` that will be used for building the
python wheels.

2. Add `USE_MATH_DEFINES` to resolve
`torch-mlir\lib\Conversion\TorchOnnxToTorch\DefaultDomainGtoP.cpp(709):
error C2065: 'M_LOG10E': undeclared identifier`
2024-10-18 12:04:37 -07:00
..
.gitignore Add oneshot release snapshot for test/ondemand (#768) 2022-04-21 02:19:12 -07:00
build_linux_packages.sh [Release] Fix binary name for downstream compatibility (#3752) 2024-10-02 11:52:20 -07:00
build_macos_packages.sh [Release] Fix binary name for downstream compatibility (#3752) 2024-10-02 11:52:20 -07:00
build_upload_m1_snapshot.sh build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00
build_windows.ps1 build: Update Roll PyTorch version (#3548) 2024-07-19 21:38:57 +05:30
build_windows_ci.sh Disable building STABLEHLO and specify USE_MATH_DEFINES for windows builds. (#3805) 2024-10-18 12:04:37 -07:00
install_macos_deps.sh Fix macOS package build (#3562) 2024-08-22 19:13:20 +05:30