Skip to content
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

{chem}[GCC/12.3.0] CPPE v0.3.3a0 #21647

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions easybuild/easyconfigs/c/CPPE/CPPE-0.3.3a0-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
easyblock = 'CMakeMake'

name = 'CPPE'
version = '0.3.3a0'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PetrKralCZ This is a pre-release, I'm not sure it's wise to use this already...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also have a 0.3.1 version ready. Should I open PR for that one?


homepage = 'https://github.com/maxscheurer/cppe'
description = """CPPE is an open-source, light-weight C++ and Python library for Polarizable
Embedding (PE)1,2 calculations. It provides an easy-to-use API to implement PE
for ground-state self-consistent field (SCF) calculations and post-SCF methods.
A convenient Python interface is also available."""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

source_urls = ['https://github.com/maxscheurer/cppe/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['6dc3f863b5b7ffd1c049bf06e5d148bfdd08fc1c1aa2f5a506f211022628e2c3']

builddependencies = [
('CMake', '3.26.3'),
('pybind11', '2.11.1'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may need to be a runtime dependency, see also #21564 (I need to verify whether that actually makes sense)

('Ninja', '1.11.1'),
]

dependencies = [
('Python', '3.11.3'),
('Python-bundle-PyPI', '2023.06'),
]

exts_defaultclass = 'PythonPackage'
exts_default_options = {
'download_dep_fail': True,
'use_pip': True,
}
exts_list = [
('scikit_build_core', '0.10.7', {
'source_urls': [PYPI_SOURCE],
'source_tmpl': SOURCE_PY3_WHL,
'checksums': ['5e13ab7ca7c3c6dd019607c3a6f53cba67dade8757c4c4f75b459e2f90e4dbc3'],
}),
('cppe', version, {
'source_urls': ['https://github.com/maxscheurer/cppe/archive/'],
'source_tmpl': 'v%(version)s.tar.gz',
'checksums': checksums
}),
]

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

moduleclass = 'chem'
Loading