Mercurial > hg > CbC > CbC_gcc
comparison contrib/update-copyright.py @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # | 2 # |
3 # Copyright (C) 2013-2017 Free Software Foundation, Inc. | 3 # Copyright (C) 2013-2018 Free Software Foundation, Inc. |
4 # | 4 # |
5 # This script is free software; you can redistribute it and/or modify | 5 # This script is free software; you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License as published by | 6 # it under the terms of the GNU General Public License as published by |
7 # the Free Software Foundation; either version 3, or (at your option) | 7 # the Free Software Foundation; either version 3, or (at your option) |
8 # any later version. | 8 # any later version. |
589 if filename == 'README' and os.path.basename (dir) == 'g++.niklas': | 589 if filename == 'README' and os.path.basename (dir) == 'g++.niklas': |
590 return True | 590 return True |
591 # Similarly params/README. | 591 # Similarly params/README. |
592 if filename == 'README' and os.path.basename (dir) == 'params': | 592 if filename == 'README' and os.path.basename (dir) == 'params': |
593 return True | 593 return True |
594 if filename == 'pdt_5.f03' and os.path.basename (dir) == 'gfortran.dg': | |
595 return True | |
594 return GenericFilter.skip_file (self, dir, filename) | 596 return GenericFilter.skip_file (self, dir, filename) |
595 | 597 |
596 class LibCppFilter (GenericFilter): | 598 class LibCppFilter (GenericFilter): |
597 def __init__ (self): | 599 def __init__ (self): |
598 GenericFilter.__init__ (self) | 600 GenericFilter.__init__ (self) |
704 # intl is imported from upstream. | 706 # intl is imported from upstream. |
705 self.add_dir ('libada') | 707 self.add_dir ('libada') |
706 self.add_dir ('libatomic') | 708 self.add_dir ('libatomic') |
707 self.add_dir ('libbacktrace') | 709 self.add_dir ('libbacktrace') |
708 self.add_dir ('libcc1') | 710 self.add_dir ('libcc1') |
709 # libcilkrts is imported from upstream. | |
710 self.add_dir ('libcpp', LibCppFilter()) | 711 self.add_dir ('libcpp', LibCppFilter()) |
711 self.add_dir ('libdecnumber') | 712 self.add_dir ('libdecnumber') |
712 # libffi is imported from upstream. | 713 # libffi is imported from upstream. |
713 self.add_dir ('libgcc', LibGCCFilter()) | 714 self.add_dir ('libgcc', LibGCCFilter()) |
714 self.add_dir ('libgfortran') | 715 self.add_dir ('libgfortran') |