diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.10.0-GCCcore-11.2.0.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.10.0-GCCcore-11.2.0.eb index abc8066853a3..dab37dd9793f 100644 --- a/easybuild/easyconfigs/s/spdlog/spdlog-1.10.0-GCCcore-11.2.0.eb +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.10.0-GCCcore-11.2.0.eb @@ -6,6 +6,7 @@ version = '1.10.0' homepage = 'https://github.com/gabime/spdlog' description = 'Very fast, header-only/compiled, C++ logging library.' toolchain = {'name': 'GCCcore', 'version': '11.2.0'} +toolchainopts = {'pic': True} source_urls = ['https://github.com/gabime/spdlog/archive/refs/tags/'] sources = ['v%(version)s.tar.gz'] @@ -16,8 +17,15 @@ builddependencies = [ ('CMake', '3.21.1'), ] +_shared_configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +configopts = ["", _shared_configopts] + sanity_check_paths = { - 'files': ['include/spdlog/spdlog.h'], + 'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'], 'dirs': ['lib64/cmake', 'lib64/pkgconfig'], } diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.2.0.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.2.0.eb index 37e99e711245..0571af33da10 100644 --- a/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.2.0.eb +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.2.0.eb @@ -6,6 +6,7 @@ version = '1.11.0' homepage = 'https://github.com/gabime/spdlog' description = 'Very fast, header-only/compiled, C++ logging library.' toolchain = {'name': 'GCCcore', 'version': '12.2.0'} +toolchainopts = {'pic': True} source_urls = ['https://github.com/gabime/spdlog/archive/refs/tags/'] sources = ['v%(version)s.tar.gz'] @@ -16,8 +17,15 @@ builddependencies = [ ('CMake', '3.24.3'), ] +_shared_configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +configopts = ["", _shared_configopts] + sanity_check_paths = { - 'files': ['include/spdlog/spdlog.h'], + 'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'], 'dirs': ['lib64/cmake', 'lib64/pkgconfig'], } diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.3.0.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.3.0.eb index 72f5f9a9923e..a761400d3b1b 100644 --- a/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.3.0.eb +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.11.0-GCCcore-12.3.0.eb @@ -6,6 +6,7 @@ version = '1.11.0' homepage = 'https://github.com/gabime/spdlog' description = 'Very fast, header-only/compiled, C++ logging library.' toolchain = {'name': 'GCCcore', 'version': '12.3.0'} +toolchainopts = {'pic': True} source_urls = ['https://github.com/gabime/spdlog/archive/refs/tags/'] sources = ['v%(version)s.tar.gz'] @@ -16,8 +17,15 @@ builddependencies = [ ('CMake', '3.26.3'), ] +_shared_configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +configopts = ["", _shared_configopts] + sanity_check_paths = { - 'files': ['include/spdlog/spdlog.h'], + 'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'], 'dirs': ['lib64/cmake', 'lib64/pkgconfig'], } diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.3.0.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.3.0.eb index eead2698148a..697923df8ae5 100644 --- a/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.3.0.eb @@ -5,8 +5,8 @@ version = '1.12.0' homepage = 'https://github.com/gabime/spdlog' description = "Very fast, header-only/compiled, C++ logging library." - toolchain = {'name': 'GCCcore', 'version': '13.3.0'} +toolchainopts = {'pic': True} source_urls = ['https://github.com/gabime/%(name)s/archive/refs/tags/'] sources = ['v%(version)s.tar.gz'] @@ -17,9 +17,15 @@ builddependencies = [ ('CMake', '3.29.3'), ] +_shared_configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +configopts = ["", _shared_configopts] sanity_check_paths = { - 'files': ['include/%(name)s/%(name)s.h'], + 'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'], 'dirs': ['lib64/cmake', 'lib64/pkgconfig'], } diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.2.0.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.2.0.eb index 7b1f2627bcb3..6d1042be4454 100644 --- a/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.2.0.eb +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.2.0.eb @@ -5,8 +5,8 @@ version = '1.15.3' homepage = 'https://github.com/gabime/spdlog' description = "Very fast, header-only/compiled, C++ logging library." - toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} source_urls = ['https://github.com/gabime/%(name)s/archive/refs/tags/'] sources = ['v%(version)s.tar.gz'] @@ -16,8 +16,16 @@ builddependencies = [ ('binutils', '2.42'), ('CMake', '3.31.3'), ] + +_shared_configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +configopts = ["", _shared_configopts] + sanity_check_paths = { - 'files': ['include/%(name)s/%(name)s.h'], + 'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'], 'dirs': ['lib64/cmake', 'lib64/pkgconfig'], } diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.3.0.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.3.0.eb index bc174194d0dc..e66d8f5adbcd 100644 --- a/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.3.0.eb +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.15.3-GCCcore-14.3.0.eb @@ -5,8 +5,8 @@ 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} source_urls = ['https://github.com/gabime/%(name)s/archive/refs/tags/'] sources = ['v%(version)s.tar.gz'] @@ -16,8 +16,16 @@ builddependencies = [ ('binutils', '2.44'), ('CMake', '4.0.3'), ] + +_shared_configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +configopts = ["", _shared_configopts] + sanity_check_paths = { - 'files': ['include/%(name)s/%(name)s.h'], + 'files': ['include/%(name)s/%(name)s.h', 'lib/lib%(name)s.a', f'lib/lib%(name)s.{SHLIB_EXT}'], 'dirs': ['lib64/cmake', 'lib64/pkgconfig'], }