Commit 09b9e3c6 authored by incardon's avatar incardon

Fixing installation of PETSC on osx

parent 2ad9dce2
......@@ -239,7 +239,7 @@ if [ ! -d "$1/SUPERLU_DIST" ]; then
$sed_command -i "/CC\s\+=\scc/c\CC = mpicc"
$sed_command -i "/FORTRAN\s\+=\sftn/c\FORTRAN = mpif90"
if [ x"$dgc_compiler" == x"clang++" ]; then
if [ x"$CXX" == x"clang++" ]; then
$sed_command -i "/CFLAGS\s\+=\s-fast\s-m64\s-std=c99\s-Wall\s-openmp\s\\\/c\CFLAGS =-fpic -O3 -m64 -std=c99 -Wall \$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0"
$sed_command -i "/CFLAGS\s\+=\s-fast\s-m64\s-std=c99\s-Wall\s-openmp\s\\\/c\CFLAGS =-fpic -O3 -m64 -std=c99 -Wall -fopenmp \$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment