From 6d605bc75fb7c6972b386f0a7f99fdcd869740a0 Mon Sep 17 00:00:00 2001
From: Scott Mindock <srmindock@wisc.edu>
Date: Tue, 16 Apr 2024 14:03:14 +0000
Subject: [PATCH] where

---
 distro/scripts/adl_cots.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh
index 15c7fc8..dae8ff4 100755
--- a/distro/scripts/adl_cots.sh
+++ b/distro/scripts/adl_cots.sh
@@ -474,7 +474,8 @@ nagg(){
     cd hdf5_HL_REGION*  && \
     export HDF5_INSTALL_DIR=${USER_COTS_PATH}/lib  && \
     export LDFLAGS=" -static -L${USER_COTS_PATH}/lib "  && \
- 
+    export CPPFLAGS=" -I${USER_COTS_PATH}/include "${CPPFLAGS}
+    export LIBS="-L${USER_COTS_PATH}/lib -lhdf5"
     ls ${USER_COTS_PATH}/lib
     make
     make install
@@ -488,8 +489,7 @@ nagg(){
     ls ${USER_COTS_PATH}/include
     cd nagg-1.6.2  && \
     patch -p1 <  ${COTS_HOME}/scripts/revised_nagg.patch   && \
-    export CPPFLAGS=" -I${USER_COTS_PATH}/include "${CPPFLAGS}
-    export LIBS="-L${USER_COTS_PATH}/lib -lhdf5"
+
     ./configure --help
     ./configure  --prefix=${USER_COTS_PATH}   --exec-prefix=${USER_COTS_PATH} --with-hlregion=${USER_COTS_PATH}/lib   && \
     make   && \
-- 
GitLab