forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: MDBM-4.13.0-GCCcore-13.2.0.eb and patches: MDBM-4…
….13.0_headers.patch
- Loading branch information
1 parent
7dc8de0
commit a7eff46
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
easybuild/easyconfigs/m/MDBM/MDBM-4.13.0-GCCcore-13.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'MDBM' | ||
version = '4.13.0' | ||
|
||
homepage = 'https://github.com/yahoo/mdbm' | ||
|
||
description = """MDBM is a super-fast memory-mapped key/value store""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '13.2.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = ['https://github.com/yahoo/%(namelower)s/archive/'] | ||
sources = ['v%(version)s.tar.gz'] | ||
patches = ['%(name)s-%(version)s_headers.patch'] | ||
checksums = [ | ||
{'v4.13.0.tar.gz': '99cec32e02639048f96abf4475eb3f97fc669541560cd030992bab155f0cb7f8'}, | ||
{'MDBM-4.13.0_headers.patch': 'bf056d4e5efd4a085f89e042b61040380e2f8df55e877c7b1e71c8f76903962f'}, | ||
] | ||
|
||
builddependencies = [ | ||
('binutils', '2.40'), | ||
] | ||
|
||
dependencies = [ | ||
('CppUnit', '1.15.1'), | ||
('libreadline', '8.2'), | ||
] | ||
|
||
skipsteps = ['configure'] | ||
|
||
prebuildopts = 'sed -i -e "s/error/no-error/ ; s@/tmp/install@%(installdir)s@" Makefile.base && ' | ||
prebuildopts += 'LDADD=-ldl' | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/mdbm_config', 'include/mdbm.h', 'lib64/libmdbm.so'], | ||
'dirs': ['bin', 'include', 'lib64'], | ||
} | ||
|
||
moduleclass = 'data' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# S.D.Pinches (Jan 2024): Patch to allow compilation with GCC v13 | ||
diff -Nru mdbm-4.13.0-orig/src/lib/mdbm.c mdbm-4.13.0/src/lib/mdbm.c | ||
--- mdbm-4.13.0-orig/src/lib/mdbm.c 2018-11-12 17:20:21.000000000 +0100 | ||
+++ mdbm-4.13.0/src/lib/mdbm.c 2024-02-13 10:22:55.937708854 +0100 | ||
@@ -7,6 +7,7 @@ | ||
#include <sys/vfs.h> | ||
#endif | ||
|
||
+#include <stdint.h> | ||
#include <assert.h> | ||
#include <ctype.h> | ||
#include <dlfcn.h> |