openblas: Fix pkglint issues, streamline comments

This commit is contained in:
Jason Bacon 2020-11-05 10:13:00 -06:00
parent fc369ae973
commit 6a203d8f49
2 changed files with 10 additions and 9 deletions

View File

@ -53,6 +53,8 @@ MAKE_FLAGS+= FC=${FC:Q}
# Default is detected from build host, which may differ from run host.
BUILD_DEFS+= OPENBLAS_THREAD_LIMIT
.include "../../mk/bsd.prefs.mk"
# Default checks number of cores of build host.
# Do we want a pkgsrc-wide default?
OPENBLAS_THREAD_LIMIT?= # empty
@ -60,6 +62,7 @@ OPENBLAS_THREAD_LIMIT?= # empty
MAKE_FLAGS+= NUM_THREADS=${OPENBLAS_THREAD_LIMIT:Q}
.endif
BENCHMARK_MAXTHREADS?= 8
.if ${MACHINE_ARCH:M*64} == ""
MAKE_FLAGS+= BINARY32=1
.else

View File

@ -1,8 +1,7 @@
# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.openblas
# Choose dynamic target/processor choice at runtime or
# fixed build with build host CPU.
# Auto-detect CPU features at runtime or use static features from build host
PKG_SUPPORTED_OPTIONS= dynamic-arch
PKG_SUGGESTED_OPTIONS= dynamic-arch
@ -15,6 +14,5 @@ MAKE_FLAGS+= DYNAMIC_ARCH=1
MAKE_FLAGS+= DYNAMIC_ARCH=0
.endif
# Other options create variants of the library, not
# configurations of one. Especially INTERFACE64, which
# changes the API!
# Other options create variants of the library, not configurations of one.
# Especially INTERFACE64, which changes the API!