Skip to content

Commit ef7b09c

Browse files
authored
CI: Turn on ENABLE_LIBRI in ci (#1574)
* CI: Turn on ENABLE_LIBRI in ci * CI: Change absolute path to 'pwd'
1 parent 92c2922 commit ef7b09c

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/build_test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build_args: ""
1818
name: "Build with GNU compilers"
1919
- tag: gnu
20-
build_args: "-DENABLE_LIBXC=1 -DENABLE_DEEPKS=1"
20+
build_args: "-DENABLE_LIBXC=1 -DENABLE_DEEPKS=1 -DENABLE_LIBRI=1"
2121
name: "Build with GNU compilers and extra components"
2222
- tag: intel
2323
build_args: ""
@@ -29,7 +29,7 @@ jobs:
2929
build_args: "-DENABLE_LCAO=OFF"
3030
name: "Build without LCAO"
3131
- tag: gnu
32-
build_args: "-DENABLE_LIBXC=1 -DENABLE_DEEPKS=1 -DUSE_ELPA=0"
32+
build_args: "-DENABLE_LIBXC=1 -DENABLE_DEEPKS=1 -DENABLE_LIBRI=1 -DUSE_ELPA=0"
3333
name: "Build with GNU compilers and extra components without ELPA"
3434
name: ${{ matrix.name }}
3535
container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }}
@@ -38,5 +38,6 @@ jobs:
3838
uses: actions/checkout@v3
3939
- name: Build
4040
run: |
41+
git config --global --add safe.directory `pwd`
4142
cmake -B build -DBUILD_TESTING=ON ${{ matrix.build_args }}
4243
cmake --build build -j2

source/src_ri/exx_lip.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,6 @@ class Exx_Lip
7777
void sum_all(int ik);
7878
void exx_energy_cal();
7979
void read_q_pack();
80-
81-
// mohan comment out 2021-02-24
82-
friend void Hamilt_PW::diagH_subspace(
83-
const int ik,
84-
const int nstart,
85-
const int n_band,
86-
const ModuleBase::ComplexMatrix &psi,
87-
ModuleBase::ComplexMatrix &evc,
88-
double *en);
8980

9081
public:
9182

0 commit comments

Comments
 (0)