mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
openblas: pass ONLY_CBLAS=1 only when Fortran is not available
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7bec6225f3
commit
d125e8d4d3
@ -19,9 +19,10 @@ OPENBLAS_MAKE_OPTS += CROSS=1
|
|||||||
# Set OpenBLAS target
|
# Set OpenBLAS target
|
||||||
OPENBLAS_MAKE_OPTS += TARGET=$(BR2_PACKAGE_OPENBLAS_TARGET)
|
OPENBLAS_MAKE_OPTS += TARGET=$(BR2_PACKAGE_OPENBLAS_TARGET)
|
||||||
|
|
||||||
# Disable fortran by default until we add BR2_TOOLCHAIN_HAS_FORTRAN
|
# When Fortran is not available, only build the C version of BLAS
|
||||||
# hidden symbol to our toolchain infrastructure
|
ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),)
|
||||||
OPENBLAS_MAKE_OPTS += ONLY_CBLAS=1
|
OPENBLAS_MAKE_OPTS += ONLY_CBLAS=1
|
||||||
|
endif
|
||||||
|
|
||||||
# Enable/Disable multi-threading (not for static-only since it uses dlfcn.h)
|
# Enable/Disable multi-threading (not for static-only since it uses dlfcn.h)
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS):$(BR2_STATIC_LIBS),y:)
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS):$(BR2_STATIC_LIBS),y:)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user