Skip to content
Snippets Groups Projects
Commit b474473f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing PETSC

parent 949cfae4
No related branches found
No related tags found
No related merge requests found
......@@ -12,16 +12,22 @@ if [ -d "$1/PETSC" ]; then
exit 0
fi
# Detect gcc pr clang
source script/discover_os
source script/solve_python
discover_os
function haveProg() {
[ -x "$(command -v $1)" ]
}
if haveProg python2; then
python_command=python2
else
python_command=python
fi
function haveProg() {
[ -x "$(command -v $1)" ]
}
if haveProg python2; then
python_command=python2
else
......@@ -35,12 +41,6 @@ else
python_command=python
fi
# Detect gcc pr clang
source script/discover_os
source script/solve_python
discover_os
##### if we are on osx we use gsed
ldflags_petsc=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment