Skip to content

Commit

Permalink
Merge pull request #20482 from PetrKralCZ/20240506151733_new_pr_libho…
Browse files Browse the repository at this point in the history
…mfly102r6

{lib}[GCCcore/13.2.0] libhomfly v1.02r6, gc v8.2.6
  • Loading branch information
smoors committed May 14, 2024
2 parents 316e1ec + 180a95b commit 25a5e6d
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/g/gc/gc-8.2.6-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
easyblock = 'ConfigureMake'

name = 'gc'
version = '8.2.6'
local_libatomic_version = '7.8.2'

homepage = 'https://hboehm.info/gc/'
description = """The Boehm-Demers-Weiser conservative garbage collector can be used as a
garbage collecting replacement for C malloc or C++ new.
"""

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

source_urls = [
'https://github.com/ivmai/bdwgc/releases/download/v%(version)s/', # preferred for gc-%(version)s.tar.gz
'https://hboehm.info/gc/gc_source/', # alternate for gc-%(version)s.tar.gz
'https://github.com/ivmai/libatomic_ops/releases/download/v%s/' % local_libatomic_version,
]
sources = [
SOURCE_TAR_GZ,
'libatomic_ops-%s.tar.gz' % local_libatomic_version,
]
checksums = [
{'gc-8.2.6.tar.gz': 'b9183fe49d4c44c7327992f626f8eaa1d8b14de140f243edb1c9dcff7719a7fc'},
{'libatomic_ops-7.8.2.tar.gz': 'd305207fe207f2b3fb5cb4c019da12b44ce3fcbc593dfd5080d867b1a2419b51'},
]

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

preconfigopts = 'ln -s %(builddir)s/libatomic_ops*/ libatomic_ops && '

configopts = "--enable-static"

sanity_check_paths = {
'files': ['include/gc.h', 'lib/libcord.a', 'lib/libcord.%s' % SHLIB_EXT,
'lib/libgc.a', 'lib/libgc.%s' % SHLIB_EXT],
'dirs': ['include/gc', 'share'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'ConfigureMake'

name = 'libhomfly'
version = '1.02r6'

homepage = 'https://github.com/miguelmarco/libhomfly'
description = """This is basically a conversion of the program written by Robert J Jenkins Jr into a shared library.
It accepts as entry a character string, formatted in the same way as the input files that the original
code used (see below). The returned value is the string that the original program would print on screen."""

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

source_urls = ['https://github.com/miguelmarco/libhomfly/archive']
sources = ['%(version)s.tar.gz']
checksums = ['cf5d5031c905318127c83fdffc891deb097c77ee48cdd0131f839ea6ecb64a84']

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

dependencies = [
('gc', '8.2.6'),
]

preconfigopts = "autoreconf -i && "

sanity_check_paths = {
'files': ['include/homfly.h', 'lib/libhomfly.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'lib'

0 comments on commit 25a5e6d

Please sign in to comment.