Skip to content

Please consider suggesting an "official" suffix for single-precision builds #41

@anntzer

Description

@anntzer

Currently, double-precision and single-precision builds default to sharing the same library name. As a consequence, downstream packagers (linux, conda) typically just package the double-precision version, and the single precision version is unavailable. In fact, it is not that difficult to provide both single and double precisions in e.g. a linux package; the single-precision library can simply use a separate name, and this is readily achieved with e.g. cmake ... -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS=-D__cminpack_float__ -DCMAKE_RELEASE_POSTFIX=s which builds the single precision shared lib as libcminpacks.so (the "s" suffix being the one suggested in https://www.math.utah.edu/software/minpack.html#linking-local too).
Would you be willing to declare "officially" that it is preferred that downstream packagers provide both single and double precision versions of the library, with the single-precision using the "s" suffix (for example)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions