On 5/10/25 10:36, Ben Beasley wrote:
I recently had to fix this in the opensubdiv package. As Cristian said, every
project is different, but here’s one simple example of a successful downstream
patch:
https://src.fedoraproject.org/rpms/opensubdiv/c/fb27f64a61a5eb8fc123132213870dcb4211872e?branch=rawhide
To be clear, I would prefer to be able to still package and ship the
static libraries in a separate package. Although I am considering just
dropping the static build as well. But I think the HPC / scientific
community still has a reasonably high incidence so compiling statically.
Thanks.
On Sat, May 10, 2025, at 1:53 AM, Cristian Le via devel wrote:
On 10 May 2025 05:42:07 CEST, Orion Poplawski <or...@nwra.com> wrote:
* The installation package was faulty and contained
"/usr/lib64/cmake/SuiteSparse_config/SuiteSparse_configTargets.cmake"
but not all the files it references.
Is there some way that packages can handle having the static libs not be
present in a general way? I'd like to avoid having to do separate shared and
static builds.
A simple/generic way to do this, unfortunately no. It is a case-by-case basis.
A minimum patch is to find the `install(TARGETS)` commands that mention
the static target (directly or indirectly from an expanded list
variable) and remove it.
Long term solution is to ask upstream to support optional static
library build and/or incremental build+installation. You can ping me
upstream if they have issues supporting that.
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue