Summary: | security/nflib: Remove NATIVE option | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Daniel Engberg <diizzy> | ||||
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | yuri:
maintainer-feedback-
|
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
I don't think that this patch is correct. NFL_OPTIMIZED should be enabled in sync with WITH_DEBUG=yes. Disabling it isn't right. I will commit an altered patch. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce1070f1121f0d062dcf393bdc42f39d15438e13 commit ce1070f1121f0d062dcf393bdc42f39d15438e13 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-08-07 06:42:51 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-08-07 06:44:53 +0000 security/nflib: Remove NATIVE option Let CPUTYPE handle native optimizations. PR: 272702 Reported by: diizzy@ security/nflib/Makefile | 6 +----- security/nflib/files/patch-CMakeCompilers.txt (new) | 11 +++++++++++ security/nflib/files/patch-CMakeLists.txt | 11 ++++++++++- 3 files changed, 22 insertions(+), 6 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=950dfcdb8daf2917b474950a8d71b1dc722fbe48 commit 950dfcdb8daf2917b474950a8d71b1dc722fbe48 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-08-07 07:00:40 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-08-07 07:00:40 +0000 security/nflib: Turn on inner optimization option when no WITH_DEBUG is defined PR: 272702 security/nflib/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dbe826b8640bbd7dc2952f796e7d4b8be691c37a commit dbe826b8640bbd7dc2952f796e7d4b8be691c37a Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-08-07 07:06:41 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-08-07 07:07:15 +0000 security/nflib: Improve handling of SIMD instructions PR: 272702 security/nflib/Makefile | 2 +- .../nflib/files/patch-include_nfl_arch.hpp (new) | 19 ++++++++++++++++++ .../nflib/files/patch-include_nfl_ops.hpp (new) | 23 ++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) |
Created attachment 243597 [details] Patch for nflib Rely on CPUTYPE and what the compiler defines Compile and runtime tested on FreeBSD 13.2-RELEASE (amd64) (make, make check-plist make test)