From bc4d8f42da3875b356530f0fac89bfd3270c5b97 Mon Sep 17 00:00:00 2001 From: Cyrus Harrison Date: Sun, 3 Sep 2023 14:05:25 -0700 Subject: [PATCH] ... --- azure-pipelines.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 20d7b1539..e8f55a44b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -605,11 +605,11 @@ stages: ls -l # find spack installed cmake export ROOT_DIR=`pwd` - export CMAKE_BIN_DIR=`ls -d ${ROOT_DIR}/uberenv_libs/spack/opt/spack/*/*/cmake*/bin` + export CMAKE_BIN_DIR=`ls -d ${ROOT_DIR}/uberenv_libs/spack/opt/spack/*/*/cmake*/bin/` export PATH=${CMAKE_BIN_DIR}:$PATH echo $PATH # find spack installed python (use spack view dir) - export PYTHON_EXE=`ls -d ${ROOT_DIR}/uberenv_libs/spack_env/view/python*/bin/python3` + export PYTHON_EXE=`ls ${ROOT_DIR}/uberenv_libs/spack_env/view/python*/bin/python3` # add conduit module to python path export PYTHONPATH=${ROOT_DIR}/install/python-modules/ # NOTE: @@ -617,7 +617,8 @@ stages: # this wasn't needed with older spack. # I think embedded linking logic is resolving symlinks and therefore # not using view layout that wires up dependent python modules - export PYTHONPATH=${PYTHONPATH}:${ROOT_DIR}/uberenv_libs/spack_env/view/python*/lib/python*/site-packages/` + py_site_pkgs_dir=`ls -d ${ROOT_DIR}/uberenv_libs/spack_env/view/python*/lib/python*/site-packages/` + export PYTHONPATH=${PYTHONPATH}:${py_site_pkgs_dir} echo $PYTHONPATH # CI LD_LIB FIX # NOTE: