You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, a user asked me a custom LAMMPS installation. In this specific case, first the pair_allegro patch has to be applied to override the CMakeLists.txt, before LAMMPS is built. I eventually misused preconfigopts for the purpose:
The official description of preconfigopts is: "Extra options pre-passed to configure".
To alleviate that, I wonder if a new easyconfig attribute could be added to serve such purposes as mentioned above. If I imagine it, it can be called preinstallcmds (or anything else that suits). I would also couple nicely with postinstallcmds which is widely used.
Can you guys consider this for one of the next releases?
The text was updated successfully, but these errors were encountered:
This would not be a preinstallcmds as the install step happens after the configure step.
The way you implemented this is not reproducible, you should really check out a specific commit of pair_allegro.
Is there a reason you did not just create a patch file for LAMMPS using patch_lammps.sh? That should have the same affect as your preconfigopts (apart from exporting the environment variable)?
Recently, a user asked me a custom LAMMPS installation. In this specific case, first the pair_allegro patch has to be applied to override the
CMakeLists.txt
, before LAMMPS is built. I eventually misusedpreconfigopts
for the purpose:The official description of
preconfigopts
is: "Extra options pre-passed to configure".To alleviate that, I wonder if a new easyconfig attribute could be added to serve such purposes as mentioned above. If I imagine it, it can be called
preinstallcmds
(or anything else that suits). I would also couple nicely withpostinstallcmds
which is widely used.Can you guys consider this for one of the next releases?
The text was updated successfully, but these errors were encountered: