pkgsrc-wip/openblas/options.mk

20 lines
535 B
Makefile

PKG_OPTIONS_VAR= PKG_OPTIONS.openblas
# Choose dynamic target/processor choice at runtime or
# fixed build with build host CPU.
PKG_OPTIONS_GROUP.target= dynamic fixed
PKG_OPTIONS_REQUIRED_GROUPS= target
PKG_SUGGESTED_OPTIONS= dynamic
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdynamic)
MAKE_FLAGS+= DYNAMIC_ARCH=1
.else
MAKE_FLAGS+= DYNAMIC_ARCH=0
.endif
# Other options create variants of the library, not
# configurations of one. Especially INTERFACE64, wich
# changes the API!