Skip to content

Commit

Permalink
Merge pull request #20449 from SimonPinches/20240501181946_new_pr_pyt…
Browse files Browse the repository at this point in the history
…hon-xxhash341

{lib}[GCCcore/13.2.0] python-xxhash v3.4.1
  • Loading branch information
migueldiascosta authored May 23, 2024
2 parents 89bcdbe + db99ba2 commit 9c2571e
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'PythonBundle'

name = 'python-xxhash'
version = '3.4.1'

homepage = 'https://github.com/ifduyue/python-xxhash'
description = 'xxhash is a Python binding for the xxHash library by Yann Collet.'

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

builddependencies = [
('binutils', '2.40'),
]

dependencies = [
('Python', '3.11.5'),
('xxHash', '0.8.2'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('xxhash', version, {
'preinstallopts': 'XXHASH_LINK_SO=1',
'checksums': ['0379d6cf1ff987cd421609a264ce025e74f346e3e145dd106c0cc2e3ec3f99a9'],
}),
]

moduleclass = 'lib'
31 changes: 31 additions & 0 deletions easybuild/easyconfigs/x/xxHash/xxHash-0.8.2-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
easyblock = 'ConfigureMake'

name = 'xxHash'
version = '0.8.2'

homepage = 'https://cyan4973.github.io/xxHash'
description = "xxHash is an extremely fast non-cryptographic hash algorithm, working at RAM speed limit."

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://github.com/Cyan4973/xxHash/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4']

builddependencies = [
('binutils', '2.40'),
]

skipsteps = ['configure']

installopts = "PREFIX=%(installdir)s"

sanity_check_paths = {
'files': ['bin/xxhsum', 'include/xxh3.h', 'include/xxhash.h',
'lib/libxxhash.a', 'lib/libxxhash.%s' % SHLIB_EXT, 'lib/pkgconfig/libxxhash.pc'],
'dirs': ['share/man'],
}

sanity_check_commands = ["xxhsum --help"]

moduleclass = 'tools'

0 comments on commit 9c2571e

Please sign in to comment.