Skip to content

Package binaries are installed into locations specific to the current <s>CPU</s> arch #6104

@yurivict

Description

@yurivict

On FreeBSD binary paths contain amd64-portbld-freebsd14.3-default64-kv10.
For example: .../pkg/normalizinterface/bin/amd64-portbld-freebsd14.3-default64-kv10/NormalizInterface.so

kv10 is the code of my CPU. But the binaries that were built aren't specific for this CPU. One needs to use -march=native in order to make binaries specific to the current CPU.

This isn't done, and shouldn't be done in general.

Therefore, the kv10 part shouldn't be present. It is meaningless and would likely cause failures if GAP would be run on a different CPU.

Furthermore, the 14.3 part should also not be present. On FreeBSD binaries build on any FreeBSD 14.x run on any other FreeBSD 14.x
Therefore this part is also meaningless and shouldn't be present.

Is there a build-time option of change the string like "amd64-portbld-freebsd14.3-default64-kv10" to some simple fixed string?

This would unbreak it in the above mentioned situations and make it much more package friendly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions