File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,16 +69,16 @@ ifeq ($(FFCMAKE),no)
6969PETSC_DOWNLOAD := $(PETSC_DOWNLOAD ) --download-cmake
7070endif
7171PETSC_DOWNLOAD_C := $(PETSC_DOWNLOAD_C ) --download-htool
72- ifeq ($(FF_generic_petsc ) , yes)
73- FLAGS_MTUNE := -mtune=generic
74- endif
7572unexport MAKEFLAGS
76- COMMON_FLAGS := --with-debugging=0 COPTFLAGS='-O3 $( FLAGS_MTUNE ) ' CXXOPTFLAGS='-O3 $( FLAGS_MTUNE ) ' FOPTFLAGS='-O3 $( FLAGS_MTUNE ) ' --with-ssl=0 --with-x=0 --with-fortran-bindings=0 --with-hg=0 --with-c2html=0 --with-coverage=0 --with-syclc=0 --with-hipc=0 --with-cudac=0 --with-tau-perfstubs=0 --with-python=0 \
73+ COMMON_FLAGS := --with-debugging=0 --with-ssl=0 --with-x=0 --with-fortran-bindings=0 --with-hg=0 --with-c2html=0 --with-coverage=0 --with-syclc=0 --with-hipc=0 --with-cudac=0 --with-tau-perfstubs=0 --with-python=0 \
7774 --download-slepc --download-hpddm
7875
7976ifneq ($(wildcard ~/.petsc_pkg) ,)
8077COMMON_FLAGS += --with-packages-download-dir=~/.petsc_pkg
8178endif
79+ ifeq ($(FF_generic_petsc ) , yes)
80+ COMMON_FLAGS += --with-avx512-kernels=0 CFLAGS+='-mtune=generic' CXXFLAGS+='-mtune=generic' FFLAGS+='-mtune=generic'
81+ endif
8282
8383ifeq ($(FC ) ,)
8484COMMON_FLAGS += --with-fc=0
You can’t perform that action at this time.
0 commit comments