Skip to content
Snippets Groups Projects
Commit e89dee1d authored by Alexandre Strube's avatar Alexandre Strube
Browse files

R

parent 8858e80d
Branches
Tags
No related merge requests found
name = 'FFTW'
version = '3.3.10'
homepage = 'https://www.fftw.org'
description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT)
in one or more dimensions, of arbitrary input size, and of both real and complex data."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'pic': True}
builddependencies = [('binutils', '2.38')]
source_urls = [homepage]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467']
runtest = 'check'
moduleclass = 'numlib'
fix "multiple definition" errors by adding -fcommon compiler options,
see https://www.gnu.org/software/gcc/gcc-10/porting_to.html
author: Kenneth Hoste (HPC-UGent)
diff -ruN HWxtest.orig/MD5 HWxtest/MD5
--- HWxtest.orig/MD5 2020-11-08 21:15:03.612622261 +0100
+++ HWxtest/MD5 2020-11-08 21:13:24.278691443 +0100
@@ -40,6 +40,7 @@
4657a2011dc5363ed1cfd1d29a7040d5 *src/HWmtest.c
08ec52ea231752fbb2bb11a529107806 *src/HWxcount.c
23598383650c211dd18d54bded68b9bd *src/HWxtest.c
+8b6d9aec8b8cef60d1b245e0f290bfed *src/Makevars
886a6d855fb0b59e565b919a1ff69eb0 *vignettes/HWxtest.Rmd
fcf857c5f98963f740c5c2f95e33ccc9 *vignettes/HWxtest.md
b93f768037a75ec9edd60ca89fd4c1db *vignettes/bibHW.txt
diff -ruN HWxtest.orig/src/Makevars HWxtest/src/Makevars
--- HWxtest.orig/src/Makevars 1970-01-01 01:00:00.000000000 +0100
+++ HWxtest/src/Makevars 2020-11-08 21:15:51.340615023 +0100
@@ -0,0 +1 @@
+PKG_CFLAGS = -fcommon
This diff is collapsed.
The code requires C++11 but nvcc is not passed any flag for it, do that to avoid 'error: identifier "__ieee128" is undefined' on PPC
Use uppercase __PPC64__ to detect PPC 64bit (defined by GCC)
Use lowercase __aarch64__ to detect aarch64 (defined by GCC)
diff -aur liquidSVM-orig/MD5 liquidSVM/MD5
--- liquidSVM-orig/MD5 2020-02-20 15:51:17.387058566 +0100
+++ liquidSVM/MD5 2020-02-20 16:48:06.042078399 +0100
@@ -66,7 +66,7 @@
e0ea06f050a2ae8ed2f2e401d968f0ce *man/test.liquidSVM.Rd
8874fc45419e3174bf06013d887f6582 *man/trainSVMs.Rd
4cf2abf7c6d415a4a8cd7f5dee2df959 *man/write.liquidData.Rd
-854c1eecccd169acdb80b03ad6d768dc *src/Makevars.in
+8c4346267f7b7f649ff27fb5288d4e23 *src/Makevars.in
e6d47b428caa2cc55798b431cb5e504f *src/kernel_calculator.cpp
13af8529f5c2bccd4ea03288e9adf908 *src/kernel_calculator.h
dc2c86cbe61e7b7c5dd433f9fa41fac6 *src/liquidSVM.cpp
@@ -155,7 +155,7 @@
8b39ec05680bf3416bc1de3ad92f043f *src/sources/shared/system_support/cuda_simple_vector_operations.h
806ca83732bff4b1b89adfc3494e90da *src/sources/shared/system_support/full_64bit_support.h
dfb08cdb449d490d86dd33bee186aac5 *src/sources/shared/system_support/memory_allocation.cpp
-aec0000be577e69e88c040b641d6818a *src/sources/shared/system_support/memory_allocation.h
+f0231e65bd627116f1b5ebcc45ab1e66 *src/sources/shared/system_support/memory_allocation.h
683d4ee517b1c760dc410c69c5508ce2 *src/sources/shared/system_support/memory_allocation.ins.cpp
cbd209324ad752e19be10d8975d65e2f *src/sources/shared/system_support/os_specifics.h
54e8583d2e8e269ff2b6d7a79d57cbd5 *src/sources/shared/system_support/parallel_control.cpp
diff -aur liquidSVM-orig/src/Makevars.in liquidSVM/src/Makevars.in
--- liquidSVM-orig/src/Makevars.in 2020-02-20 15:51:17.377058962 +0100
+++ liquidSVM/src/Makevars.in 2020-02-20 16:47:44.042949538 +0100
@@ -39,7 +39,7 @@
# The architecure flag can be set to higher values, if the hardware supports this.
# The value below should be safe for essentially all non stone-age systems.
-NVCCFLAGS= -arch sm_30 -L$(CUDA_LIB_PATH) -DCOMPILE_WITH_CUDA__ -U__SSE2__ -U__AVX__
+NVCCFLAGS= -arch sm_30 -L$(CUDA_LIB_PATH) -DCOMPILE_WITH_CUDA__ -U__SSE2__ -U__AVX__ -std=c++11
#----------- CUDA related flags for GCC ----------------------------------------------------
diff -aur liquidSVM-orig/src/sources/shared/system_support/memory_allocation.h liquidSVM/src/sources/shared/system_support/memory_allocation.h
--- liquidSVM-orig/src/sources/shared/system_support/memory_allocation.h 2020-02-20 15:51:17.377058962 +0100
+++ liquidSVM/src/sources/shared/system_support/memory_allocation.h 2020-02-20 15:56:04.905673381 +0100
@@ -42,7 +42,7 @@
// Check for GCC
#if __GNUC__
- #if __x86_64__ || __ppc64__
+ #if __x86_64__ || __ppc64__ || __PPC64__ || __aarch64__
#define SYSTEM_WITH_64BIT
#else
#define SYSTEM_WITH_32BIT
......@@ -11,7 +11,7 @@ description = """TeX is a typesetting language. Instead of visually formatting y
PDF file. Thus, in contrast to standard word processors, your document is a separate file that does not pretend to
be a representation of the final typeset output, and so can be easily edited and manipulated."""
toolchain = {'name': 'GCC', 'version': '11.3.0'}
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [
'ftp://tug.org/texlive/historic/2022/',
......
easyblock = 'Bundle'
name = 'Xvfb'
version = '21.1.3'
homepage = 'https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml'
description = """Xvfb is an X server that can run on machines with no display hardware and no physical input devices.
It emulates a dumb framebuffer using virtual memory."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
('Python', '3.10.4'),
('Meson', '0.62.1'),
('Ninja', '1.10.2'),
('libxslt', '1.1.34'),
('gettext', '0.21'),
('Bison', '3.8.2'),
]
dependencies = [
('X11', '20220504'),
('pixman', '0.40.0'),
('libdrm', '2.4.110'),
('Mesa', '22.0.3'),
('nettle', '3.8'),
('libunwind', '1.6.2'),
('XZ', '5.2.5'),
]
default_easyblock = 'ConfigureMake'
local_xvfb_configopts = "--enable-xvfb --disable-xorg --disable-xnest --disable-xwin "
local_xvfb_configopts += "--disable-dri --disable-dri2 --disable-dri3 --disable-libunwind "
local_xvfb_configopts += "--with-fontrootdir=%(installdir)s/share/fonts/X11"
# use 'make V=1' to see compiler commands
local_xvfb_buildopts = "V=1 "
# use static libraries for nettle & libunwind, so avoid errors like "No rule to make target '-lnettle'"
local_xvfb_buildopts += 'SHA1_LIBS="$EBROOTNETTLE/lib*/libnettle.a" '
local_xvfb_buildopts += 'LIBUNWIND_LIBS="$EBROOTLIBUNWIND/lib*/libunwind.a $EBROOTXZ/lib*/liblzma.a"'
default_component_specs = {
'source_urls': ['https://www.x.org/archive/individual/font/'],
'sources': [SOURCE_TAR_GZ],
'start_dir': '%(name)s-%(version)s',
}
local_font_misc_preconfigopts = "export PKG_CONFIG_PATH=%(installdir)s/lib/pkgconfig:$PKG_CONFIG_PATH && "
local_font_misc_preconfigopts += "export PATH=%(installdir)s/bin:$PATH && "
components = [
('mkfontscale', '1.2.2', {
'source_urls': ['https://www.x.org/archive/individual/app/'],
'checksums': ['4a5af55e670713024639a7f7d10826d905d86faf574cd77e0f5aef2d00e70168'],
}),
('mkfontdir', '1.0.7', {
'source_urls': ['https://www.x.org/archive/individual/app/'],
'checksums': ['bccc5fb7af1b614eabe4a22766758c87bfc36d66191d08c19d2fa97674b7b5b7'],
}),
('bdftopcf', '1.1', {
'source_urls': ['https://www.x.org/archive/individual/app/'],
'checksums': ['699d1a62012035b1461c7f8e3f05a51c8bd6f28f348983249fb89bbff7309b47'],
}),
('font-util', '1.3.2', {
'checksums': ['f115a3735604de1e852a4bf669be0269d8ce8f21f8e0e74ec5934b31dadc1e76'],
}),
('font-misc-misc', '1.1.2', {
'checksums': ['46142c876e176036c61c0c24c0a689079704d5ca5b510d48c025861ee2dbf829'],
'preconfigopts': local_font_misc_preconfigopts,
}),
('xkbcomp', '1.4.5', {
'source_urls': ['https://www.x.org/archive/individual/app/'],
'checksums': ['e88a4d86b9925ea1e8685dd5ea29c815abafb8ddf19bf5f1a1e0650839252c23'],
}),
('xkeyboard-config', '2.36', {
'easyblock': 'MesonNinja',
'source_urls': ['https://www.x.org/archive/individual/data/xkeyboard-config/'],
'sources': [SOURCE_TAR_XZ],
'checksums': ['1f1bb1292a161d520a3485d378609277d108cd07cde0327c16811ff54c3e1595'],
'configopts': '-Dxorg-rules-symlinks=true',
}),
('xauth', '1.1', {
'source_urls': ['https://www.x.org/releases/individual/app/'],
'checksums': ['e9fce796c8c5c9368594b9e8bbba237fb54b6615f5fd60e8d0a5b3c52a92c5ef'],
}),
('libxcvt', '0.1.1', {
'easyblock': 'MesonNinja',
'source_urls': ['https://www.x.org/archive/individual/lib/'],
'sources': [SOURCE_TAR_XZ],
'checksums': ['27ebce180d355f94c1992930bedb40a36f6d7312ee50bf7f0acbcd22f33e8c29'],
}),
(name, version, {
'source_urls': ['https://www.x.org/releases/individual/xserver/'],
'sources': ['xorg-server-%(version)s.tar.gz'],
'patches': [('xvfb-run', '.')],
'checksums': [
'c52403a66935092da86a18052ffdcb93a2762a146901f63c1261744a708b12e2', # xorg-server-21.1.3.tar.gz
'fd6d13182b77871d4f65fccdaebb8a72387a726426066d3f8e6aa26b010ea0e8', # xvfb-run
],
'start_dir': 'xorg-server-%(version)s',
'configopts': local_xvfb_configopts,
'buildopts': local_xvfb_buildopts,
'installopts': local_xvfb_buildopts,
}),
]
postinstallcmds = ["cp -a xvfb-run %(installdir)s/bin/ && chmod u+x %(installdir)s/bin/xvfb-run"]
sanity_check_paths = {
'files': ['bin/Xvfb', 'bin/xvfb-run'],
'dirs': ['lib/xorg', 'share/fonts/X11/misc', 'share/fonts/X11/util'],
}
sanity_check_commands = [
"xvfb-run --help",
"xvfb-run --error-file %(builddir)s/xvfb-run-test.err echo hello",
]
moduleclass = 'vis'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment