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 1414ifeq ($(INTERFACE64),1)
1515USE_64BITINT=1
1616endif
17+ ifeq ($(USE_OPENMP),1)
18+ FOMP_OPT:= -fopenmp
19+ endif
1720
1821PREFIX ?= /opt/OpenBLAS
1922
@@ -178,6 +181,7 @@ endif
178181 @echo 'libnamesuffix='$(LIBNAMESUFFIX) >> "$(PKGFILE)"
179182 @echo 'libsuffix='$(SYMBOLSUFFIX) >> "$(PKGFILE)"
180183 @echo 'includedir='$(OPENBLAS_INCLUDE_DIR) >> "$(PKGFILE)"
184+ @echo 'omp_opt='$(FOMP_OPT) >> "$(PKGFILE)"
181185 @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)"
182186 @echo 'version='$(VERSION) >> "$(PKGFILE)"
183187 @echo 'extralib='$(PKG_EXTRALIB) >> "$(PKGFILE)"
You can’t perform that action at this time.
0 commit comments