diff --git a/.github/workflows/test_cc.yml b/.github/workflows/test_cc.yml index b1c82b36e1..8fc3275e08 100644 --- a/.github/workflows/test_cc.yml +++ b/.github/workflows/test_cc.yml @@ -51,6 +51,8 @@ jobs: TF_INTER_OP_PARALLELISM_THREADS: 1 LMP_CXX11_ABI_0: 1 CMAKE_GENERATOR: Ninja + CC: clang + CXX: clang++ CXXFLAGS: ${{ matrix.check_memleak && format('-fsanitize=leak -fsanitize-ignorelist={0}/.github/workflows/ignorelist.txt', github.workspace) || '' }} # test lammps - run: pytest --cov=deepmd source/lmp/tests