From 85e88112fcbcfc9f617bd569bacb29d58e1aa4ef Mon Sep 17 00:00:00 2001 From: James Osborn Date: Mon, 17 Jun 2024 15:57:28 -0500 Subject: [PATCH] allow bootstrap without MPI --- bootstrap-travis | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/bootstrap-travis b/bootstrap-travis index 41b23a2..a6f89c4 100755 --- a/bootstrap-travis +++ b/bootstrap-travis @@ -1,5 +1,12 @@ #!/bin/sh +comms="mpi" +cc="mpicc" +if [ "X$1" = "Xsingle" ]; then + comms="single" + cc="gcc" +fi + qmpv="qmp-2.5.4" qmp="$qmpv.tar.gz" if [ ! -f $qmp ]; then @@ -10,8 +17,8 @@ mkdir qmp cd $qmpv ./configure \ --prefix="$PWD/../qmp" \ - --with-qmp-comms-type=mpi \ - CC=mpicc \ + --with-qmp-comms-type=$comms \ + CC=$cc \ CFLAGS="-Wall -O3 -std=gnu99 -g -fPIC" make && make install cd .. @@ -27,7 +34,7 @@ cd $qiov ./configure \ --prefix="$PWD/../qio" \ --with-qmp="$PWD/../qmp" \ - CC=mpicc \ + CC=$cc \ CFLAGS="-Wall -O3 -std=gnu99 -g -fPIC" make && make install cd ..