From 3f8ccce754ff83a5f1f7a058cce3315cc823bd86 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 6 Mar 2023 11:01:40 -0600 Subject: [PATCH] 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' ``` --- contrib/ci/Jenkinsfile.mpi | 1 + contrib/ci/Jenkinsfile.serial | 1 + 2 files changed, 2 insertions(+) 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 -- 2.39.5