Skip to content

Commit d4410ad

Browse files
committed
Disable silent-rules on CI
When CI fails with weird compiler / linker issues, it is frequently easier to debug when we have the exact compiler / linker flags that were used. Disable silent rules (ie, run like make V=1) when building under CI. Signed-off-by: Brian Barrett <[email protected]>
1 parent d14af58 commit d4410ad

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

.ci/community-jenkins/pr-builder.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ case ${PLATFORM_ID} in
192192
CONFIGURE_ARGS="$CONFIGURE_ARGS LDFLAGS=-Wl,-rpath,/usr/local/lib/gcc5 --with-wrapper-ldflags=-Wl,-rpath,/usr/local/lib/gcc5"
193193
;;
194194
esac
195+
CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-silent-rules"
195196

196197
echo "--> Compiler setup: $CONFIGURE_ARGS"
197198

.github/workflows/compile-cuda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
- name: Build Open MPI
2525
run: |
2626
./autogen.pl
27-
./configure --prefix=${PWD}/install --with-cuda=${CUDA_PATH} --with-cuda-libdir=${CUDA_PATH}/lib64/stubs
27+
./configure --prefix=${PWD}/install --with-cuda=${CUDA_PATH} --with-cuda-libdir=${CUDA_PATH}/lib64/stubs --disable-silent-rules
2828
make -j

.github/workflows/compile-rocm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
- name: Build Open MPI
2828
run: |
2929
./autogen.pl
30-
./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran
30+
./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran --disable-silent-rules
3131
LD_LIBRARY_PATH=/opt/rocm/lib make -j

.github/workflows/compile-ze.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
#
2828
# we have to disable romio as its old ze stuff doesn't compile with supported ZE API
2929
#
30-
./configure --prefix=${PWD}/install --disable-mpi-fortran --disable-io-romio --disable-oshmem --with-ze
30+
./configure --prefix=${PWD}/install --disable-mpi-fortran --disable-io-romio --disable-oshmem --with-ze --disable-silent-rules
3131
make -j

.github/workflows/macos-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Build Open MPI
2626
run: |
2727
./autogen.pl
28-
./configure --prefix=/opt/openmpi
28+
./configure --prefix=/opt/openmpi --disable-silent-rules
2929
make -j $(sysctl -n hw.logicalcpu)
3030
- name: Run unit tests
3131
run: |

.github/workflows/ompi_mpi4py.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
--disable-sphinx
5555
--disable-mpi-fortran
5656
--disable-oshmem
57+
--disable-silent-rules
5758
--prefix=/opt/openmpi
5859
LDFLAGS=-Wl,-rpath,/opt/openmpi/lib
5960
working-directory: mpi-build

0 commit comments

Comments
 (0)