ispc icon indicating copy to clipboard operation
ispc copied to clipboard

Stop shipping individual component libraries in clang-libs package

Open luyatshimbalanga opened this issue 3 years ago • 1 comments

The individual component libraries will be removed from the clang-libs package in favor of libclang-cpp.so (which is already present in clang-libs). The component shared libraries enabled by the BUILD_SHARED=ON CMake option are not supported as a distribution configuration by the upstream project and only recommended for use by clang developers.[1]

The libclang-cpp.so shared object was added in clang 9.0 and now gives us an alternative shared library option that is supported by the upstream project and makes it possible for Fedora packages to stop using the component libraries.

This change will be made only in clang 10 and newer. The clang9.0 and older compatibility packages will keep the component libraries until those packages are retired.

[1] https://llvm.org/docs/CMake.html

The patch below 0001-Link-against-libclang-cpp.so.patch.txt

Also see the rationale done for Fedora 32.

luyatshimbalanga avatar Jan 15 '22 22:01 luyatshimbalanga

@dbabokin Have we applied this patch?

pbrubaker avatar Jul 18 '22 07:07 pbrubaker

It is a duplicate of https://github.com/ispc/ispc/issues/2104. It has been resolved by https://github.com/ispc/ispc/pull/2422

nurmukhametov avatar Mar 22 '23 11:03 nurmukhametov