NLopt-2.6.2-GCCcore-10.2.0.eb 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
  2. # Author: Pablo Escobar Lopez
  3. # Swiss Institute of Bioinformatics
  4. # Biozentrum - University of Basel
  5. # 2019-06-05 John Dey jfdey@fredhutch.org fizwit@github.com - updated for CMake
  6. easyblock = 'CMakeMake'
  7. name = 'NLopt'
  8. version = '2.6.2'
  9. homepage = 'http://ab-initio.mit.edu/wiki/index.php/NLopt'
  10. description = """ NLopt is a free/open-source library for nonlinear optimization,
  11. providing a common interface for a number of different free optimization routines
  12. available online as well as original implementations of various other algorithms. """
  13. toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
  14. toolchainopts = {'pic': True}
  15. source_urls = ['https://github.com/stevengj/nlopt/archive']
  16. sources = ['v%(version)s.tar.gz']
  17. checksums = ['cfa5981736dd60d0109c534984c4e13c615314d3584cf1c392a155bfe1a3b17e']
  18. builddependencies = [
  19. ('CMake', '3.18.4'),
  20. ('binutils', '2.35'),
  21. ]
  22. configopts = [
  23. '-DBUILD_SHARED_LIBS=ON',
  24. '-DBUILD_SHARED_LIBS=OFF'
  25. ]
  26. sanity_check_paths = {
  27. 'files': ['lib/libnlopt.a', 'lib/libnlopt.%s' % SHLIB_EXT, 'include/nlopt.h'],
  28. 'dirs': ['lib/pkgconfig'],
  29. }
  30. moduleclass = 'numlib'