BSD Ports

math/openblas 0.3.34_1,2 FreeBSD

Optimized BLAS library based on GotoBLAS2

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
117071ee57
License
BSD3CLAUSE
Categories
math
Package size
6157.6 KiB, 37744.8 KiB installed

Description

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS.

NOTE: If you want to specify your CPU microarchitecture manually, please use TARGET_CPU_ARCH knob, e.g., "make TARGET_CPU_ARCH=NEHALEM". This value is set TARGET build flag.

In the other systems

SystemPortVersion
FreeBSDmath/openblas0.3.34_1,2
NetBSDmath/openblas0.3.31nb1
DragonFlymath/openblas0.3.29_1,2
MidnightBSDmath/openblas0.3.25,2

Install

Binary package:

pkg install openblas

From the ports tree:

cd /usr/ports/math/openblas/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	openblas>0:math/openblas
LIB_DEPENDS=	libopenblas.so:math/openblas

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.34_1,20.3.34_1,2-0.3.30,20.3.34_1,2
FreeBSD:14:quarterly0.3.34_1,20.3.34_1,2n/a0.3.30,20.3.34_1,2
FreeBSD:15:latest0.3.34_1,20.3.34_1,2n/a0.3.30,20.3.30,2
FreeBSD:15:quarterly0.3.34_1,20.3.34_1,2n/an/an/a
FreeBSD:16:latest0.3.34_1,20.3.34_1,2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 8
Required by 1965

The first 100 are listed.

Configuration

Options name: math_openblas

OptionDefaultDescription
DYNAMIC_ARCHoffOptimize for multiple CPU types, otherwise for this CPU
INTERFACE64offUse 8 byte integers on 64-bit architectures
OPENMPonUse OpenMP for threading
POWER6offOptimize for POWER6, instead of the default PPC970
POWER8offOptimize for POWER8, instead of the default PPC970
USES
compiler:c11 cpe fortran gmake perl5 pkgconfig
Service scripts
none

Files

pkg-plist 17
  • include/cblas.h
  • include/f77blas.h
  • include/lapack.h
  • include/lapacke.h
  • include/lapacke_config.h
  • include/lapacke_mangling.h
  • include/lapacke_utils.h
  • include/openblas_config.h
  • lib/cmake/openblas/OpenBLASConfig.cmake
  • lib/cmake/openblas/OpenBLASConfigVersion.cmake
  • lib/libopenblas.a
  • lib/libopenblas.so
  • lib/libopenblas.so.0
  • lib/libopenblasp-r.a
  • lib/libopenblasp-r.so
  • libdata/pkgconfig/openblas.pc
  • libdata/pkgconfig/openblas64.pc
distinfo 3
FileSizeSHA256
openblas/large.tgz2595f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
openblas/timing.tgz1.059485e+06999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
openblas/OpenMathLib-OpenBLAS-v0.3.34_GH0.tar.gz2.5326686e+07cd7e129868320cc2d033afa920e31202dfe0b8066a5b66661900ccc0f197dfed
Master sites 1
  • NL/lapack/timing/:lapack_tmg

Commit history 3

DateCommitCreditsLog message
117071ee57 Piotr Kubaj math/openblas: switch to clang on powerpc64le
With the recent upstream changes, it's finally possible to build with clang on powerpc64le.
6938e21c60 Thibault Payet math/openblas: Update 0.3.33 => 0.3.34
Changelog: https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.34 PR: 296886 Reported by: Thibault Payet Approved by: Eijiro Shibusawa (maintainer)
48bc034e07 Robert Clausecker math/openblas: fix build on i386
Due to a miscompilation, a stack variable accessed by the MOVAPS instruction ends up being misaligned. With MOVAPS requiring memory operands to be aligned, this causes a bus error on i386. The underlying cause could be that gfortran assumes a 16-byte aligned stack as is the case on current i386 Linux, while we have not done the same ABI change. I have worked around the problem by passing -mpreferred-stack-boundary=2 to disable assumptions about stack alignment, though ultimately this will need to be fixed in the gcc and gfortran ports. PR: 293087 MFH: 2026Q3 Reported by: salvadore See also: https://github.com/OpenMathLib/OpenBLAS/issues/5905 Approved by: portmgr (build fix blanket)