[PACKAGING] Include triton/language/libdevice.10.bc in package data (#582)

This commit is contained in:
Jason Ansel
2022-07-13 23:45:27 -07:00
committed by GitHub
parent 4912916c11
commit 0a3f3d5f25

View File

@@ -141,7 +141,11 @@ setup(
"filelock",
"torch",
],
package_data={"triton/ops": ["*.c"], "triton/ops/blocksparse": ["*.c"]},
package_data={
"triton/ops": ["*.c"],
"triton/ops/blocksparse": ["*.c"],
"triton/language": ["*.bc"],
},
include_package_data=True,
ext_modules=[CMakeExtension("triton", "triton/_C/")],
cmdclass={"build_ext": CMakeBuild},