diff --git a/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.2.0-pic.eb b/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.2.0-pic.eb new file mode 100644 index 000000000000..7224490cebab --- /dev/null +++ b/easybuild/easyconfigs/s/spdlog/spdlog-1.12.0-GCCcore-13.2.0-pic.eb @@ -0,0 +1,34 @@ +easyblock = 'CMakeMake' + +name = 'spdlog' +version = '1.12.0' +versionsuffix = '-pic' + +homepage = 'https://github.com/gabime/spdlog' +description = 'Very fast, header-only/compiled, C++ logging library' + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} +toolchainopts = {'pic': True} +build_shared_libs = True + +source_urls = ['https://github.com/gabime/spdlog/archive/refs/tags/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['4dccf2d10f410c1e2feaff89966bfc49a1abb29ef6f08246335b110e001e09a9'] + +builddependencies = [ + ('CMake', '3.27.6'), + ('binutils', '2.40'), + ('make', '4.4.1'), +] + +configopts = " ".join([ + "-DSPDLOG_BUILD_SHARED=ON", + "-DSPDLOG_BUILD_PIC=ON", +]) + +sanity_check_paths = { + 'files': ['include/spdlog/spdlog.h', 'lib/libspdlog.so'], + 'dirs': ['lib/cmake', 'lib/pkgconfig'], +} + +moduleclass = 'lib'