Skip to content
Merged
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
12 changes: 6 additions & 6 deletions easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version = '1.15.3'

homepage = 'https://github.com/gabime/spdlog'
description = "Very fast, header-only/compiled, C++ logging library."

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

Expand All @@ -17,15 +18,14 @@ builddependencies = [
('CMake', '4.0.3'),
]

_shared_configopts = " ".join([
"-DSPDLOG_BUILD_SHARED=ON",
"-DSPDLOG_BUILD_PIC=ON",
])
_base_configopts = ' -DSPDLOG_BUILD_TESTS=ON -DSPDLOG_BUILD_PIC=ON '

configopts = [f'{_base_configopts} -DSPDLOG_BUILD_SHARED={x}' for x in ('OFF', 'ON')]

configopts = ["", _shared_configopts]
runtest = 'test'

sanity_check_paths = {
'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'],
'files': [f'include/{name}/{name}.h', 'lib/libspdlog.a', f'lib/libspdlog.{SHLIB_EXT}'],
'dirs': ['lib64/cmake', 'lib64/pkgconfig'],
Comment on lines 27 to 29
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would keep consistent usage of f-strings without re-introducing old % formatting.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Well, I done my PR without being aware of what you already done @Crivella . So that is why I had already the f-string for the bit I knew how to do it, but I was not sure how to do it for the SHLIB_EXT bit. So now that is consistent, thanks fo your help.

}

Expand Down