Skip to content

Commit 6cc6eb7

Browse files
update test shell
1 parent c2a9295 commit 6cc6eb7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.devcontainer/build_cxx.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ cmake -D ENABLE_TENSORFLOW=ON \
1515
-D CMAKE_INSTALL_PREFIX=${SCRIPT_PATH}/../dp/ \
1616
-D LAMMPS_VERSION=stable_29Aug2024_update1 \
1717
-D CMAKE_BUILD_TYPE=Debug \
18+
-D BUILD_PY_IF=ON \
1819
-D BUILD_TESTING:BOOL=TRUE \
1920
-D TENSORFLOW_ROOT=${TENSORFLOW_ROOT} \
2021
${SCRIPT_PATH}/../source
21-
cmake --build . -j${NPROC}
22+
cmake --build . -j4
2223
cmake --install .

source/install/test_cc_local.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cd ${BUILD_TMP_DIR}
2121
cmake \
2222
-D ENABLE_TENSORFLOW=TRUE \
2323
-D ENABLE_PYTORCH=TRUE \
24+
-D ENABLE_PADDLE=TRUE \
2425
-D INSTALL_TENSORFLOW=FALSE \
2526
-D USE_TF_PYTHON_LIBS=TRUE \
2627
-D CMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \

0 commit comments

Comments
 (0)