mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 21:55:30 -04:00
check existence of ga-config
This commit is contained in:
parent
41496ee83b
commit
fd2f4ce952
1 changed files with 3 additions and 2 deletions
|
|
@ -3760,13 +3760,14 @@ endif
|
|||
|
||||
# lower level libs used by communication libraries
|
||||
#case guard against case when tools have not been compiled yet
|
||||
# ifeq ("$(wildcard ${GA_PATH}/bin/ga-config)","")
|
||||
# else
|
||||
ifeq ("$(wildcard ${GA_PATH}/bin/ga-config)","")
|
||||
else
|
||||
COMM_LIBS := $(shell ${GA_PATH}/bin/ga-config --network_ldflags)
|
||||
COMM_LIBS := $(COMM_LIBS) $(shell ${GA_PATH}/bin/ga-config --network_libs)
|
||||
#comex bit
|
||||
#COMM_LIBS += $(shell [ -e ${NWCHEM_TOP}/src/tools/build/comex/config.h ] && grep LIBS\ = ${NWCHEM_TOP}/src/tools/build/comex/Makefile|grep -v _LIBS| cut -b 8-) -lpthread
|
||||
COMM_LIBS := $(COMM_LIBS) $(shell [ -e ${GA_PATH}/bin/comex-config ] && ${GA_PATH}/bin/comex-config --libs) -lpthread
|
||||
endif
|
||||
ifdef COMM_LIBS
|
||||
CORE_LIBS += $(COMM_LIBS)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue