Skip to content
Snippets Groups Projects
Commit 94875bea authored by Romin Tomasetti's avatar Romin Tomasetti
Browse files

fix(symbols): removing leaking MPI symbols (see #2173)

parent 165ded1e
No related branches found
No related tags found
No related merge requests found
Pipeline #10222 skipped
...@@ -85,6 +85,7 @@ windows_msvc_ci: ...@@ -85,6 +85,7 @@ windows_msvc_ci:
.linux_official: &linux_official .linux_official: &linux_official
only: only:
- master@gmsh/gmsh - master@gmsh/gmsh
- fix-mpi-symbols-leak@romin.tomasetti/gmsh
<<: *ssh_config <<: *ssh_config
script: script:
- mkdir build - mkdir build
...@@ -92,12 +93,20 @@ windows_msvc_ci: ...@@ -92,12 +93,20 @@ windows_msvc_ci:
- cmake -DGMSH_HOST=gmsh.info -DENABLE_PETSC=1 -DPETSC_ARCH=real_mumps_seq -DPETSC_DIR=/petsc-3.14.4 ${EXTRA_OPTION} .. - cmake -DGMSH_HOST=gmsh.info -DENABLE_PETSC=1 -DPETSC_ARCH=real_mumps_seq -DPETSC_DIR=/petsc-3.14.4 ${EXTRA_OPTION} ..
- make package -j 8 - make package -j 8
- PKG=`ls gmsh-*.tar*` - PKG=`ls gmsh-*.tar*`
- scp ${PKG} geuzaine@gmsh.info:.wwwgmsh/bin/Linux/${PKG/\.tar\.gz/\.tgz} # - scp ${PKG} geuzaine@gmsh.info:.wwwgmsh/bin/Linux/${PKG/\.tar\.gz/\.tgz}
- ctest -j 8 --output-on-failure - ctest -j 8 --output-on-failure
tags: tags:
- linux64 - linux64
- docker - docker
.linux_sdk_official: &linux_sdk_official
script:
- !reference [.linux_official, script]
# Ensure libgmsh.so exists, and check that it doesn't expose MPI-related symbols.
# See also https://gitlab.onelab.info/gmsh/gmsh/-/issues/2173.
- test -f libgmsh.so
- if objdump -T libgmsh.so | c++filt | grep "MPI_Init" ;then echo "MPI_Init was found. This should not happen."; exit -1;fi
linux_official_snapshot: linux_official_snapshot:
image: onelab/debian.stretch.64bit image: onelab/debian.stretch.64bit
variables: variables:
...@@ -119,6 +128,7 @@ linux-sdk_official_snapshot: ...@@ -119,6 +128,7 @@ linux-sdk_official_snapshot:
variables: variables:
EXTRA_OPTION: "-DENABLE_BUILD_DYNAMIC=1 -DINSTALL_SDK_README=1" EXTRA_OPTION: "-DENABLE_BUILD_DYNAMIC=1 -DINSTALL_SDK_README=1"
<<: *linux_official <<: *linux_official
<<: *linux_sdk_official
except: except:
- tags - tags
artifacts: artifacts:
...@@ -132,6 +142,7 @@ linux-sdk_official_release: ...@@ -132,6 +142,7 @@ linux-sdk_official_release:
variables: variables:
EXTRA_OPTION: "-DGMSH_RELEASE=1 -DENABLE_BUILD_DYNAMIC=1 -DINSTALL_SDK_README=1" EXTRA_OPTION: "-DGMSH_RELEASE=1 -DENABLE_BUILD_DYNAMIC=1 -DINSTALL_SDK_README=1"
<<: *linux_official <<: *linux_official
<<: *linux_sdk_official
only: only:
- /^gmsh_.*$/ - /^gmsh_.*$/
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment