Skip to content
Snippets Groups Projects
  1. Jan 03, 2024
    • Jakub Jelinek's avatar
      Small tweaks for update-copyright.py · 9afc1915
      Jakub Jelinek authored
      update-copyright.py --this-year FAILs on two spots in the modula2
      directories.
      One is gpl_v3_without_node.texi, I think that is similar to other
      license files which we already exclude from updates.
      And the other is GmcOptions.cc, which has lines like
        mcPrintf_printf0 ((const char *) "Copyright ", 10);
        mcPrintf_printf1 ((const char *) "Copyright (C) %d Free Software Foundation, Inc.\\n", 49, (const unsigned char *) &year, (sizeof (year)-1));
        mcPrintf_printf1 ((const char *) "Copyright (C) %d Free Software Foundation, Inc.\\n", 49, (const unsigned char *) &year, (sizeof (year)-1));
      which update-copyhright.py obviously can't grok.  The file is generated
      and doesn't contain normal Copyright year which should be updated, so I think
      it is also ok to skip it.
      
      2024-01-03  Jakub Jelinek  <jakub@redhat.com>
      
      	* update-copyright.py (GenericFilter): Skip gpl_v3_without_node.texi.
      	(GCCFilter): Skip GmcOptions.cc.
      9afc1915
  2. Jan 17, 2023
  3. Jan 16, 2023
    • Jakub Jelinek's avatar
      Update copyright years. · 83ffe9cd
      Jakub Jelinek authored
      83ffe9cd
    • Jakub Jelinek's avatar
      contrib: Yet another update-copyright.py tweak [PR108413] · 3e087d9a
      Jakub Jelinek authored
      Ignore __builtins.di like object.d is already ignored.
      
      2023-01-16  Jakub Jelinek  <jakub@redhat.com>
      
      	PR other/108413
      	* update-copyright.py (LibPhobosFilter): Add __builtins.di to
      	skipped files.
      3e087d9a
    • Jakub Jelinek's avatar
      contrib: Partial fix for failed update-copyright --this year [PR108413] · d1c6a352
      Jakub Jelinek authored
      As mentioned on IRC or in PR108413, the last update-copyright.py --this year
      failed and that is why we are in a strange state where some copyrights have
      been updated and others have not.
      The full list of errors I got was I think:
      gcc/m2/mc-boot/GmcOptions.c: unrecognised copyright: comment (f, (const char *) "Copyright (C) ''2021'' Free Software Foundation, Inc.", 53);
      gcc/m2/mc-boot/GmcOptions.c: unrecognised copyright: comment (f, (const char *) "Copyright (C) ''2021'' Free Software Foundation, Inc.", 53);
      gcc/testsuite/gm2/switches/pedantic-params/pass/Strings.mod: unrecognised copyright holder: Faculty of Information Technology,
      gcc/testsuite/gm2/switches/pedantic-params/pass/Strings2.mod: unrecognised copyright holder: Faculty of Information Technology,
      libphobos/libdruntime/__builtins.di: unrecognised copyright: * Copyright: Copyright Digital Mars 2022
      libstdc++-v3/src/c++17/fast_float/fast_float.h: unrecognised copyright holder: The fast_float authors
      libstdc++-v3/include/c_compatibility/stdatomic.h: unrecognised copyright holder: The GCC developers
      
      The following patch deals with the gcc/testsuite/gm2 ones and
      with the fast_float.h one, ok for trunk?
      
      Not really sure what we should do in the GmcOptions.c case
      (perhaps obfuscate it in the source somehow by splitting
      the string literals into different substrings
      Perhaps "Copy" "right (" "C) ''..." would do it?  Or do we want
      to bump there each year (manually or by the script)?
      E.g. in gcc.cc we have
            printf ("Copyright %s 2023 Free Software Foundation, Inc.\n",
                    _("(C)"));
      which also prints (C) nicer in Unicode if possible and is updated
      by hand each year.
      
      I have no idea about the libphobos case, we have tons of
      libphobos/src/std/format/spec.d:Copyright: Copyright The D Language Foundation 2000-2013.
      libphobos/src/std/random.d:Copyright: Copyright Andrei Alexandrescu 2008 - 2009, Joseph Rushton Wakeling 2012.
      etc. lines and those aren't reported as errors.
      
      And the last one is that I think for The GCC developers we should treat it
      similarly like FSF and bump copyright on it.
      Would
              canon_gcc = 'The GCC developers'
              self.add_package_author ('The GCC developers', canon_gcc)
              self.add_package_author ('The GCC Developers', canon_gcc)
      or something similar do the trick?
      
      2023-01-16  Jakub Jelinek  <jakub@redhat.com>
      
      	PR other/108413
      	* update-copyright.py (TestsuiteFilter): Add .mod and .rs extensions.
      	(GCCCopyright): Add 'The fast_float authors' as external author.
      d1c6a352
  4. Jan 06, 2023
  5. Dec 28, 2022
  6. Nov 04, 2022
    • Thomas Schwinge's avatar
      Remove support for Intel MIC offloading · e4cba494
      Thomas Schwinge authored
      ... after its deprecation in GCC 12.
      
      	* Makefile.def: Remove module 'liboffloadmic'.
      	* Makefile.in: Regenerate.
      	* configure.ac: Remove 'liboffloadmic' handling.
      	* configure: Regenerate.
      	contrib/
      	* gcc-changelog/git_commit.py (default_changelog_locations):
      	Remove 'liboffloadmic'.
      	* gcc_update (files_and_dependencies): Remove 'liboffloadmic'
      	files.
      	* update-copyright.py (GCCCmdLine): Remove 'liboffloadmic'
      	comment.
      	gcc/
      	* config.gcc [target *-intelmic-* | *-intelmicemul-*]: Remove.
      	* config/i386/i386-options.cc (ix86_omp_device_kind_arch_isa)
      	[ACCEL_COMPILER]: Remove.
      	* config/i386/intelmic-mkoffload.cc: Remove.
      	* config/i386/intelmic-offload.h: Likewise.
      	* config/i386/t-intelmic: Likewise.
      	* config/i386/t-omp-device: Likewise.
      	* configure.ac [target *-intelmic-* | *-intelmicemul-*]: Remove.
      	* configure: Regenerate.
      	* doc/install.texi (--enable-offload-targets=[...]): Update.
      	* doc/sourcebuild.texi: Remove 'liboffloadmic' documentation.
      	include/
      	* gomp-constants.h (GOMP_DEVICE_INTEL_MIC): Comment out.
      	(GOMP_VERSION_INTEL_MIC): Remove.
      	libgomp/
      	* libgomp-plugin.h (OFFLOAD_TARGET_TYPE_INTEL_MIC): Remove.
      	* libgomp.texi (OpenMP Context Selectors): Remove Intel MIC
      	documentation.
      	* plugin/configfrag.ac <enable_offload_targets>
      	[*-intelmic-* | *-intelmicemul-*]: Remove.
      	* configure: Regenerate.
      	* testsuite/lib/libgomp.exp (libgomp_init): Remove 'liboffloadmic'
      	handling.
      	(offload_target_to_openacc_device_type)
      	[$offload_target = *-intelmic*]: Remove.
      	(check_effective_target_offload_device_intel_mic)
      	(check_effective_target_offload_device_any_intel_mic): Remove.
      	* testsuite/libgomp.c-c++-common/on_device_arch.h
      	(device_arch_intel_mic, on_device_arch_intel_mic, any_device_arch)
      	(any_device_arch_intel_mic): Remove.
      	* testsuite/libgomp.c-c++-common/target-45.c: Remove
      	'offload_device_any_intel_mic' XFAIL.
      	* testsuite/libgomp.fortran/target10.f90: Likewise.
      	liboffloadmic/
      	* ChangeLog: Remove.
      	* Makefile.am: Likewise.
      	* Makefile.in: Likewise.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* configure.ac: Likewise.
      	* configure.tgt: Likewise.
      	* doc/doxygen/config: Likewise.
      	* doc/doxygen/header.tex: Likewise.
      	* include/coi/common/COIEngine_common.h: Likewise.
      	* include/coi/common/COIEvent_common.h: Likewise.
      	* include/coi/common/COIMacros_common.h: Likewise.
      	* include/coi/common/COIPerf_common.h: Likewise.
      	* include/coi/common/COIResult_common.h: Likewise.
      	* include/coi/common/COISysInfo_common.h: Likewise.
      	* include/coi/common/COITypes_common.h: Likewise.
      	* include/coi/sink/COIBuffer_sink.h: Likewise.
      	* include/coi/sink/COIPipeline_sink.h: Likewise.
      	* include/coi/sink/COIProcess_sink.h: Likewise.
      	* include/coi/source/COIBuffer_source.h: Likewise.
      	* include/coi/source/COIEngine_source.h: Likewise.
      	* include/coi/source/COIEvent_source.h: Likewise.
      	* include/coi/source/COIPipeline_source.h: Likewise.
      	* include/coi/source/COIProcess_source.h: Likewise.
      	* liboffloadmic_host.spec.in: Likewise.
      	* liboffloadmic_target.spec.in: Likewise.
      	* plugin/Makefile.am: Likewise.
      	* plugin/Makefile.in: Likewise.
      	* plugin/aclocal.m4: Likewise.
      	* plugin/configure: Likewise.
      	* plugin/configure.ac: Likewise.
      	* plugin/libgomp-plugin-intelmic.cpp: Likewise.
      	* plugin/offload_target_main.cpp: Likewise.
      	* runtime/cean_util.cpp: Likewise.
      	* runtime/cean_util.h: Likewise.
      	* runtime/coi/coi_client.cpp: Likewise.
      	* runtime/coi/coi_client.h: Likewise.
      	* runtime/coi/coi_server.cpp: Likewise.
      	* runtime/coi/coi_server.h: Likewise.
      	* runtime/compiler_if_host.cpp: Likewise.
      	* runtime/compiler_if_host.h: Likewise.
      	* runtime/compiler_if_target.cpp: Likewise.
      	* runtime/compiler_if_target.h: Likewise.
      	* runtime/dv_util.cpp: Likewise.
      	* runtime/dv_util.h: Likewise.
      	* runtime/emulator/coi_common.h: Likewise.
      	* runtime/emulator/coi_device.cpp: Likewise.
      	* runtime/emulator/coi_device.h: Likewise.
      	* runtime/emulator/coi_host.cpp: Likewise.
      	* runtime/emulator/coi_host.h: Likewise.
      	* runtime/emulator/coi_version_asm.h: Likewise.
      	* runtime/emulator/coi_version_linker_script.map: Likewise.
      	* runtime/liboffload_error.c: Likewise.
      	* runtime/liboffload_error_codes.h: Likewise.
      	* runtime/liboffload_msg.c: Likewise.
      	* runtime/liboffload_msg.h: Likewise.
      	* runtime/mic_lib.f90: Likewise.
      	* runtime/offload.h: Likewise.
      	* runtime/offload_common.cpp: Likewise.
      	* runtime/offload_common.h: Likewise.
      	* runtime/offload_engine.cpp: Likewise.
      	* runtime/offload_engine.h: Likewise.
      	* runtime/offload_env.cpp: Likewise.
      	* runtime/offload_env.h: Likewise.
      	* runtime/offload_host.cpp: Likewise.
      	* runtime/offload_host.h: Likewise.
      	* runtime/offload_iterator.h: Likewise.
      	* runtime/offload_omp_host.cpp: Likewise.
      	* runtime/offload_omp_target.cpp: Likewise.
      	* runtime/offload_orsl.cpp: Likewise.
      	* runtime/offload_orsl.h: Likewise.
      	* runtime/offload_table.cpp: Likewise.
      	* runtime/offload_table.h: Likewise.
      	* runtime/offload_target.cpp: Likewise.
      	* runtime/offload_target.h: Likewise.
      	* runtime/offload_target_main.cpp: Likewise.
      	* runtime/offload_timer.h: Likewise.
      	* runtime/offload_timer_host.cpp: Likewise.
      	* runtime/offload_timer_target.cpp: Likewise.
      	* runtime/offload_trace.cpp: Likewise.
      	* runtime/offload_trace.h: Likewise.
      	* runtime/offload_util.cpp: Likewise.
      	* runtime/offload_util.h: Likewise.
      	* runtime/ofldbegin.cpp: Likewise.
      	* runtime/ofldend.cpp: Likewise.
      	* runtime/orsl-lite/include/orsl-lite.h: Likewise.
      	* runtime/orsl-lite/lib/orsl-lite.c: Likewise.
      	* runtime/orsl-lite/version.txt: Likewise.
      e4cba494
  7. Jan 03, 2022
  8. Nov 08, 2021
    • Thomas Schwinge's avatar
      Fix 'contrib/update-copyright.py': 'TypeError: exceptions must derive from BaseException' · eb4a3e6a
      Thomas Schwinge authored
      Running 'contrib/update-copyright.py' currently fails:
      
          [...]
          Traceback (most recent call last):
            File "contrib/update-copyright.py", line 365, in update_copyright
              canon_form = self.canonicalise_years (dir, filename, filter, years)
            File "contrib/update-copyright.py", line 270, in canonicalise_years
              (min_year, max_year) = self.year_range (years)
            File "contrib/update-copyright.py", line 253, in year_range
              year_list = [self.parse_year (year)
            File "contrib/update-copyright.py", line 253, in <listcomp>
              year_list = [self.parse_year (year)
            File "contrib/update-copyright.py", line 250, in parse_year
              raise self.BadYear (string)
          TypeError: exceptions must derive from BaseException
      
          During handling of the above exception, another exception occurred:
      
          Traceback (most recent call last):
            File "contrib/update-copyright.py", line 796, in <module>
              GCCCmdLine().main()
            File "contrib/update-copyright.py", line 527, in main
              self.copyright.process_tree (dir, filter)
            File "contrib/update-copyright.py", line 458, in process_tree
              self.process_file (dir, filename, filter)
            File "contrib/update-copyright.py", line 421, in process_file
              res = self.update_copyright (dir, filename, filter,
            File "contrib/update-copyright.py", line 366, in update_copyright
              except self.BadYear as e:
          TypeError: catching classes that do not inherit from BaseException is not allowed
      
      Fix up for commit 3b25e835
      "Port update-copyright.py to Python3".
      
      	contrib/
      	* update-copyright.py (class BadYear): Derive from 'Exception'.
      eb4a3e6a
  9. May 25, 2021
    • Jakub Jelinek's avatar
      Update copyright years in c++tools · c9a089ca
      Jakub Jelinek authored
      While looking at PR100731, I have noticed the copyright years are 2020-ish
      only.  This patch adds it to update-copyright.py and updates those.
      
      2021-05-25  Jakub Jelinek  <jakub@redhat.com>
      
      contrib/
      	* update-copyright.py: Add c++tools.
      c++tools/
      	* Makefile.in: Update copyright year.
      	* configure.ac: Likewise.
      	* resolver.cc: Likewise.
      	* resolver.h: Likewise.
      	* server.cc: Likewise.
      	(print_version): Update copyright notice date.
      c9a089ca
  10. May 11, 2021
    • Martin Liska's avatar
      Remove libhsail-rt. · 814d86dd
      Martin Liska authored
      ChangeLog:
      
      	* Makefile.def: Remove libhsail-rt.
      	* Makefile.in: Likewise.
      	* configure.ac: Likewise.
      	* configure: Regenerate.
      	* libhsail-rt/ChangeLog: Removed.
      	* libhsail-rt/Makefile.am: Removed.
      	* libhsail-rt/Makefile.in: Removed.
      	* libhsail-rt/README: Removed.
      	* libhsail-rt/aclocal.m4: Removed.
      	* libhsail-rt/configure: Removed.
      	* libhsail-rt/configure.ac: Removed.
      	* libhsail-rt/configure.tgt: Removed.
      	* libhsail-rt/include/internal/fibers.h: Removed.
      	* libhsail-rt/include/internal/phsa-queue-interface.h: Removed.
      	* libhsail-rt/include/internal/phsa-rt.h: Removed.
      	* libhsail-rt/include/internal/workitems.h: Removed.
      	* libhsail-rt/rt/arithmetic.c: Removed.
      	* libhsail-rt/rt/atomics.c: Removed.
      	* libhsail-rt/rt/bitstring.c: Removed.
      	* libhsail-rt/rt/fbarrier.c: Removed.
      	* libhsail-rt/rt/fibers.c: Removed.
      	* libhsail-rt/rt/fp16.c: Removed.
      	* libhsail-rt/rt/misc.c: Removed.
      	* libhsail-rt/rt/multimedia.c: Removed.
      	* libhsail-rt/rt/queue.c: Removed.
      	* libhsail-rt/rt/sat_arithmetic.c: Removed.
      	* libhsail-rt/rt/segment.c: Removed.
      	* libhsail-rt/rt/workitems.c: Removed.
      	* libhsail-rt/target-config.h.in: Removed.
      
      contrib/ChangeLog:
      
      	* gcc_update: Remove libhsail-rt folder.
      	* update-copyright.py: Likewise.
      814d86dd
  11. Jan 11, 2021
  12. Jan 04, 2021
  13. Jan 01, 2020
  14. Jan 01, 2019
  15. Nov 26, 2018
    • Iain Buclaw's avatar
      Add filters for D language sources to contrib/update-copyright.py · 80de5ef9
      Iain Buclaw authored
      2018-11-26  Iain Buclaw  <ibuclaw@gdcproject.org>
      
      	* update-copyright.py (TestsuiteFilter): Skip .d tests.
      	(LibPhobosFilter): Add filter for upstream D sources.
      	(GCCCopyright): Add D Language Foundation as external author.
      	(GCCCmdLine): Add libphobos.
      
      From-SVN: r266491
      80de5ef9
  16. Mar 02, 2018
    • Thomas Schwinge's avatar
      More Cilk Plus removal · ed2a2f08
      Thomas Schwinge authored
      	contrib/
      	* update-copyright.py: Remove "libcilkrts" reference.
      	gcc/c-family/
      	* c-attribs.c (c_common_attribute_table): Remove "cilk simd
      	function".
      	gcc/
      	* doc/invoke.texi: Remove "Cilk Plus" references.
      
      From-SVN: r258141
      ed2a2f08
  17. Jan 03, 2018
  18. Jan 30, 2017
  19. Jan 29, 2017
  20. Jan 26, 2017
    • Jakub Jelinek's avatar
      update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. · 68edb9ba
      Jakub Jelinek authored
      contrib/
      	* update-copyright.py: Add libhsail-rt to self.default_dirs
      	and call self.add_dir on it.  Add Intel Corporation to external
      	authors.
      gcc/
      	* brig-builtins.def: Update copyright years.
      	* config/arm/arm_acle_builtins.def: Update copyright years.
      gcc/brig/
      	Update copyright years.
      gcc/testsuite/
      	* brig.dg/dg.exp: Update copyright years.
      	* lib/brig-dg.exp: Update copyright years.
      	* lib/brig.exp: Update copyright years.
      libhsail-rt/
      	Update copyright years.
      libstdc++-v3/
      	* libsupc++/eh_atomics.h: Update copyright years.
      	* testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years.
      
      From-SVN: r244919
      68edb9ba
  21. Jan 20, 2017
  22. Jan 04, 2017
  23. Jan 01, 2017
  24. Jun 07, 2016
    • Rainer Orth's avatar
      Update copyright dates · 48eae472
      Rainer Orth authored
      	libcc1:
      	Update copyrights.
      
      	gotools:
      	Update copyrights.
      
      	contrib:
      	* update-copyright.py (LibMudflapFilter): Remove.
      	(GCCCmdLine.__init__): Add gotools, libcc1.
      	Remove libmudflap.
      	List unhandled intl, libcilkrts, libgo, liboffloadmic,
      	maintainer-scripts.
      
      From-SVN: r237169
      48eae472
  25. Jan 04, 2016
  26. Aug 27, 2015
    • Rainer Orth's avatar
      Update copyrights · dfa37515
      Rainer Orth authored
      	libvtv:
      	Update copyrights.
      
      	contrib:
      	* update-copyright.py (GCCCmdLine): Add libvtv.
      
      From-SVN: r227262
      dfa37515
  27. Jan 15, 2015
  28. Feb 06, 2013
  29. Feb 04, 2013
Loading