mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: adjust adios config paths
This commit is contained in:
committed by
Andrew Heather
parent
e79cdf9f8f
commit
eb6ccdf7b1
@ -4,10 +4,9 @@
|
|||||||
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
|
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
|
||||||
sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB)
|
sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB)
|
||||||
|
|
||||||
# Obtain prefix and library information via adios2-config
|
# May need to strip off rpath ...
|
||||||
ADIOS_PREFIX := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --prefix)
|
|
||||||
ADIOS_LIBS := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --libs)
|
|
||||||
|
|
||||||
ADIOS_INC = -I${ADIOS_PREFIX}/include
|
ADIOS_FLAGS := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --cxx-flags)
|
||||||
|
ADIOS_LIBS := $(shell $(ADIOS2_ARCH_PATH)/bin/adios2-config --cxx-libs)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -114,8 +114,6 @@ have_adios2()
|
|||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
|
||||||
header="${header%/*}" # Strip one-level (include/adios2/...)
|
|
||||||
|
|
||||||
# OK
|
# OK
|
||||||
export HAVE_ADIOS2=true
|
export HAVE_ADIOS2=true
|
||||||
export ADIOS2_ARCH_PATH="$prefix"
|
export ADIOS2_ARCH_PATH="$prefix"
|
||||||
|
|||||||
Reference in New Issue
Block a user