ci: Enable MPI module in all jobs

This commit is contained in:
Eduardo Almeida
2023-09-19 22:41:43 +01:00
parent dfacaba661
commit 5144ee875e
5 changed files with 7 additions and 7 deletions

View File

@@ -20,6 +20,8 @@
python3
bash
iproute2 linux-headers
openmpi openmpi-dev
openssh
variables:
COMPILER: g++

View File

@@ -37,8 +37,6 @@
libeigen3-dev
qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
ssh
variables:
ENABLE_MPI: --enable-mpi
weekly-gcc:
rules:

View File

@@ -17,8 +17,6 @@
python
boost gsl gtk3 openmpi
openssh
variables:
ENABLE_MPI: --enable-mpi
# Build stage
per-commit-clang-debug:

View File

@@ -14,14 +14,16 @@
- pacman -Syu --noconfirm
base-devel cmake ninja ccache valgrind
python
boost gsl gtk3
boost gsl gtk3 openmpi
glibc-debug
openssh
script:
- mkdir -p $CCACHE_BASEDIR_VALUE
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/$CCACHE_BASEDIR_VALUE
- export MPI_CI=1
# missing the flag --disable-python
- ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --disable-gtk
- ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-mpi --disable-gtk
- if [[ "$CI_JOB_STAGE" == "build" ]];
then ./ns3 build;
fi

View File

@@ -43,7 +43,7 @@ workflow:
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/$CCACHE_BASEDIR_VALUE
- export MPI_CI=1
- CXX=$COMPILER ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-asserts --enable-werror $ENABLE_MPI
- CXX=$COMPILER ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-asserts --enable-werror --enable-mpi
$EXTRA_OPTIONS
- ccache -z
- if [[ "$CI_JOB_STAGE" == "build" ]];