Bug 262383 - devel/libb2: Switch to meson, disable native optimization on x86
Summary: devel/libb2: Switch to meson, disable native optimization on x86
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-06 19:49 UTC by Daniel Engberg
Modified: 2022-03-19 06:31 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mm)


Attachments
Patch for libb2 (1.85 KB, patch)
2022-03-06 19:49 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2022-03-06 19:49:23 UTC
Created attachment 232284 [details]
Patch for libb2

Switch to meson from GNU Autotools
Disable use of "native" optimization for amd64
Enable "fat" library for amd64
Enable OpenMP support on aarch64 and amd64
Drop static library

Compile and tested on FreeBSD 13.0-STABLE #2 stable/13-n248607-93a95ebbf7c (amd64) (make, make check-plist, make test)
Compile and tested on FreeBSD 13.0-STABLE (aarch64) (make, make check-plist, make test)
Poudriere testport OK 12.3-RELEASE (amd64)
Poudriere testport OK 13.0-RELEASE (i386)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-03-18 07:55:29 UTC
Friendly ping
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2022-03-18 12:00:32 UTC
Approved.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-03-19 06:30:48 UTC
A commit in branch main references this bug:

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

commit 4288040541a81ec11761716ff28e98f48f7e469c
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-03-19 06:27:19 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-03-19 06:28:28 +0000

    devel/libb2: Switch to meson, disable native optimization on x86

    - Switch to meson from GNU Autotools
    - Disable use of "native" optimization for amd64
    - Enable "fat" library for amd64
    - Enable OpenMP support on aarch64 and amd64
    - Disable static library

    PR:             262383
    Reviewed by:    mm (maintainer)

 devel/libb2/Makefile | 16 ++++++++++++----
 devel/libb2/distinfo |  6 +++++-
 2 files changed, 17 insertions(+), 5 deletions(-)