d65a6b9404
make procedure to replace downloaded potential file atomic
2022-09-02 13:00:29 -04:00
48b086b717
protect potential file download against paths with blanks
2022-09-02 08:04:11 -04:00
aad4d093b8
correctly handle the situation that the build folder may have multiple libs downloaded
2022-06-02 18:18:32 -04:00
6e05aff3bf
Update CMake utility function get_lammps_version()
...
With the introduction of LAMMPS_UPDATE, version.h is no longer a single line
file. With this change the CMake utility will only process the LAMMPS_VERSION
line. Fixes issue #3038
2021-12-11 15:08:40 -05:00
11ee3759df
use consistent formatting
2021-10-27 08:22:18 -04:00
b8c5f08e75
improve error message
2021-06-29 11:13:44 -04:00
bc063f2e88
make formatting of if statements and string comparisons consistent
2021-05-25 15:06:08 -04:00
d5661e06ae
Detect linux distribution and version
2021-04-14 20:00:38 -04:00
4e4a571dbd
Add advanced LAMMPS_DOWNLOADS_URL cmake option
2021-04-05 14:31:13 -04:00
5b6b327a5d
fix CMake errors
2020-12-08 00:04:54 -05:00
3f5a896aab
update build system to make it auto-adapt to include python support or not into MLIAP
2020-12-07 17:35:10 -05:00
acb5fd2ebf
Simplify GenerateBinaryHeader utility
...
The function implementation was incomplete for handling the case
of multiple files. It would generate wrong C code in case more than
one files were specified. Since we don't have this use case, it's
safe to only leave the single input file implementation.
Closes issue #2294
2020-09-20 18:24:43 -04:00
0199e369fa
work around race condition and minimizing download attemps for transparently downloaded potential files
2020-06-15 13:46:54 -04:00
1a1cc99144
use correct expression for source folder. small output tweak.
2020-06-10 12:41:20 -04:00
f36a84bdd3
add CMake support for fetching external potential files
2020-06-10 12:29:48 -04:00
1ec91bc214
Add CMake function GenerateBinaryHeader to replace xxd steps
2020-04-02 14:22:04 -04:00
e788d32678
Move autogen check into utility function
2019-06-09 04:02:08 -04:00
a7c02e699e
Move CMake utilities into LAMMPSUtils.cmake
2019-06-07 12:18:49 -04:00