Patching Dec 9, 2021 6-7a CST- All GitLab services may be unavailable for 5-10 minutes

Commit 769751c3 authored by Roland Haas's avatar Roland Haas
Browse files

Makefile: use CXX for CXX compiler rather than CC

parent ca5cc7cf
CC=mpiCC
CCFLAGS=-Wall -g3 -O2
CXX=mpicxx
CXXFLAGS=-Wall -g3 -O2
# we call getgrgid which requires a dynamic executable and SEGFAULTs for a
# statically linked one
export CRAYPE_LINK_TYPE=dynamic
......@@ -10,7 +10,7 @@ export XTPE_LINK_TYPE=dynamic
all: mpitar test
mpitar: mpitar.cc timer.hh tarentry.cc tarentry.hh fileentry.hh cmdline.cc cmdline.hh async_writer.cc async_writer.hh
$(CC) $(LDFLAGS) $(CCFLAGS) mpitar.cc tarentry.cc cmdline.cc async_writer.cc -o mpitar
$(CXX) $(LDFLAGS) $(CXXFLAGS) mpitar.cc tarentry.cc cmdline.cc async_writer.cc -o mpitar
test: mpitar test.sh
@rm -rf test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment