From: Matthias Maier Date: Mon, 6 Mar 2023 17:01:40 +0000 (-0600) Subject: CI: Disable -fuse-ld=gold on Jenkins CI X-Git-Tag: v9.5.0-rc1~446^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f8ccce754ff83a5f1f7a058cce3315cc823bd86;p=dealii.git CI: Disable -fuse-ld=gold on Jenkins CI This works around an underlinkage issue with the current CI environment and the Trilinos library: ``` /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosamesos2.so: error: undefined reference to 'Amesos2::KLU2 >, Tpetra::MultiVector > >::KLU2(Teuchos::RCP > const>, Teuchos::RCP > >, Teuchos::RCP > const>)' /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosamesos2.so: error: undefined reference to 'Amesos2::TachoSolver >, Tpetra::MultiVector > >::TachoSolver(Teuchos::RCP > const>, Teuchos::RCP > >, Teuchos::RCP > const>)' /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector >::getVector(unsigned long) const' /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector >::getLocalLength() const' /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector >::getGlobalLength() const' /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector >::getNumVectors() const' /home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector >::get1dCopy(Teuchos::ArrayView const&, unsigned long) const' ``` --- diff --git a/contrib/ci/Jenkinsfile.mpi b/contrib/ci/Jenkinsfile.mpi index ffb4f3a49d..90addb9b10 100644 --- a/contrib/ci/Jenkinsfile.mpi +++ b/contrib/ci/Jenkinsfile.mpi @@ -105,6 +105,7 @@ pipeline -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_WITH_MPI=ON \ -D DEAL_II_UNITY_BUILD=OFF \ + -D DEAL_II_COMPILER_HAS_FUSE_LD_GOLD=false \ $WORKSPACE/ time ninja -j 10 # 12 gives OOM time ninja test # quicktests diff --git a/contrib/ci/Jenkinsfile.serial b/contrib/ci/Jenkinsfile.serial index 810e626cd4..80bc0783b2 100644 --- a/contrib/ci/Jenkinsfile.serial +++ b/contrib/ci/Jenkinsfile.serial @@ -106,6 +106,7 @@ pipeline -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_WITH_MPI=OFF \ -D DEAL_II_UNITY_BUILD=ON \ + -D DEAL_II_COMPILER_HAS_FUSE_LD_GOLD=false \ $WORKSPACE/ time ninja -j 10 # 12 gives OOM time ninja test # quicktests