Commit 246b9d1b authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Redirect configure error output to non-tracked log-file

parent c9cf590f
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ function test_legacy_fortran {
      J=I-I
      END
EOF
    $1 -std=legacy conf_test_fortran.f -o conf_test_fortran > /dev/null 2>errors.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
@@ -211,7 +211,7 @@ echo -n "configure: checking for ar... "
if [ "x$AR" = "x" ]; then
    AR="ar"
fi
$AR --version > /dev/null 2>errors.log
$AR --version > /dev/null 2>error.log
result=$?
if [ "x$result" = "x0" ]; then
    echo "$AR"
@@ -246,7 +246,7 @@ else
      J=I-I
      END
EOF
    $FC -ggdb test_fortran.f -o test_fortran > /dev/null 2>errors.log
    $FC -ggdb test_fortran.f -o test_fortran > /dev/null 2>error.log
    result=$?
    if [ "x$result" = "x0" ]; then
	echo "yes"
@@ -294,7 +294,7 @@ int main() {
  return (i + j);
}
EOF
$CXX $CLANGFLAGS test_compiler.cpp -o test_compiler > /dev/null 2>errors.log
$CXX $CLANGFLAGS test_compiler.cpp -o test_compiler > /dev/null 2>error.log
result=$?
if [ "x$result" = "x0" ]; then
    echo "yes"
@@ -304,7 +304,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>errors.log
$CXX $CLANGFLAGS -ggdb test_compiler.cpp -o test_compiler > /dev/null 2>error.log
result=$?
if [ "x$result" = "x0" ]; then
    echo "yes"
@@ -335,7 +335,7 @@ int main() {
  return result;
}
EOF
$CXX test_compiler.cpp -o test_compiler > /dev/null 2>errors.log
$CXX test_compiler.cpp -o test_compiler > /dev/null 2>error.log
result=$?
if [ "x$result" = "x0" ]; then
    ./test_compiler
@@ -363,7 +363,7 @@ int main() {
  return result;
}
EOF
    $CXX -fopenmp test_compiler.cpp -o test_compiler > /dev/null 2>errors.log
    $CXX -fopenmp test_compiler.cpp -o test_compiler > /dev/null 2>error.log
    result=$?
    if [ "x$result" = "x0" ]; then
	./test_compiler
@@ -738,7 +738,7 @@ EOF
    result=$?
    rm conf_test_offload.cpp
    if [ "x$result" = "x0" ]; then
	./conf_test_offload > /dev/null 2>errors.log
	./conf_test_offload > /dev/null 2>error.log
	result=$?
	rm conf_test_offload
    fi