File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 14
14
ifeq ($(INTERFACE64),1)
15
15
USE_64BITINT=1
16
16
endif
17
+ ifeq ($(USE_OPENMP),1)
18
+ FOMP_OPT:= -fopenmp
19
+ endif
17
20
18
21
PREFIX ?= /opt/OpenBLAS
19
22
@@ -178,6 +181,7 @@ endif
178
181
@echo 'libnamesuffix='$(LIBNAMESUFFIX) >> "$(PKGFILE)"
179
182
@echo 'libsuffix='$(SYMBOLSUFFIX) >> "$(PKGFILE)"
180
183
@echo 'includedir='$(OPENBLAS_INCLUDE_DIR) >> "$(PKGFILE)"
184
+ @echo 'omp_opt='$(FOMP_OPT) >> "$(PKGFILE)"
181
185
@echo 'openblas_config= USE_64BITINT='$(INTERFACE64) 'DYNAMIC_ARCH='$(DYNAMIC_ARCH) 'DYNAMIC_OLDER='$(DYNAMIC_OLDER) 'NO_CBLAS='$(NO_CBLAS) 'NO_LAPACK='$(NO_LAPACK) 'NO_LAPACKE='$(NO_LAPACKE) 'NO_AFFINITY='$(NO_AFFINITY) 'USE_OPENMP='$(USE_OPENMP) $(TARGET) 'MAX_THREADS='$(NUM_THREADS)>> "$(PKGFILE)"
182
186
@echo 'version='$(VERSION) >> "$(PKGFILE)"
183
187
@echo 'extralib='$(PKG_EXTRALIB) >> "$(PKGFILE)"
You can’t perform that action at this time.
0 commit comments