Package static library as part of -devel pkg #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "VaiTon/oneapi-unified-runtime:enable_static_lib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hm, we usually do not ship static libraries in openSUSE and you would need a good reason why this should be different for UR.
https://en.opensuse.org/openSUSE:Packaging_guidelines#Static_Libraries
Unfortunately when importing the package via CMake with
find_package
it complains if the .a lib is not present. I don't know how to patch the CMakeLists.txt to make sure that it doesn't crash without it/usr/lib/cmake/unified-runtime/unified-runtime-targets.cmake:
I could create a
-devel-static
package and then require it from the-devel
packageThat split is not worth the byte price if the .a archive is hardrequired. I'll ponder a bit if cmake can be nudged to not require it.
9876b48195
to5310eda124
As for zstd, the static archive from the export set. https://build.opensuse.org/request/show/1255925
This might point to a solution for unified-runtime.