diff --git a/var/spack/repos/builtin/packages/ruby/package.py b/var/spack/repos/builtin/packages/ruby/package.py index 820e32e20bcbb5d13546dca7ce0c98176bca7794..c4f2a7dcc9b9b0140ca5db018e4edbfaa2e64bb5 100644 --- a/var/spack/repos/builtin/packages/ruby/package.py +++ b/var/spack/repos/builtin/packages/ruby/package.py @@ -34,6 +34,10 @@ class Ruby(AutotoolsPackage): depends_on('openssl', when='+openssl') depends_on('readline', when='+readline') + # Known build issues when Avira antivirus software is running: + # https://github.com/rvm/rvm/issues/4313#issuecomment-374020379 + # TODO: add check for this and warn user + # gcc-7-based build requires patches (cf. https://bugs.ruby-lang.org/issues/13150) patch('ruby_23_gcc7.patch', level=0, when='@2.2.0:2.2.999 %gcc@7:') patch('ruby_23_gcc7.patch', level=0, when='@2.3.0:2.3.4 %gcc@7:')