snappy-1.1.7-foss-2017b.eb 869 B

12345678910111213141516171819202122232425262728293031
  1. easyblock = 'CMakeMake'
  2. name = 'snappy'
  3. version = '1.1.7'
  4. homepage = 'https://github.com/google/snappy'
  5. description = """Snappy is a compression/decompression library. It does not aim
  6. for maximum compression, or compatibility with any other compression library;
  7. instead, it aims for very high speeds and reasonable compression."""
  8. toolchain = {'name': 'foss', 'version': '2017b'}
  9. toolchainopts = {'pic': True}
  10. source_urls = ['https://github.com/google/snappy/archive/']
  11. sources = ['%(version)s.tar.gz']
  12. checksums = ['3dfa02e873ff51a11ee02b9ca391807f0c8ea0529a4924afa645fbf97163f9d4']
  13. builddependencies = [('CMake', '3.11.4')]
  14. # make sure both static and shared libs are built
  15. configopts = [
  16. "-DBUILD_SHARED_LIBS=OFF ",
  17. "-DBUILD_SHARED_LIBS=ON ",
  18. ]
  19. sanity_check_paths = {
  20. 'files': ['lib64/libsnappy.a'],
  21. 'dirs': ['include']
  22. }
  23. moduleclass = 'lib'