-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow spack installation of issm to include wrappers #184
Comments
Hi @justinh2002 , re: https://github.com/ACCESS-NRI/spack-packages/blob/main/packages/issm/package.py You'll have to implement a variant (https://spack.readthedocs.io/en/latest/packaging_guide.html#id6) in the ISSM SPR (Autotools) and then add a conditional that sets The Cable SPR (CMake) does something similar: https://github.com/ACCESS-NRI/spack-packages/blob/main/packages/cable/package.py |
Hi @justinh2002 , Just read the Zulip chat, looks like you already know how to do the above. See if this helps: https://spack.readthedocs.io/en/latest/build_systems/autotoolspackage.html#helper-functions |
Thanks Harshula, I've got the changes made, simply ` class Issm(AutotoolsPackage):
|
Hi @justinh2002 , See if you can use the autotoolspackage.html#helper-functions to simplify:
|
The current spack installation script
package.py
for issm in/packages/issm
is only configured to install without wrappers. That is, it only installs the binaries (issm.exe
) without other modules. Adding an argument for including wrappers will allow spack installation to be used on local machines as well, or on clusters if pre- and post- processing can be done on them.The text was updated successfully, but these errors were encountered: