Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Update llvm version from 19 to 20 #549

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

wenju-he
Copy link
Contributor

No description provided.

@wenju-he wenju-he force-pushed the update-llvm-version-to-20 branch from 30fbb37 to b01cc38 Compare September 23, 2024 00:38
@wenju-he
Copy link
Contributor Author

'CodeQL' and 'Out-of-tree build' error:

[ 98%] Linking CXX shared library libopencl-clang.so
/usr/bin/ld: cannot find -lclang-cpp: No such file or directory
/usr/bin/ld: cannot find -lclang-cpp: No such file or directory
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/opencl-clang.dir/build.make:227: libopencl-clang.so.20.0] Error 1

The reason is that libclang-cpp20 isn't correctly installed:

ls -rtl /usr/lib/llvm-20/lib/libclang-cpp*
lrwxrwxrwx 1 root root 43 Sep 22 08:17 /usr/lib/llvm-20/lib/libclang-cpp.so.20.1 -> ../../x86_64-linux-gnu/libclang-cpp.so.20.1
lrwxrwxrwx 1 root root 20 Sep 22 08:17 /usr/lib/llvm-20/lib/libclang-cpp.so -> libclang-cpp.so.20.0
lrwxrwxrwx 1 root root 15 Sep 22 08:17 /usr/lib/llvm-20/lib/libclang-cpp20.so -> libclang-cpp.so

The error is tracked in llvm/llvm-project#109153

haonanya
haonanya previously approved these changes Sep 23, 2024
@wenju-he
Copy link
Contributor Author

Will merge after ocl-open-190 is created.

@wenju-he wenju-he merged commit 8b4c2c3 into intel:main Sep 23, 2024
2 of 4 checks passed
@wenju-he wenju-he deleted the update-llvm-version-to-20 branch September 23, 2024 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants