Skip to content

Commit

Permalink
add conda_prefix to search path
Browse files Browse the repository at this point in the history
  • Loading branch information
joellubi committed Apr 10, 2024
1 parent e0dce08 commit c4a7afe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/go_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ main() {
fi

if [[ "${CGO_ENABLED}" = 1 ]]; then
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${install_dir}/lib"
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${install_dir}/lib"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CONDA_PREFIX}/lib:${install_dir}/lib"
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${CONDA_PREFIX}/lib:${install_dir}/lib"
fi

pushd "${source_dir}/go/adbc"
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/go_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ main() {
fi

if [[ "${CGO_ENABLED}" = 1 ]]; then
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${install_dir}/lib"
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${install_dir}/lib"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CONDA_PREFIX}/lib:${install_dir}/lib"
export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${CONDA_PREFIX}/lib:${install_dir}/lib"
fi

pushd "${source_dir}/go/adbc"
Expand Down

0 comments on commit c4a7afe

Please sign in to comment.