Skip to content

Commit

Permalink
Minor fixes for building TAU and zerosum without MPI
Browse files Browse the repository at this point in the history
Former-commit-id: 7a8ea86aa1e17e5dcef4ad4478e8001ce9f7a344
  • Loading branch information
khuck committed Nov 3, 2024
1 parent 3bacc34 commit 02d9c55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -11698,6 +11698,8 @@ build_zerosum() {
fi
if [ "${mpi}" = "yes" ] ; then
echo "TAUMPI=-DZeroSum_WITH_MPI=TRUE" >> ${zerosum_include_file}
else
echo "TAUMPI=-DZeroSum_WITH_MPI=FALSE" >> ${zerosum_include_file}
fi
cp etc/Makefile.zerosum zerosum/Makefile
fixmakeargs="$fixmakeargs ZeroSum "
Expand Down
2 changes: 1 addition & 1 deletion etc/Makefile.zerosum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include zerosum.mk

build/CMakeCache.txt:
cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX) -DZeroSum_BUILD_TESTS=FALSE -DCMAKE_INSTALL_PREFIX=$(PREFIX)/$(TAUARCH) $(TAUOMPT) $(TAUCFLAGS) $(TAUCXXFLAGS) $(TAUCUDA) $(TAUHIP) $(TAUSYCL)
cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX) -DZeroSum_BUILD_TESTS=FALSE -DCMAKE_INSTALL_PREFIX=$(PREFIX)/$(TAUARCH) $(TAUOMPT) $(TAUCFLAGS) $(TAUCXXFLAGS) $(TAUCUDA) $(TAUHIP) $(TAUSYCL) $(TAUMPI)

all : build/CMakeCache.txt
$(MAKE) -C build all
Expand Down

0 comments on commit 02d9c55

Please sign in to comment.