Skip to content

Update to clang 18.1.8 and Mesa 24.1.5 #3146

Merged
merged 26 commits into from
Aug 16, 2024

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Aug 2, 2024

Install with:

sudo bee update llvm-18.1.8 clang-18.1.8 libclc-18.1.8 libdrm-2.4.122 libvdpau-1.5 spirv-headers-1.3.290.0 spirv-tools-1.3.290.0 glslang-14.3.0 spirv-llvm-translator-18.1.3-0 wayland-1.23.0 wayland-protocols-1.35 mesalib-24.1.5

Tested on maleficent and sigusr2.

    CMake Error at CMakeLists.txt:117 (message):
      llvm-gtest not found.  Please install llvm-gtest or disable tests with
      -DLLVM_INCLUDE_TESTS=OFF
@thomas
Copy link
Collaborator

thomas commented Aug 5, 2024

As for llvm. I think it would make sense to have the llvm linkers also installed (ld.lld, ld64.lld, lld-link, wasm-ld).
They exist in the llvm packages, but not in the system. E.g. building wine required to use the package-llvm, since the windows binaries could be compiled, but not linked together.

[Description][1]:

> The SPIRV-Tools package contains libraries and utilities for
> processing SPIR-V modules.

[1]: https://www.linuxfromscratch.org/blfs/view/svn/general/spirv-tools.html
[Descrpition][1]:

> The SPIRV-LLVM-Translator package contains a library and utility for
> converting between LLVM IR and SPIR-V code. This package currently
> only supports the OpenCL/Compute version of SPIR-V.

[1]: https://www.linuxfromscratch.org/blfs/view/systemd/general/spirv-llvm-translator.html
    Dependency wayland-protocols found: NO found 1.25 but need: '>= 1.34'
    Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
> `-Ddocumentation=false`: This switch is used to disable building of
> the API documentation. Remove it if you have installed optional
> dependencies.
    DEPRECATION: Option 'valgrind' value 'false' is replaced by 'disabled'
    DEPRECATION: Option 'glvnd' value 'true' is replaced by 'enabled'
@pmenzel pmenzel force-pushed the update-to-clang-18.1.8-and-mesa-24.1.5 branch from b972581 to dc500fd Compare August 5, 2024 14:40
@pmenzel pmenzel force-pushed the update-to-clang-18.1.8-and-mesa-24.1.5 branch from dc500fd to e9f265b Compare August 5, 2024 14:41
@pmenzel
Copy link
Collaborator Author

pmenzel commented Aug 5, 2024

It’d be great if you could test this tomorrow, so I can merge.

As for llvm. I think it would make sense to have the llvm linkers also installed (ld.lld, ld64.lld, lld-link, wasm-ld).
They exist in the llvm packages, but not in the system. E.g. building wine required to use the package-llvm, since the windows binaries could be compiled, but not linked together.

@thomas, good suggestion. I am going to do that in another merge/pull request.

@thomas
Copy link
Collaborator

thomas commented Aug 5, 2024

Well, I'm on holiday for the rest of the week, so I'm not able to do further testing...

@pmenzel pmenzel force-pushed the update-to-clang-18.1.8-and-mesa-24.1.5 branch from 95d9217 to 9b05cbe Compare August 12, 2024 05:53
@pmenzel pmenzel merged commit 65695e8 into master Aug 16, 2024
@pmenzel pmenzel deleted the update-to-clang-18.1.8-and-mesa-24.1.5 branch August 16, 2024 12:00
@pmenzel
Copy link
Collaborator Author

pmenzel commented Aug 21, 2024

To get bpftrace running again:

@ellie:/package/pkg/bpftrace-0.20.3-0/.compatlibs$ ls -l
total 476276
-rwxr-xr-x 1 bin bin 130251840 Aug 21 12:46 libLLVM-14.0.6.so
lrwxrwxrwx 1 bin bin        17 Aug 21 13:00 libLLVM-14.so -> libLLVM-14.0.6.so
lrwxrwxrwx 1 bin bin        13 Aug 21 13:00 libLLVM.so -> libLLVM-14.so
lrwxrwxrwx 1 bin bin        18 Jul 12  2022 libclang-cpp.so -> libclang-cpp.so.14
-rwxr-xr-x 1 bin bin 250575320 Jul 12  2022 libclang-cpp.so.14
lrwxrwxrwx 1 bin bin        14 Aug 21 13:00 libclang.so -> libclang.so.13
lrwxrwxrwx 1 bin bin        18 Aug 21 13:01 libclang.so.13 -> libclang.so.14.0.6
-rwxr-xr-x 1 bin bin 106875744 Aug 20 13:31 libclang.so.14.0.6

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants