Commit 9f96736b authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Fix missing space in USE_MAGMA and USE_CUBLAS compilation flags

parent 0ece2d28
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ function test_legacy_fortran {
      J=I-I
      END
EOF
    $1 -std=legacy conf_test_fortran.f -o conf_test_fortran > /dev/null 2>error.log
    $1 -std=legacy conf_test_fortran.f -o conf_test_fortran > /dev/null 2>>error.log
    result=$?
    rm conf_test_fortran.f
    if [ "x$result" = "x0" ]; then
@@ -233,7 +233,7 @@ echo -n "configure: checking for ar... "
if [ "x$AR" = "x" ]; then
    AR="ar"
fi
$AR --version > /dev/null 2>error.log
$AR --version > /dev/null 2>>error.log
result=$?
if [ "x$result" = "x0" ]; then
    echo "$AR"
@@ -268,7 +268,7 @@ else
      J=I-I
      END
EOF
    $FC -ggdb test_fortran.f -o test_fortran > /dev/null 2>error.log
    $FC -ggdb test_fortran.f -o test_fortran > /dev/null 2>>error.log
    result=$?
    if [ "x$result" = "x0" ]; then
	echo "yes"
@@ -316,7 +316,7 @@ int main() {
  return (i + j);
}
EOF
$CXX $CLANGFLAGS test_compiler.cpp -o test_compiler > /dev/null 2>error.log
$CXX $CLANGFLAGS test_compiler.cpp -o test_compiler > /dev/null 2>>error.log
result=$?
if [ "x$result" = "x0" ]; then
    echo "yes"
@@ -326,7 +326,7 @@ else
    exit 2
fi
echo -n "configure: checking wether $CXX supports -ggdb... "
$CXX $CLANGFLAGS -ggdb test_compiler.cpp -o test_compiler > /dev/null 2>error.log
$CXX $CLANGFLAGS -ggdb test_compiler.cpp -o test_compiler > /dev/null 2>>error.log
result=$?
if [ "x$result" = "x0" ]; then
    echo "yes"
@@ -357,7 +357,7 @@ int main() {
  return result;
}
EOF
$CXX test_compiler.cpp -o test_compiler > /dev/null 2>error.log
$CXX test_compiler.cpp -o test_compiler > /dev/null 2>>error.log
result=$?
if [ "x$result" = "x0" ]; then
    ./test_compiler
@@ -385,7 +385,7 @@ int main() {
  return result;
}
EOF
    $CXX -fopenmp test_compiler.cpp -o test_compiler > /dev/null 2>error.log
    $CXX -fopenmp test_compiler.cpp -o test_compiler > /dev/null 2>>error.log
    result=$?
    if [ "x$result" = "x0" ]; then
	./test_compiler
@@ -767,7 +767,7 @@ EOF
    result=$?
    rm conf_test_offload.cpp
    if [ "x$result" = "x0" ]; then
	./conf_test_offload > /dev/null 2>error.log
	./conf_test_offload > /dev/null 2>>error.log
	result=$?
	rm conf_test_offload
    fi