pocl icon indicating copy to clipboard operation
pocl copied to clipboard

[Windows]Inconsistent LLVM versions requested.

Open teruteru128 opened this issue 3 years ago • 3 comments

In the build script for Windows, the LLVM version being cloned is 3.6, while the LLVM version requested in LLVM.cmake is 6.0 to 13.0, which is inconsistent.

https://github.com/pocl/pocl/blob/5f59db104edcc61f41d4bf6a01536a99cec6d86b/windows/setup_and_build_win64.sh#L24 https://github.com/pocl/pocl/blob/5f59db104edcc61f41d4bf6a01536a99cec6d86b/cmake/LLVM.cmake#L171-L208 I thought I could just update the version of LLVM that the build script was cloning, but that didn't work. How should I do that?

teruteru128 avatar Jun 17 '21 14:06 teruteru128

I'm afraid the windows port hasn't been maintained for a while and I don't know of anyone currently actively working on it. Perhaps you'd like to contribute?

pjaaskel avatar Jun 18 '21 15:06 pjaaskel

Hmmm ...... I'm working on a solution, but I can't solve the problem of Cmake recognizing a backslash as an escape. I wonder how the first person who created this did it? I could not figure it out. https://github.com/teruteru128/pocl/commit/e3351ddeb7e8c0a370efab6df5d16de24a42a27b

teruteru128 avatar Jun 19 '21 17:06 teruteru128

build.log

teruteru128 avatar Jun 20 '21 06:06 teruteru128