Page MenuHomeFreeBSD

[new port] math/libpgmath: Compiler-callable math intrinsics library
ClosedPublic

Authored by jmd on Sep 5 2018, 1:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 14 2024, 12:00 AM
Unknown Object (File)
Mar 14 2024, 12:00 AM
Unknown Object (File)
Mar 14 2024, 12:00 AM
Unknown Object (File)
Mar 14 2024, 12:00 AM
Unknown Object (File)
Mar 14 2024, 12:00 AM
Unknown Object (File)
Mar 13 2024, 11:47 PM
Unknown Object (File)
Feb 10 2024, 8:23 PM
Unknown Object (File)
Dec 22 2023, 10:47 PM
Subscribers

Details

Summary

This add libpgmath. It is the math library of the flang compiler with support for vector operations.

Patches were in large part adapted from the OpenBSD port.

Test Plan

portlint -Aac clean
poudriere tested HEAD amd64
Older releases lack support of cpuid bits needed.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Add check for older than 12.0

Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.

math/libpgmath/Makefile
16
  1. "for now" everything in the ports tree is true at the time it is committed, so remove it.
  2. "only builds" is what ONLY_FOR_ARCHS means, so, remove it.
  3. ONLY_FOR_ARCHS_REASONS_<arch> is used when <arch> is not in the supported architectures, so this one will never be used, you should remove the _amd64 bit.
38–42

Could possibly be replaced with

IGNORE_FreeBSD_10= blah
IGNORE_FreeBSD_11= blah
math/libpgmath/pkg-descr
2

Please provide a longer description, at least one paragraph with two lines.

jmd marked 3 inline comments as done.Sep 5 2018, 7:05 PM

Comments addressed

Address review comments.

This revision is now accepted and ready to land.Sep 6 2018, 8:02 PM
This revision was automatically updated to reflect the committed changes.