ENH: improve configuration of gperftools (now at version 2.5)

- support gperftools-none, gperftools-system configurations
  as per other third-party packages.

STYLE: clean up more environment variables

CONFIG: testing adios rule
This commit is contained in:
Mark Olesen
2016-11-27 16:24:40 +01:00
parent dc1c37e464
commit 00c3c6f9a7
4 changed files with 74 additions and 14 deletions

19
wmake/rules/General/ADIOS Normal file
View File

@ -0,0 +1,19 @@
#-------------------------------*- makefile -*---------------------------------
# ADIOS includes/libraries
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
sinclude $(RULES)/mplib$(WM_MPLIB)
ADIOS_INC = -I$(ADIOS_ARCH_PATH)/include
ADIOS_LIBS := \
-L$(ADIOS_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \
-ladios_$(FOAM_MPI)
# ADIOS dependent libraries. Eg, after -L/usr/lib64 ...
# Query as sequential to reduce mpi-dependencies
ADIOS_LIBS +=
$(shell $(ADIOS_ARCH_PATH)/bin/adios_config -s -l | sed -e 's@^.*-L/usr/lib[^ ]*@@')
#------------------------------------------------------------------------------