We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b601c48 commit a838e6bCopy full SHA for a838e6b
utils/mlir_wheels/setup.py
@@ -208,7 +208,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
208
)
209
210
211
-cmake_txt = open("llvm-project/llvm/CMakeLists.txt").read()
+cmake_txt = open("llvm-project/cmake/Modules/LLVMVersion.cmake").read()
212
llvm_version = []
213
for v in ["LLVM_VERSION_MAJOR", "LLVM_VERSION_MINOR", "LLVM_VERSION_PATCH"]:
214
vn = re.findall(rf"set\({v} (\d+)\)", cmake_txt)
0 commit comments