3c73882a68
update Purge.list and avoid redundant checks
2023-11-19 08:59:27 -05:00
b50fc0be78
remove obsolete CONFIGURE_DEPENDS backward compatibility hack
2023-06-30 23:19:53 -04:00
106f029941
improve Linux distribution detection for recent Fedora versions
2023-04-04 06:05:03 -04:00
401ac8c4f7
make fallback url function available to plugin compilations
2023-02-13 10:56:01 -05:00
5d16bea899
implement download fallback URLs pointing to download.lammps.org for CMake
2023-01-31 16:35:06 -05:00
4c996eed3b
auto-enabling prerequisite packages with CMake
2023-01-24 23:22:55 -05:00
6f3c8fc48e
add CMake option to skip automatic download of large potential files
2023-01-21 11:21:02 -05:00
3036f8d4c6
Conditionally support the CONFIGURE_DEPENDS flag for globbing of CMake 3.12 and later.
...
# Conflicts:
# cmake/Modules/Packages/COLVARS.cmake
2023-01-06 22:18:50 -05:00
c9a3894d12
grammar
2022-12-28 17:11:18 -05:00
ca6aba52bb
modernize OpenMP detection and check for omp.h in CMake
2022-10-26 22:35:41 -04:00
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