Skip to content
Snippets Groups Projects
Commit 1a6d7853 authored by Henning Glawe's avatar Henning Glawe
Browse files

set fake-interpreter to /bin/sh in order to run checkbashisms and fix a...

set fake-interpreter to /bin/sh in order to run checkbashisms and fix a bashism in all octopus configure wrappers
parent 003e1f27
No related branches found
No related tags found
1 merge request!31conf-wrappers: set LIBS_ELPA FCFLAGS_ELPA
#!/bin/sh
export CC="mpicc"
export CFLAGS="${GCC_ARCH:+-march=$GCC_ARCH }-O2 -g -fno-var-tracking-assignments"
export CXX="mpicxx"
......@@ -40,7 +41,7 @@ export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
"$@" | tee 00-configure.log 2>&1
echo "-------------------------------------------------------------------------------" >&2
echo "configure output has been saved to 00-configure.log" >&2
if [ "x${GCC_ARCH-}" == x ] ; then
if [ "x${GCC_ARCH-}" = x ] ; then
echo "Disabled hardware optimization. Set \$GCC_ARCH to the target microarchitecture." >&2
else
echo "Enabled hardware optimization for '$GCC_ARCH' microarchitecture." >&2
......
#!/bin/sh
export CC="mpicc"
export CFLAGS="${GCC_ARCH:+-march=$GCC_ARCH }-O2 -g -fno-var-tracking-assignments"
export CXX="mpicxx"
......@@ -39,7 +40,7 @@ export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
"$@" | tee 00-configure.log 2>&1
echo "-------------------------------------------------------------------------------" >&2
echo "configure output has been saved to 00-configure.log" >&2
if [ "x${GCC_ARCH-}" == x ] ; then
if [ "x${GCC_ARCH-}" = x ] ; then
echo "Disabled hardware optimization. Set \$GCC_ARCH to the target microarchitecture." >&2
else
echo "Enabled hardware optimization for '$GCC_ARCH' microarchitecture." >&2
......
#!/bin/sh
export CC="gcc"
export CFLAGS="${GCC_ARCH:+-march=$GCC_ARCH }-O2 -g -fno-var-tracking-assignments"
export CXX="g++"
......@@ -32,7 +33,7 @@ export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
"$@" | tee 00-configure.log 2>&1
echo "-------------------------------------------------------------------------------" >&2
echo "configure output has been saved to 00-configure.log" >&2
if [ "x${GCC_ARCH-}" == x ] ; then
if [ "x${GCC_ARCH-}" = x ] ; then
echo "Disabled hardware optimization. Set \$GCC_ARCH to the target microarchitecture." >&2
else
echo "Enabled hardware optimization for '$GCC_ARCH' microarchitecture." >&2
......
#!/bin/sh
export CC="mpicc"
export CFLAGS="${GCC_ARCH:+-march=$GCC_ARCH }-O2 -g -fno-var-tracking-assignments"
export CXX="mpicxx"
......@@ -40,7 +41,7 @@ export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
"$@" | tee 00-configure.log 2>&1
echo "-------------------------------------------------------------------------------" >&2
echo "configure output has been saved to 00-configure.log" >&2
if [ "x${GCC_ARCH-}" == x ] ; then
if [ "x${GCC_ARCH-}" = x ] ; then
echo "Disabled hardware optimization. Set \$GCC_ARCH to the target microarchitecture." >&2
else
echo "Enabled hardware optimization for '$GCC_ARCH' microarchitecture." >&2
......
#!/bin/sh
export CC="mpicc"
export CFLAGS="${GCC_ARCH:+-march=$GCC_ARCH }-O2 -g -fno-var-tracking-assignments"
export CXX="mpicxx"
......@@ -39,7 +40,7 @@ export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
"$@" | tee 00-configure.log 2>&1
echo "-------------------------------------------------------------------------------" >&2
echo "configure output has been saved to 00-configure.log" >&2
if [ "x${GCC_ARCH-}" == x ] ; then
if [ "x${GCC_ARCH-}" = x ] ; then
echo "Disabled hardware optimization. Set \$GCC_ARCH to the target microarchitecture." >&2
else
echo "Enabled hardware optimization for '$GCC_ARCH' microarchitecture." >&2
......
#!/bin/sh
export CC="gcc"
export CFLAGS="${GCC_ARCH:+-march=$GCC_ARCH }-O2 -g -fno-var-tracking-assignments"
export CXX="g++"
......@@ -34,7 +35,7 @@ export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
"$@" | tee 00-configure.log 2>&1
echo "-------------------------------------------------------------------------------" >&2
echo "configure output has been saved to 00-configure.log" >&2
if [ "x${GCC_ARCH-}" == x ] ; then
if [ "x${GCC_ARCH-}" = x ] ; then
echo "Disabled hardware optimization. Set \$GCC_ARCH to the target microarchitecture." >&2
else
echo "Enabled hardware optimization for '$GCC_ARCH' microarchitecture." >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment