Skip to content

Commit

Permalink
readd C++ standard update in the case of no Kokkos
Browse files Browse the repository at this point in the history
  • Loading branch information
anjohan committed May 30, 2024
1 parent 319c90d commit 1709eae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions patch_lammps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ fi

echo "Updating CMakeLists.txt..."

sed -i "s/set(CMAKE_CXX_STANDARD 11)/set(CMAKE_CXX_STANDARD 14)/" $lammps_dir/cmake/CMakeLists.txt

# Add libtorch
cat >> $lammps_dir/cmake/CMakeLists.txt << "EOF2"
Expand Down

0 comments on commit 1709eae

Please sign in to comment.