Bug 266736 - biology/hhsuite: fix build on armv7
Summary: biology/hhsuite: fix build on armv7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://github.com/simd-everywhere/si...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-01 09:47 UTC by Robert Clausecker
Modified: 2022-10-01 15:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)
fuz: merge-quarterly?


Attachments
biology/hhsuite: fix build on armv7 (1.35 KB, patch)
2022-10-01 09:47 UTC, Robert Clausecker
fuz: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-10-01 09:47:07 UTC
Created attachment 236979 [details]
biology/hhsuite: fix build on armv7

The port bundles it's own vintage of simde.  Fix the armv7
build by partially applying a 2020 upstream patch.

See also:	https://github.com/simd-everywhere/simde/commit/c6be0c6f84b47934f5a48580b69b9415f9e1cfc2

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if committed after 2022Q4 has been branched off.
Please don't forget to take out the BROKEN lines when committing this patch; my local git is too out of date to have it.

There is an unrelated QA error that yuri@ might want to check out:

====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/cstranslate_mpi is linked to /usr/local/lib/gcc11/libgcc_s.so.1 from lang/gcc11 but it is not declared as a dependency
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-01 15:08:05 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-01 15:08:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=75d814716539317715472ded1bb11b3c6ccb72bc

commit 75d814716539317715472ded1bb11b3c6ccb72bc
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-10-01 15:06:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-01 15:08:17 +0000

    biology/hhsuite: fix build on armv7

    PR:             266736

 biology/hhsuite/Makefile                                     |  2 --
 biology/hhsuite/files/patch-lib_simde_simde_x86_sse2.h (new) | 11 +++++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-01 15:09:50 UTC
A commit in branch 2022Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d25d388b58d3335a9ef91335aca0a12225999741

commit d25d388b58d3335a9ef91335aca0a12225999741
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-10-01 15:06:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-01 15:09:13 +0000

    biology/hhsuite: fix build on armv7

    PR:             266736
    (cherry picked from commit 75d814716539317715472ded1bb11b3c6ccb72bc)

 biology/hhsuite/Makefile                                     |  2 --
 biology/hhsuite/files/patch-lib_simde_simde_x86_sse2.h (new) | 11 +++++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)