We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9794df1 commit 63f111aCopy full SHA for 63f111a
1 file changed
3rdparty/ff-petsc/Makefile
@@ -35,7 +35,11 @@ DARWIN=$(shell uname | grep Darwin 2> /dev/null)
35
36
W_SUDO:=$(SHELL mkdir -p "$(DESTDIR)$(FF_prefix_petsc)" && test -w "$(DESTDIR)$(FF_prefix_petsc) || echo sudo)
37
ifeq ($(COMPILE_OPENBLAS),openblas)
38
+ifeq ($(FC),)
39
PETSC_OPENBLAS := --download-f2cblaslapack
40
+else
41
+PETSC_OPENBLAS := --download-openblas
42
+endif
43
PETSC_OPENBLAS_C := --with-blaslapack-dir=$(DIR_INSTALL_REAL)
44
else
45
PETSC_OPENBLAS = --with-blaslapack-include='$(shell echo $(BLASINC) | sed "s/-I//g")' \
0 commit comments