Skip to content

Commit

Permalink
Merge pull request easybuilders#20834 from SimonPinches/2024061614051…
Browse files Browse the repository at this point in the history
…1_new_pr_gnuplot601

{vis}[GCCcore/13.2.0] gnuplot v6.0.1, libcerf v2.4
  • Loading branch information
akesandgren authored Dec 6, 2024
2 parents 1f6d0fe + fb2a267 commit 8ed15bf
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
51 changes: 51 additions & 0 deletions easybuild/easyconfigs/g/gnuplot/gnuplot-6.0.1-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
easyblock = 'ConfigureMake'

name = 'gnuplot'
version = '6.0.1'

homepage = 'http://gnuplot.sourceforge.net'
description = """Portable interactive, function plotting utility"""

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

source_urls = [('https://sourceforge.net/projects/%(name)s/files/%(name)s/%(version)s', 'download')]
sources = [SOURCE_TAR_GZ]
checksums = ['e85a660c1a2a1808ff24f7e69981ffcbac66a45c9dcf711b65610b26ea71379a']

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

dependencies = [
('ncurses', '6.4'),
('cairo', '1.18.0'),
('libjpeg-turbo', '3.0.1'),
('libpng', '1.6.40'),
('libgd', '2.3.3'),
('Pango', '1.51.0'),
('libcerf', '2.4'),
('X11', '20231019'),
('Qt6', '6.6.3'),
('Lua', '5.4.6'),
]

preconfigopts = 'autoreconf && '

# make sure that right Lua library is used (bypassing pkg-config)
preconfigopts += 'export LUA_CFLAGS="-I$EBROOTLUA/include" && export LUA_LIBS="$EBROOTLUA/lib/liblua.a" && '

# fix undefined reference to symbol 'libiconv_open'
preconfigopts += 'export LDFLAGS="-Wl,--copy-dt-needed-entries" && '

configopts = '--with-qt=qt6 --without-latex --disable-wxwidgets'

sanity_check_paths = {
'files': ['bin/gnuplot'],
'dirs': []
}
# make sure that pdf terminal type is available
sanity_check_commands = ["gnuplot -e 'set terminal pdf'"]

moduleclass = 'vis'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/l/libcerf/libcerf-2.4-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
easyblock = 'CMakeMake'

name = 'libcerf'
version = '2.4'

homepage = 'https://jugit.fz-juelich.de/mlz/libcerf'

description = """
libcerf is a self-contained numeric library that provides an efficient and
accurate implementation of complex error functions, along with Dawson,
Faddeeva, and Voigt functions.
"""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
toolchainopts = {'pic': True}

source_urls = ['https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v%(version)s/']
sources = ['libcerf-v%(version)s.tar.gz']
checksums = ['080b30ae564c3dabe3b89264522adaf5647ec754021572bee54929697b276cdc']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.27.6'),
('Perl', '5.38.0'), # required for pod2html
]

sanity_check_paths = {
'files': ['lib/libcerf.%s' % SHLIB_EXT],
'dirs': []
}

moduleclass = 'math'

0 comments on commit 8ed15bf

Please sign in to comment.