Skip to content

Commit

Permalink
append original LD_LIBRARY_PATH to
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrogenSulfate committed Jan 9, 2025
1 parent 8e5a9f7 commit 8940bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
TF_INTRA_OP_PARALLELISM_THREADS: 1
TF_INTER_OP_PARALLELISM_THREADS: 1
LAMMPS_PLUGIN_PATH: ${{ github.workspace }}/dp_test/lib/deepmd_lmp
LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib:${{ github.workspace }}/libtorch/lib
LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib:${{ github.workspace }}/libtorch/lib:${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/paddle/lib:${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/onednn/lib:${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/mklml/lib:${LD_LIBRARY_PATH}
if: ${{ !matrix.check_memleak }}
# test ipi
- run: pytest --cov=deepmd source/ipi/tests
Expand All @@ -71,7 +71,7 @@ jobs:
TF_INTRA_OP_PARALLELISM_THREADS: 1
TF_INTER_OP_PARALLELISM_THREADS: 1
PATH: ${{ github.workspace }}/dp_test/bin:$PATH
LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib:${{ github.workspace }}/libtorch/lib
LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib:${{ github.workspace }}/libtorch/lib:${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/paddle/lib:${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/onednn/lib:${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/mklml/lib:${LD_LIBRARY_PATH}
if: ${{ !matrix.check_memleak }}
- uses: codecov/codecov-action@v5
env:
Expand Down

0 comments on commit 8940bd9

Please sign in to comment.