Skip to content

Commit

Permalink
Fix spelling of MLIR "GPUPasses" library. (#17252)
Browse files Browse the repository at this point in the history
Currently local build with `setup.py` (`pip install -e .`) fails at link
step on the OSes that have cases sensitive file system. I.e. macOS
works, Linux (Ubuntu on `ext4`, for example) fails. The correct spelling
is `GPUPasses`, see it
[here](https://github.com/llvm/llvm-project/blob/987c036f5413a94aab58bd5e27b653f740a5f7e2/mlir/python/CMakeLists.txt#L619)
how it's defined in MLIR.
  • Loading branch information
dbabokin authored May 1, 2024
1 parent 34449df commit 360dc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def find_git_submodule_revision(submodule_path):
# it also needs to be enabled on the build side.
# CMakeExtension("iree.compiler._mlir_libs._mlirHlo"),
CMakeExtension("iree.compiler._mlir_libs._mlirLinalgPasses"),
CMakeExtension("iree.compiler._mlir_libs._mlirGpuPasses"),
CMakeExtension("iree.compiler._mlir_libs._mlirGPUPasses"),
CMakeExtension("iree.compiler._mlir_libs._site_initialize_0"),
],
cmdclass={
Expand Down

0 comments on commit 360dc3e

Please sign in to comment.