Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{data}[GCC/11.3.0] flook v0.8.1 #19238

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions easybuild/easyconfigs/f/flook/flook-0.8.1-GCC-11.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name = 'flook'
version = '0.8.1'

homepage = 'https://github.com/ElectronicStructureLibrary/flook'
description = """The fortran-Lua-hook library."""

toolchain = {'name': 'GCC', 'version': '11.3.0'}

source_urls = ['https://github.com/ElectronicStructureLibrary/flook/archive/']
sources = ['v%(version)s/flook-%(version)s.tar.gz']
patches = [
('flook-%(version)s_setup.make', './setup.make'),
'flook-%(version)s_flook.pc.in.patch',
]
checksums = [
{'flook-0.8.1.tar.gz': 'beb15b8cb57b7a2facc7a5094326aaa877fda4fe35f8aabac023232c2e12d97e'},
{'flook-0.8.1_setup.make': '6df3f53faa8a8fe61534ded997c5e748d0327c13b18972fbbf49eacbda30d6e0'},
{'flook-0.8.1_flook.pc.in.patch': '1aa3635d83f0f9bad2ef2f9457183aefa94c8f07e66d3ef31e8897190752b42c'},
]

dependencies = [('Lua', '5.4.4')]

moduleclass = 'data'
11 changes: 11 additions & 0 deletions easybuild/easyconfigs/f/flook/flook-0.8.1_flook.pc.in.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/flook.pc.in b/flook.pc.in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahkole Patch description is missing, do you mind opening a follow-up PR that add a short description of why this patch is needed on top, and mentions yourself as author (or includes a reference to source of the patch)?

Note that this implies updating the checksum of the patch in the flook easyconfig as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @boegel, sure I can do that, no problem. I will do so immediately.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index 680b5e0..b46f8ad 100644
--- a/flook.pc.in
+++ b/flook.pc.in
@@ -10,5 +10,5 @@ Version: @PROJECT_VERSION@
URL: https://github.com/ElectronicStructureLibrary/flook
Cflags: -I${includedir}
Libs.private: -ldl
-Libs: -L${libdir} -lflookall
+Libs: -L${libdir} -lflookall -llua -ldl

Loading