From 88056380c46832e2805e71c99313b4510be58d9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ruth=20Sch=C3=B6bel?= <r.schoebel@fz-juelich.de>
Date: Sat, 11 Feb 2023 08:45:49 +0100
Subject: [PATCH] ELPA foss, other tollchains will follow

---
 .../e/ELPA/ELPA-2022.11.001.rc1-foss-2022a.eb | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 Golden_Repo/e/ELPA/ELPA-2022.11.001.rc1-foss-2022a.eb

diff --git a/Golden_Repo/e/ELPA/ELPA-2022.11.001.rc1-foss-2022a.eb b/Golden_Repo/e/ELPA/ELPA-2022.11.001.rc1-foss-2022a.eb
new file mode 100644
index 000000000..eb42ac6dc
--- /dev/null
+++ b/Golden_Repo/e/ELPA/ELPA-2022.11.001.rc1-foss-2022a.eb
@@ -0,0 +1,37 @@
+name = 'ELPA'
+version = '2022.11.001.rc1'
+
+homepage = 'https://elpa.rzg.mpg.de'
+description = """Eigenvalue SoLvers for Petaflop-Applications."""
+
+toolchain = {'name': 'foss', 'version': '2022a'}
+toolchainopts = {'openmp': True, 'usempi': True}
+
+source_urls = ['https://gitlab.mpcdf.mpg.de/elpa/elpa/-/archive/new_release_%(version)s/']
+sources = ['elpa-new_release_%(version)s.tar.gz']
+patches = ['%(name)s-%(version)s_fix_hardcoded_perl_path.patch']
+
+builddependencies = [
+    ('Autotools', '20220317'),
+    ('Python', '3.10.4'),
+    ('Perl', '5.34.1'),
+]
+
+preconfigopts = './autogen.sh && '
+preconfigopts += 'export LDFLAGS="-lm $LDFLAGS" && '
+preconfigopts += 'autoreconf && '
+configopts = '--without-threading-support-check-during-build '
+with_single = False
+maxparallel = 1
+modextravars = {
+    'ELPA_ROOT': '%(installdir)s',
+    'ELPAROOT': '%(installdir)s',
+    'ELPA_INCLUDE': '%(installdir)s/include/elpa-%(version)s/',
+    'ELPA_INCLUDE_OPENMP': '%(installdir)s/include/elpa_openmp-%(version)s/',
+    'ELPA_LIB': '%(installdir)s/lib',
+    'ELPA_LIB_OPENMP': '%(installdir)s/lib',
+    'ELPA_MODULES': '%(installdir)s/include/elpa-%(version)s/modules',
+    'ELPA_MODULES_OPENMP': '%(installdir)s/include/elpa_openmp-%(version)s/modules',
+}
+
+moduleclass = 'math'
-- 
GitLab