GCCcore-10.3.0.eb 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. easyblock = 'EB_GCC'
  2. name = 'GCCcore'
  3. version = '10.3.0'
  4. homepage = 'https://gcc.gnu.org/'
  5. description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
  6. as well as libraries for these languages (libstdc++, libgcj,...)."""
  7. toolchain = SYSTEM
  8. source_urls = [
  9. 'https://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror
  10. 'https://ftpmirror.gnu.org/gnu/gmp', # idem for GMP
  11. 'https://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR
  12. 'https://ftpmirror.gnu.org/gnu/mpc', # idem for MPC
  13. 'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies
  14. 'http://gcc.cybermirror.org/infrastructure/', # HTTP mirror for GCC dependencies
  15. 'http://isl.gforge.inria.fr/', # original HTTP source for ISL
  16. 'https://sourceware.org/pub/newlib/', # for newlib
  17. 'https://github.com/MentorEmbedded/nvptx-tools/archive', # for nvptx-tools
  18. ]
  19. sources = [
  20. 'gcc-%(version)s.tar.gz',
  21. 'gmp-6.2.1.tar.bz2',
  22. 'mpfr-4.1.0.tar.bz2',
  23. 'mpc-1.2.1.tar.gz',
  24. 'isl-0.23.tar.bz2',
  25. 'newlib-4.1.0.tar.gz',
  26. {'download_filename': 'd0524fb.tar.gz', 'filename': 'nvptx-tools-20210115.tar.gz'},
  27. ]
  28. patches = [
  29. 'GCCcore-6.2.0-fix-find-isl.patch',
  30. 'GCCcore-9.3.0_gmp-c99.patch',
  31. 'GCCcore-9.3.0_nvptx_sm_35_default.patch',
  32. 'gcc-10.3.0_fix-ice-in-tsubst.patch',
  33. 'GCCcore-9.x-11.x_fix-unsigned-fpe-traps.patch',
  34. 'GCCcore-10_libsanitizer_linux-5.12.patch',
  35. ]
  36. checksums = [
  37. '8fcf994811ad4e5c7ac908e8cf62af2c1982319e5551f62ae72016064dacdf16', # gcc-10.3.0.tar.gz
  38. 'eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c', # gmp-6.2.1.tar.bz2
  39. 'feced2d430dd5a97805fa289fed3fc8ff2b094c02d05287fd6133e7f1f0ec926', # mpfr-4.1.0.tar.bz2
  40. '17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459', # mpc-1.2.1.tar.gz
  41. 'c58922c14ae7d0791a77932f377840890f19bc486b653fa64eba7f1026fb214d', # isl-0.23.tar.bz2
  42. 'f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154', # newlib-4.1.0.tar.gz
  43. '466abe1cef9cf294318ecb3c221593356f7a9e1674be987d576bc70d833d84a2', # nvptx-tools-20210115.tar.gz
  44. '5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68', # GCCcore-6.2.0-fix-find-isl.patch
  45. '0e135e1cc7cec701beea9d7d17a61bab34cfd496b4b555930016b98db99f922e', # GCCcore-9.3.0_gmp-c99.patch
  46. '8d8b9834a570b5789d47296311953b6307d4427957a73e102de43cca7a6fa108', # GCCcore-9.3.0_nvptx_sm_35_default.patch
  47. '74e6e019458aa2feb36ae3c45f45e164725ca5edd66f4fe9f873c8ee78c35717', # gcc-10.3.0_fix-ice-in-tsubst.patch
  48. '03a2e4aeda78d398edd680d6a1ba842b8ceb29c126ebb7fe2e3541ddfe4fbed4', # GCCcore-9.x-11.x_fix-unsigned-fpe-traps.patch
  49. ]
  50. builddependencies = [
  51. ('M4', '1.4.18'),
  52. ('binutils', '2.36.1'),
  53. ]
  54. languages = ['c', 'c++', 'fortran']
  55. withisl = True
  56. withnvptx = True
  57. # Perl is only required when building with NVPTX support
  58. if withnvptx:
  59. osdependencies = ['perl']
  60. moduleclass = 'compiler'