flintlib: only enable openblas where supported
This commit is contained in:
parent
90274fef20
commit
91758832bb
|
@ -18,12 +18,16 @@ checksum=5911fedff911100f15781f35e3a4fa934fe60e4aea02a8c10cc8918101c1eed8
|
||||||
|
|
||||||
build_options="ntl openblas"
|
build_options="ntl openblas"
|
||||||
desc_option_ntl="enable NTL support"
|
desc_option_ntl="enable NTL support"
|
||||||
build_options_default="openblas"
|
build_options_default=""
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default+=" ntl"
|
build_options_default+=" ntl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64*|i686*|aarch64*|arm*|ppc64*) build_options_default+=" openblas";;
|
||||||
|
esac
|
||||||
|
|
||||||
CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
|
CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
|
||||||
|
|
||||||
flintlib-devel_package() {
|
flintlib-devel_package() {
|
||||||
|
|
Loading…
Reference in New Issue