Browse Source

intermediate changes
ref:51d474bda1b99a2cf73ca7da0cd5398ef5683bf4

arcadia-devtools 3 years ago
parent
commit
f1db7e1d2a

+ 14 - 4
contrib/libs/cxxsupp/openmp/.yandex_meta/devtools.copyrights.report

@@ -29,14 +29,24 @@
 # FILE_INCLUDE - include all file data into licenses text file
 # =======================
 
-KEEP     COPYRIGHT_SERVICE_LABEL a40b4dfd85d7d2a0c253d02baa200370
+KEEP     COPYRIGHT_SERVICE_LABEL a45ba012bf883779e8052cbbb4ec2dc9
 BELONGS ya.make
     License text:
-        Copyright (c) 1997-2019 Intel Corporation
+        Copyright (c) 1997-2014 Intel Corporation
     Scancode info:
         Original SPDX id: COPYRIGHT_SERVICE_LABEL
         Score           : 100.00
         Match type      : COPYRIGHT
     Files with this license:
-        LICENSE.TXT [254:254]
-        LICENSE.TXT [291:291]
+        LICENSE.txt [54:54]
+
+KEEP     COPYRIGHT_SERVICE_LABEL cdad5d413fb18dfe859c02e52a91e497
+BELONGS ya.make
+    License text:
+        Copyright (c) 1997-2015 Intel Corporation
+    Scancode info:
+        Original SPDX id: COPYRIGHT_SERVICE_LABEL
+        Score           : 100.00
+        Match type      : COPYRIGHT
+    Files with this license:
+        LICENSE.txt [17:17]

+ 179 - 385
contrib/libs/cxxsupp/openmp/.yandex_meta/devtools.licenses.report

@@ -29,443 +29,235 @@
 # FILE_INCLUDE - include all file data into licenses text file
 # =======================
 
-KEEP     NCSA AND MIT         1046d955b73b76a5985bad28cebed867
+KEEP     NCSA AND MIT         0791db4b6d90edd44c715bba1e426f74
 BELONGS ya.make
-    Note: matched license text is too long. Read it in the source files.
+FILE_INCLUDE LICENSE.txt found in files: kmp.h at line 12, kmp_affinity.cpp at line 11, kmp_affinity.h at line 11, kmp_alloc.c at line 11, kmp_atomic.c at line 11, kmp_atomic.h at line 11, kmp_barrier.cpp at line 11, kmp_cancel.cpp at line 7, kmp_config.h at line 9, kmp_csupport.c at line 11, kmp_debug.c at line 11, kmp_debug.h at line 11, kmp_dispatch.cpp at line 11, kmp_environment.c at line 11, kmp_environment.h at line 11, kmp_error.c at line 11, kmp_error.h at line 11, kmp_ftn_cdecl.c at line 11, kmp_ftn_entry.h at line 11, kmp_ftn_extra.c at line 11, kmp_ftn_os.h at line 11, kmp_global.c at line 11, kmp_gsupport.c at line 11, kmp_i18n.c at line 11, kmp_i18n.h at line 11, kmp_io.c at line 11, kmp_io.h at line 11, kmp_itt.c at line 14, kmp_itt.h at line 12, kmp_itt.inl at line 12, kmp_lock.cpp at line 11, kmp_lock.h at line 11, kmp_os.h at line 11, kmp_platform.h at line 10, kmp_runtime.c at line 11, kmp_safe_c_api.h at line 7, kmp_sched.cpp at line 11, kmp_settings.c at line 11, kmp_settings.h at line 11, kmp_stats.h at line 14, kmp_str.c at line 11, kmp_str.h at line 11, kmp_taskdeps.cpp at line 11, kmp_tasking.c at line 11, kmp_taskq.c at line 11, kmp_threadprivate.c at line 11, kmp_utility.c at line 11, kmp_version.c at line 11, kmp_version.h at line 11, kmp_wait_release.cpp at line 11, kmp_wait_release.h at line 11, kmp_wrapper_getpid.h at line 11, kmp_wrapper_malloc.h at line 12, omp.h at line 11, thirdparty/ittnotify/disable_warnings.h at line 7, thirdparty/ittnotify/ittnotify.h at line 7, thirdparty/ittnotify/ittnotify_config.h at line 7, thirdparty/ittnotify/ittnotify_static.c at line 7, thirdparty/ittnotify/ittnotify_types.h at line 7, thirdparty/ittnotify/legacy/ittnotify.h at line 7, z_Linux_util.c at line 11
+    License text:
+        // This file is dual licensed under the MIT and the University of Illinois Open
+        // Source Licenses. See LICENSE.txt for details.
     Scancode info:
         Original SPDX id: NCSA
         Score           : 100.00
         Match type      : NOTICE
         Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        LICENSE.TXT [240:247]
+        kmp.h [11:12]
+        kmp_affinity.cpp [10:11]
+        kmp_affinity.h [10:11]
+        kmp_alloc.c [10:11]
+        kmp_atomic.c [10:11]
+        kmp_atomic.h [10:11]
+        kmp_barrier.cpp [10:11]
+        kmp_cancel.cpp [6:7]
+        kmp_config.h [8:9]
+        kmp_csupport.c [10:11]
+        kmp_debug.c [10:11]
+        kmp_debug.h [10:11]
+        kmp_dispatch.cpp [10:11]
+        kmp_environment.c [10:11]
+        kmp_environment.h [10:11]
+        kmp_error.c [10:11]
+        kmp_error.h [10:11]
+        kmp_ftn_cdecl.c [10:11]
+        kmp_ftn_entry.h [10:11]
+        kmp_ftn_extra.c [10:11]
+        kmp_ftn_os.h [10:11]
+        kmp_global.c [10:11]
+        kmp_gsupport.c [10:11]
+        kmp_i18n.c [10:11]
+        kmp_i18n.h [10:11]
+        kmp_io.c [10:11]
+        kmp_io.h [10:11]
+        kmp_itt.c [13:14]
+        kmp_itt.h [11:12]
+        kmp_itt.inl [11:12]
+        kmp_lock.cpp [10:11]
+        kmp_lock.h [10:11]
+        kmp_os.h [10:11]
+        kmp_platform.h [9:10]
+        kmp_runtime.c [10:11]
+        kmp_safe_c_api.h [6:7]
+        kmp_sched.cpp [10:11]
+        kmp_settings.c [10:11]
+        kmp_settings.h [10:11]
+        kmp_stats.h [13:14]
+        kmp_str.c [10:11]
+        kmp_str.h [10:11]
+        kmp_taskdeps.cpp [10:11]
+        kmp_tasking.c [10:11]
+        kmp_taskq.c [10:11]
+        kmp_threadprivate.c [10:11]
+        kmp_utility.c [10:11]
+        kmp_version.c [10:11]
+        kmp_version.h [10:11]
+        kmp_wait_release.cpp [10:11]
+        kmp_wait_release.h [10:11]
+        kmp_wrapper_getpid.h [10:11]
+        kmp_wrapper_malloc.h [11:12]
+        omp.h [10:11]
+        thirdparty/ittnotify/disable_warnings.h [6:7]
+        thirdparty/ittnotify/ittnotify.h [6:7]
+        thirdparty/ittnotify/ittnotify_config.h [6:7]
+        thirdparty/ittnotify/ittnotify_static.c [6:7]
+        thirdparty/ittnotify/ittnotify_types.h [6:7]
+        thirdparty/ittnotify/legacy/ittnotify.h [6:7]
+        z_Linux_util.c [10:11]
     Scancode info:
         Original SPDX id: MIT
         Score           : 100.00
         Match type      : NOTICE
         Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
     Files with this license:
-        LICENSE.TXT [240:247]
-    Scancode info:
-        Original SPDX id: LicenseRef-scancode-generic-cla
-        Score           : 100.00
-        Match type      : NOTICE
-        Links           : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/generic-cla.LICENSE
-    Files with this license:
-        LICENSE.TXT [240:247]
+        kmp.h [11:12]
+        kmp_affinity.cpp [10:11]
+        kmp_affinity.h [10:11]
+        kmp_alloc.c [10:11]
+        kmp_atomic.c [10:11]
+        kmp_atomic.h [10:11]
+        kmp_barrier.cpp [10:11]
+        kmp_cancel.cpp [6:7]
+        kmp_config.h [8:9]
+        kmp_csupport.c [10:11]
+        kmp_debug.c [10:11]
+        kmp_debug.h [10:11]
+        kmp_dispatch.cpp [10:11]
+        kmp_environment.c [10:11]
+        kmp_environment.h [10:11]
+        kmp_error.c [10:11]
+        kmp_error.h [10:11]
+        kmp_ftn_cdecl.c [10:11]
+        kmp_ftn_entry.h [10:11]
+        kmp_ftn_extra.c [10:11]
+        kmp_ftn_os.h [10:11]
+        kmp_global.c [10:11]
+        kmp_gsupport.c [10:11]
+        kmp_i18n.c [10:11]
+        kmp_i18n.h [10:11]
+        kmp_io.c [10:11]
+        kmp_io.h [10:11]
+        kmp_itt.c [13:14]
+        kmp_itt.h [11:12]
+        kmp_itt.inl [11:12]
+        kmp_lock.cpp [10:11]
+        kmp_lock.h [10:11]
+        kmp_os.h [10:11]
+        kmp_platform.h [9:10]
+        kmp_runtime.c [10:11]
+        kmp_safe_c_api.h [6:7]
+        kmp_sched.cpp [10:11]
+        kmp_settings.c [10:11]
+        kmp_settings.h [10:11]
+        kmp_stats.h [13:14]
+        kmp_str.c [10:11]
+        kmp_str.h [10:11]
+        kmp_taskdeps.cpp [10:11]
+        kmp_tasking.c [10:11]
+        kmp_taskq.c [10:11]
+        kmp_threadprivate.c [10:11]
+        kmp_utility.c [10:11]
+        kmp_version.c [10:11]
+        kmp_version.h [10:11]
+        kmp_wait_release.cpp [10:11]
+        kmp_wait_release.h [10:11]
+        kmp_wrapper_getpid.h [10:11]
+        kmp_wrapper_malloc.h [11:12]
+        omp.h [10:11]
+        thirdparty/ittnotify/disable_warnings.h [6:7]
+        thirdparty/ittnotify/ittnotify.h [6:7]
+        thirdparty/ittnotify/ittnotify_config.h [6:7]
+        thirdparty/ittnotify/ittnotify_static.c [6:7]
+        thirdparty/ittnotify/ittnotify_types.h [6:7]
+        thirdparty/ittnotify/legacy/ittnotify.h [6:7]
+        z_Linux_util.c [10:11]
 
-KEEP     Apache-2.0 WITH LLVM-exception 2eeede7ef78b2b5da03a36caf5f1f61c
-BELONGS ya.make
-    License text:
-        //// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-        //// See https://llvm.org/LICENSE.txt for license information.
-    Scancode info:
-        Original SPDX id: Apache-2.0
-        Score           : 100.00
-        Match type      : NOTICE
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
-    Files with this license:
-        z_Linux_asm.S [7:8]
-    Scancode info:
-        Original SPDX id: LLVM-exception
-        Score           : 100.00
-        Match type      : NOTICE
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
-    Files with this license:
-        z_Linux_asm.S [7:8]
-
-KEEP     NCSA                 5a35b4c0d3b3923cac31a5a371332ca2
+KEEP     NCSA AND MIT         1046d955b73b76a5985bad28cebed867
 BELONGS ya.make
-    License text:
-        Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
+    Note: matched license text is too long. Read it in the source files.
     Scancode info:
         Original SPDX id: NCSA
         Score           : 100.00
-        Match type      : REFERENCE
+        Match type      : NOTICE
         Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        LICENSE.TXT [237:237]
-
-KEEP     MIT                  5debb370f50e1dfd24ff5144233a2ef6
-BELONGS ya.make
-    Note: matched license text is too long. Read it in the source files.
+        LICENSE.txt [3:10]
     Scancode info:
         Original SPDX id: MIT
         Score           : 100.00
-        Match type      : TEXT
-        Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
-    Files with this license:
-        LICENSE.TXT [293:309]
-
-KEEP     NCSA                 6caabae7bd314fb6e6055ec150ee747f
-BELONGS ya.make
-    Note: matched license text is too long. Read it in the source files.
-    Scancode info:
-        Original SPDX id: NCSA
-        Score           : 99.55
-        Match type      : TEXT
-        Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
-    Files with this license:
-        LICENSE.TXT [263:287]
-
-KEEP     Apache-2.0 WITH LLVM-exception 755ab7da3ff8c5d6ae90bdbebd177e49
-BELONGS ya.make
-    License text:
-        // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-        // See https://llvm.org/LICENSE.txt for license information.
-    Scancode info:
-        Original SPDX id: Apache-2.0
-        Score           : 100.00
         Match type      : NOTICE
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
+        Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
     Files with this license:
-        kmp.h [8:9]
-        kmp_affinity.cpp [7:8]
-        kmp_affinity.h [7:8]
-        kmp_alloc.cpp [7:8]
-        kmp_atomic.cpp [7:8]
-        kmp_atomic.h [7:8]
-        kmp_barrier.cpp [7:8]
-        kmp_cancel.cpp [4:5]
-        kmp_config.h [6:7]
-        kmp_csupport.cpp [7:8]
-        kmp_debug.cpp [7:8]
-        kmp_debug.h [7:8]
-        kmp_dispatch.cpp [7:8]
-        kmp_dispatch.h [7:8]
-        kmp_environment.cpp [7:8]
-        kmp_environment.h [7:8]
-        kmp_error.cpp [7:8]
-        kmp_error.h [7:8]
-        kmp_ftn_cdecl.cpp [7:8]
-        kmp_ftn_entry.h [7:8]
-        kmp_ftn_extra.cpp [7:8]
-        kmp_ftn_os.h [7:8]
-        kmp_global.cpp [7:8]
-        kmp_gsupport.cpp [7:8]
-        kmp_i18n.cpp [7:8]
-        kmp_i18n.h [7:8]
-        kmp_io.cpp [7:8]
-        kmp_io.h [7:8]
-        kmp_itt.cpp [10:11]
-        kmp_itt.h [8:9]
-        kmp_lock.cpp [7:8]
-        kmp_lock.h [7:8]
-        kmp_os.h [7:8]
-        kmp_platform.h [7:8]
-        kmp_runtime.cpp [7:8]
-        kmp_safe_c_api.h [4:5]
-        kmp_sched.cpp [7:8]
-        kmp_settings.cpp [7:8]
-        kmp_settings.h [7:8]
-        kmp_stats.h [10:11]
-        kmp_str.cpp [7:8]
-        kmp_str.h [7:8]
-        kmp_taskdeps.cpp [7:8]
-        kmp_taskdeps.h [7:8]
-        kmp_tasking.cpp [7:8]
-        kmp_threadprivate.cpp [7:8]
-        kmp_utility.cpp [7:8]
-        kmp_version.cpp [7:8]
-        kmp_version.h [7:8]
-        kmp_wait_release.cpp [7:8]
-        kmp_wait_release.h [7:8]
-        kmp_wrapper_getpid.h [7:8]
-        kmp_wrapper_malloc.h [8:9]
-        omp-tools.h [7:8]
-        omp.h [8:9]
-        ompt-event-specific.h [12:13]
-        ompt-general.cpp [7:8]
-        ompt-internal.h [7:8]
-        ompt-specific.cpp [7:8]
-        ompt-specific.h [7:8]
-        z_Linux_util.cpp [7:8]
+        LICENSE.txt [3:10]
     Scancode info:
-        Original SPDX id: LLVM-exception
+        Original SPDX id: LicenseRef-scancode-generic-cla
         Score           : 100.00
         Match type      : NOTICE
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
+        Links           : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/generic-cla.LICENSE
     Files with this license:
-        kmp.h [8:9]
-        kmp_affinity.cpp [7:8]
-        kmp_affinity.h [7:8]
-        kmp_alloc.cpp [7:8]
-        kmp_atomic.cpp [7:8]
-        kmp_atomic.h [7:8]
-        kmp_barrier.cpp [7:8]
-        kmp_cancel.cpp [4:5]
-        kmp_config.h [6:7]
-        kmp_csupport.cpp [7:8]
-        kmp_debug.cpp [7:8]
-        kmp_debug.h [7:8]
-        kmp_dispatch.cpp [7:8]
-        kmp_dispatch.h [7:8]
-        kmp_environment.cpp [7:8]
-        kmp_environment.h [7:8]
-        kmp_error.cpp [7:8]
-        kmp_error.h [7:8]
-        kmp_ftn_cdecl.cpp [7:8]
-        kmp_ftn_entry.h [7:8]
-        kmp_ftn_extra.cpp [7:8]
-        kmp_ftn_os.h [7:8]
-        kmp_global.cpp [7:8]
-        kmp_gsupport.cpp [7:8]
-        kmp_i18n.cpp [7:8]
-        kmp_i18n.h [7:8]
-        kmp_io.cpp [7:8]
-        kmp_io.h [7:8]
-        kmp_itt.cpp [10:11]
-        kmp_itt.h [8:9]
-        kmp_lock.cpp [7:8]
-        kmp_lock.h [7:8]
-        kmp_os.h [7:8]
-        kmp_platform.h [7:8]
-        kmp_runtime.cpp [7:8]
-        kmp_safe_c_api.h [4:5]
-        kmp_sched.cpp [7:8]
-        kmp_settings.cpp [7:8]
-        kmp_settings.h [7:8]
-        kmp_stats.h [10:11]
-        kmp_str.cpp [7:8]
-        kmp_str.h [7:8]
-        kmp_taskdeps.cpp [7:8]
-        kmp_taskdeps.h [7:8]
-        kmp_tasking.cpp [7:8]
-        kmp_threadprivate.cpp [7:8]
-        kmp_utility.cpp [7:8]
-        kmp_version.cpp [7:8]
-        kmp_version.h [7:8]
-        kmp_wait_release.cpp [7:8]
-        kmp_wait_release.h [7:8]
-        kmp_wrapper_getpid.h [7:8]
-        kmp_wrapper_malloc.h [8:9]
-        omp-tools.h [7:8]
-        omp.h [8:9]
-        ompt-event-specific.h [12:13]
-        ompt-general.cpp [7:8]
-        ompt-internal.h [7:8]
-        ompt-specific.cpp [7:8]
-        ompt-specific.h [7:8]
-        z_Linux_util.cpp [7:8]
+        LICENSE.txt [3:10]
 
-KEEP     Apache-2.0 WITH LLVM-exception 813a7ee71d9804f118ddde21a452de40
+KEEP     NCSA AND MIT         479de2cae020eacfac58212c03d33ab1
 BELONGS ya.make
+FILE_INCLUDE LICENSE.txt found in files: thirdparty/ittnotify/ittnotify_static.h at line 7
     License text:
-        \#// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-        \#// See https://llvm.org/LICENSE.txt for license information.
+        // This file is dual licensed under the MIT and the University of Illinois Open
+        // Source Licenses. See LICENSE.txt for details.
     Scancode info:
-        Original SPDX id: Apache-2.0
+        Original SPDX id: NCSA
         Score           : 100.00
         Match type      : NOTICE
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
+        Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        exports_so.txt [6:7]
+        thirdparty/ittnotify/ittnotify_static.h [6:7]
     Scancode info:
-        Original SPDX id: LLVM-exception
+        Original SPDX id: MIT
         Score           : 100.00
         Match type      : NOTICE
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
+        Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
     Files with this license:
-        exports_so.txt [6:7]
+        thirdparty/ittnotify/ittnotify_static.h [6:7]
 
-KEEP     Apache-2.0 WITH LLVM-exception 8494a9caed330d9a4f40e19cce7dc770
+KEEP     MIT                  5debb370f50e1dfd24ff5144233a2ef6
 BELONGS ya.make
     Note: matched license text is too long. Read it in the source files.
     Scancode info:
-        Original SPDX id: LLVM-exception
+        Original SPDX id: MIT
         Score           : 100.00
         Match type      : TEXT
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
+        Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
     Files with this license:
-        LICENSE.TXT [208:222]
+        LICENSE.txt [56:72]
 
-KEEP     Apache-2.0 WITH LLVM-exception 8cf6c51a4358f58d16ab5358dd73b2b7
+KEEP     NCSA AND MIT         61ab203794bd26e0aab2c6b954e30d9a
 BELONGS ya.make
+FILE_INCLUDE LICENSE.txt found in files: z_Linux_asm.s at line 10
     License text:
-        //// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+        //// This file is dual licensed under the MIT and the University of Illinois Open
+        //// Source Licenses. See LICENSE.txt for details.
     Scancode info:
-        Original SPDX id: Apache-2.0
+        Original SPDX id: NCSA
         Score           : 100.00
-        Match type      : TAG
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
+        Match type      : NOTICE
+        Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        z_Linux_asm.S [9:9]
+        z_Linux_asm.s [9:10]
     Scancode info:
-        Original SPDX id: LLVM-exception
+        Original SPDX id: MIT
         Score           : 100.00
-        Match type      : TAG
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
+        Match type      : NOTICE
+        Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
     Files with this license:
-        z_Linux_asm.S [9:9]
+        z_Linux_asm.s [9:10]
 
-KEEP     Apache-2.0           9ac77f65a898755c7eed97099caded94
+KEEP     NCSA                 6caabae7bd314fb6e6055ec150ee747f
 BELONGS ya.make
     Note: matched license text is too long. Read it in the source files.
     Scancode info:
-        Original SPDX id: Apache-2.0
-        Score           : 100.00
+        Original SPDX id: NCSA
+        Score           : 99.55
         Match type      : TEXT
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
-    Files with this license:
-        LICENSE.TXT [5:205]
-
-KEEP     Apache-2.0 WITH LLVM-exception b7566a1930e050e1090162bf1d543650
-BELONGS ya.make
-    License text:
-        // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-    Scancode info:
-        Original SPDX id: Apache-2.0
-        Score           : 100.00
-        Match type      : TAG
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
-    Files with this license:
-        kmp.h [10:10]
-        kmp_affinity.cpp [9:9]
-        kmp_affinity.h [9:9]
-        kmp_alloc.cpp [9:9]
-        kmp_atomic.cpp [9:9]
-        kmp_atomic.h [9:9]
-        kmp_barrier.cpp [9:9]
-        kmp_cancel.cpp [6:6]
-        kmp_config.h [8:8]
-        kmp_csupport.cpp [9:9]
-        kmp_debug.cpp [9:9]
-        kmp_debug.h [9:9]
-        kmp_dispatch.cpp [9:9]
-        kmp_dispatch.h [9:9]
-        kmp_environment.cpp [9:9]
-        kmp_environment.h [9:9]
-        kmp_error.cpp [9:9]
-        kmp_error.h [9:9]
-        kmp_ftn_cdecl.cpp [9:9]
-        kmp_ftn_entry.h [9:9]
-        kmp_ftn_extra.cpp [9:9]
-        kmp_ftn_os.h [9:9]
-        kmp_global.cpp [9:9]
-        kmp_gsupport.cpp [9:9]
-        kmp_i18n.cpp [9:9]
-        kmp_i18n.h [9:9]
-        kmp_io.cpp [9:9]
-        kmp_io.h [9:9]
-        kmp_itt.cpp [12:12]
-        kmp_itt.h [10:10]
-        kmp_lock.cpp [9:9]
-        kmp_lock.h [9:9]
-        kmp_os.h [9:9]
-        kmp_platform.h [9:9]
-        kmp_runtime.cpp [9:9]
-        kmp_safe_c_api.h [6:6]
-        kmp_sched.cpp [9:9]
-        kmp_settings.cpp [9:9]
-        kmp_settings.h [9:9]
-        kmp_stats.h [12:12]
-        kmp_str.cpp [9:9]
-        kmp_str.h [9:9]
-        kmp_taskdeps.cpp [9:9]
-        kmp_taskdeps.h [9:9]
-        kmp_tasking.cpp [9:9]
-        kmp_threadprivate.cpp [9:9]
-        kmp_utility.cpp [9:9]
-        kmp_version.cpp [9:9]
-        kmp_version.h [9:9]
-        kmp_wait_release.cpp [9:9]
-        kmp_wait_release.h [9:9]
-        kmp_wrapper_getpid.h [9:9]
-        kmp_wrapper_malloc.h [10:10]
-        omp-tools.h [9:9]
-        omp.h [10:10]
-        ompt-event-specific.h [14:14]
-        ompt-general.cpp [9:9]
-        ompt-internal.h [9:9]
-        ompt-specific.cpp [9:9]
-        ompt-specific.h [9:9]
-        z_Linux_util.cpp [9:9]
-    Scancode info:
-        Original SPDX id: LLVM-exception
-        Score           : 100.00
-        Match type      : TAG
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
-    Files with this license:
-        kmp.h [10:10]
-        kmp_affinity.cpp [9:9]
-        kmp_affinity.h [9:9]
-        kmp_alloc.cpp [9:9]
-        kmp_atomic.cpp [9:9]
-        kmp_atomic.h [9:9]
-        kmp_barrier.cpp [9:9]
-        kmp_cancel.cpp [6:6]
-        kmp_config.h [8:8]
-        kmp_csupport.cpp [9:9]
-        kmp_debug.cpp [9:9]
-        kmp_debug.h [9:9]
-        kmp_dispatch.cpp [9:9]
-        kmp_dispatch.h [9:9]
-        kmp_environment.cpp [9:9]
-        kmp_environment.h [9:9]
-        kmp_error.cpp [9:9]
-        kmp_error.h [9:9]
-        kmp_ftn_cdecl.cpp [9:9]
-        kmp_ftn_entry.h [9:9]
-        kmp_ftn_extra.cpp [9:9]
-        kmp_ftn_os.h [9:9]
-        kmp_global.cpp [9:9]
-        kmp_gsupport.cpp [9:9]
-        kmp_i18n.cpp [9:9]
-        kmp_i18n.h [9:9]
-        kmp_io.cpp [9:9]
-        kmp_io.h [9:9]
-        kmp_itt.cpp [12:12]
-        kmp_itt.h [10:10]
-        kmp_lock.cpp [9:9]
-        kmp_lock.h [9:9]
-        kmp_os.h [9:9]
-        kmp_platform.h [9:9]
-        kmp_runtime.cpp [9:9]
-        kmp_safe_c_api.h [6:6]
-        kmp_sched.cpp [9:9]
-        kmp_settings.cpp [9:9]
-        kmp_settings.h [9:9]
-        kmp_stats.h [12:12]
-        kmp_str.cpp [9:9]
-        kmp_str.h [9:9]
-        kmp_taskdeps.cpp [9:9]
-        kmp_taskdeps.h [9:9]
-        kmp_tasking.cpp [9:9]
-        kmp_threadprivate.cpp [9:9]
-        kmp_utility.cpp [9:9]
-        kmp_version.cpp [9:9]
-        kmp_version.h [9:9]
-        kmp_wait_release.cpp [9:9]
-        kmp_wait_release.h [9:9]
-        kmp_wrapper_getpid.h [9:9]
-        kmp_wrapper_malloc.h [10:10]
-        omp-tools.h [9:9]
-        omp.h [10:10]
-        ompt-event-specific.h [14:14]
-        ompt-general.cpp [9:9]
-        ompt-internal.h [9:9]
-        ompt-specific.cpp [9:9]
-        ompt-specific.h [9:9]
-        z_Linux_util.cpp [9:9]
-
-KEEP     Apache-2.0 WITH LLVM-exception b7cec33eded9763725bcb0a858a5da3e
-BELONGS ya.make
-    License text:
-        \#// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-    Scancode info:
-        Original SPDX id: Apache-2.0
-        Score           : 100.00
-        Match type      : TAG
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
-    Files with this license:
-        exports_so.txt [8:8]
-    Scancode info:
-        Original SPDX id: LLVM-exception
-        Score           : 100.00
-        Match type      : TAG
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
+        Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        exports_so.txt [8:8]
+        LICENSE.txt [26:50]
 
 KEEP     NCSA                 c26d0b72f92421989c4471ae0acbc943
 BELONGS ya.make
@@ -478,7 +270,7 @@ BELONGS ya.make
         Match type      : REFERENCE
         Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        LICENSE.TXT [251:252]
+        LICENSE.txt [14:15]
 
 KEEP     Intel-LLVM-SGA       d5a6528c4e206fd72c16045a75e34576
 BELONGS ya.make
@@ -489,23 +281,25 @@ BELONGS ya.make
         Match type      : TEXT
         Links           : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/arm-llvm-sga.LICENSE
     Files with this license:
-        LICENSE.TXT [315:359]
+        LICENSE.txt [78:122]
 
-KEEP     Apache-2.0 WITH LLVM-exception df18889e552d44a4679aff552267f802
+KEEP     NCSA AND MIT         e56769dac6aaa0678164025adda8a1da
 BELONGS ya.make
+FILE_INCLUDE LICENSE.txt found in files: exports_so.txt at line 9
     License text:
-        The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
+        \#// This file is dual licensed under the MIT and the University of Illinois Open
+        \#// Source Licenses. See LICENSE.txt for details.
     Scancode info:
-        Original SPDX id: Apache-2.0
+        Original SPDX id: NCSA
         Score           : 100.00
         Match type      : NOTICE
-        Links           : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
+        Links           : http://www.otm.illinois.edu/faculty/forms/opensource.asp, https://spdx.org/licenses/NCSA
     Files with this license:
-        LICENSE.TXT [2:2]
+        exports_so.txt [8:9]
     Scancode info:
-        Original SPDX id: LLVM-exception
+        Original SPDX id: MIT
         Score           : 100.00
         Match type      : NOTICE
-        Links           : http://llvm.org/foundation/relicensing/LICENSE.txt, https://spdx.org/licenses/LLVM-exception
+        Links           : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
     Files with this license:
-        LICENSE.TXT [2:2]
+        exports_so.txt [8:9]

+ 135 - 246
contrib/libs/cxxsupp/openmp/.yandex_meta/licenses.list.txt

@@ -1,258 +1,136 @@
-====================Apache-2.0====================
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-    1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-    2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-    3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-    4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-    5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-    6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-    7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-    8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-    9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-    END OF TERMS AND CONDITIONS
-
-    APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-    Copyright [yyyy] [name of copyright owner]
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
-
-====================Apache-2.0 WITH LLVM-exception====================
-#// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#// See https://llvm.org/LICENSE.txt for license information.
-
-
-====================Apache-2.0 WITH LLVM-exception====================
-#// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-
-
-====================Apache-2.0 WITH LLVM-exception====================
----- LLVM Exceptions to the Apache 2.0 License ----
-
-As an exception, if, as a result of your compiling your source code, portions
-of this Software are embedded into an Object form of such source code, you
-may redistribute such embedded portions in such Object form without complying
-with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
+====================COPYRIGHT====================
+Copyright (c) 1997-2014 Intel Corporation
 
-In addition, if you combine or link compiled forms of this Software with
-software that is licensed under the GPLv2 ("Combined Software") and if a
-court of competent jurisdiction determines that the patent provision (Section
-3), the indemnity provision (Section 9) or other Section of the License
-conflicts with the conditions of the GPLv2, you may retroactively and
-prospectively choose to deem waived or otherwise exclude such Section(s) of
-the License, but only in their entirety and only with respect to the Combined
-Software.
 
+====================COPYRIGHT====================
+Copyright (c) 1997-2015 Intel Corporation
 
-====================Apache-2.0 WITH LLVM-exception====================
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
 
+====================File: LICENSE.txt====================
+==============================================================================
 
-====================Apache-2.0 WITH LLVM-exception====================
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+The software contained in this directory tree is dual licensed under both the
+University of Illinois "BSD-Like" license and the MIT license.  As a user of
+this code you may choose to use it under either license.  As a contributor,
+you agree to allow your code to be used under both.  The full text of the
+relevant licenses is included below.
 
+In addition, a license agreement from the copyright/patent holders of the
+software contained in this directory tree is included below.
+
+==============================================================================
 
-====================Apache-2.0 WITH LLVM-exception====================
-//// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-//// See https://llvm.org/LICENSE.txt for license information.
+University of Illinois/NCSA
+Open Source License
 
+Copyright (c) 1997-2015 Intel Corporation
 
-====================Apache-2.0 WITH LLVM-exception====================
-//// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+All rights reserved.
 
+Developed by:
+    OpenMP Runtime Team
+    Intel Corporation
+    http://www.openmprtl.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
 
-====================Apache-2.0 WITH LLVM-exception====================
-The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimers.
 
+    * Redistributions in binary form must reproduce the above copyright notice,
+      this list of conditions and the following disclaimers in the
+      documentation and/or other materials provided with the distribution.
 
-====================COPYRIGHT====================
-Copyright (c) 1997-2019 Intel Corporation
+    * Neither the names of Intel Corporation OpenMP Runtime Team nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this Software without specific prior written permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
+SOFTWARE.
+
+==============================================================================
+
+Copyright (c) 1997-2014 Intel Corporation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+==============================================================================
+
+Intel Corporation
+
+Software Grant License Agreement ("Agreement")
+
+Except for the license granted herein to you, Intel Corporation ("Intel") reserves
+all right, title, and interest in and to the Software (defined below).
+
+Definition
+
+"Software" means the code and documentation as well as any original work of
+authorship, including any modifications or additions to an existing work, that
+is intentionally submitted by Intel to llvm.org (http://llvm.org) ("LLVM") for
+inclusion in, or documentation of, any of the products owned or managed by LLVM
+(the "Work"). For the purposes of this definition, "submitted" means any form of
+electronic, verbal, or written communication sent to LLVM or its
+representatives, including but not limited to communication on electronic
+mailing lists, source code control systems, and issue tracking systems that are
+managed by, or on behalf of, LLVM for the purpose of discussing and improving
+the Work, but excluding communication that is conspicuously marked otherwise.
+
+1. Grant of Copyright License. Subject to the terms and conditions of this
+   Agreement, Intel hereby grants to you and to recipients of the Software
+   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
+   royalty-free, irrevocable copyright license to reproduce, prepare derivative
+   works of, publicly display, publicly perform, sublicense, and distribute the
+   Software and such derivative works.
+
+2. Grant of Patent License. Subject to the terms and conditions of this
+   Agreement, Intel hereby grants you and to recipients of the Software
+   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
+   royalty-free, irrevocable (except as stated in this section) patent license
+   to make, have made, use, offer to sell, sell, import, and otherwise transfer
+   the Work, where such license applies only to those patent claims licensable
+   by Intel that are necessarily infringed by Intel's Software alone or by
+   combination of the Software with the Work to which such Software was
+   submitted. If any entity institutes patent litigation against Intel or any
+   other entity (including a cross-claim or counterclaim in a lawsuit) alleging
+   that Intel's Software, or the Work to which Intel has contributed constitutes
+   direct or contributory patent infringement, then any patent licenses granted
+   to that entity under this Agreement for the Software or Work shall terminate
+   as of the date such litigation is filed.
+
+Unless required by applicable law or agreed to in writing, the software is
+provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+either express or implied, including, without limitation, any warranties or
+conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+PARTICULAR PURPOSE.
+
+==============================================================================
 
 
 ====================Intel-LLVM-SGA====================
@@ -323,10 +201,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 
 
-====================NCSA====================
-Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
-
-
 ====================NCSA====================
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal with
@@ -360,6 +234,21 @@ University of Illinois/NCSA
 Open Source License
 
 
+====================NCSA AND MIT====================
+#// This file is dual licensed under the MIT and the University of Illinois Open
+#// Source Licenses. See LICENSE.txt for details.
+
+
+====================NCSA AND MIT====================
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+
+
+====================NCSA AND MIT====================
+//// This file is dual licensed under the MIT and the University of Illinois Open
+//// Source Licenses. See LICENSE.txt for details.
+
+
 ====================NCSA AND MIT====================
 The software contained in this directory tree is dual licensed under both the
 University of Illinois "BSD-Like" license and the MIT license.  As a user of

+ 2 - 14
contrib/libs/cxxsupp/openmp/CREDITS.txt

@@ -8,25 +8,17 @@ beautification by scripts.  The fields are: name (N), email (E), web-address
 (W), PGP key ID and fingerprint (P), description (D), and snail-mail address
 (S).
 
-N: Adam Azarchs
-W: 10xgenomics.com
-D: Bug fix for lock code
-
 N: Carlo Bertolli
 W: http://ibm.com
 D: IBM contributor to PowerPC support in CMake files and elsewhere.
 
-N: Diego Caballero
-E: diego.l.caballero@gmail.com
-D: Fork performance improvements
-
 N: Sunita Chandrasekaran
 D: Contributor to testsuite from OpenUH
 
 N: Barbara Chapman
 D: Contributor to testsuite from OpenUH
 
-N: University of Houston
+N: University of Houston 
 W: http://web.cs.uh.edu/~openuh/download/
 D: OpenUH test suite
 
@@ -53,13 +45,9 @@ N: Steven Noonan
 E: steven@uplinklabs.net
 D: Patches for the ARM architecture and removal of several inconsistencies.
 
-N: Joachim Protze
-E: protze@itc.rwth-aachen.de
-D: OpenMP Tools Interface, Archer tool
-
 N: Alp Toker
 E: alp@nuanti.com
 D: Making build work for FreeBSD.
 
-N: Cheng Wang
+N: Cheng Wang 
 D: Contributor to testsuite from OpenUH

+ 0 - 361
contrib/libs/cxxsupp/openmp/LICENSE.TXT

@@ -1,361 +0,0 @@
-==============================================================================
-The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
-==============================================================================
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-    1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-    2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-    3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-    4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-    5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-    6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-    7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-    8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-    9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-    END OF TERMS AND CONDITIONS
-
-    APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-    Copyright [yyyy] [name of copyright owner]
-
-    Licensed under the Apache License, Version 2.0 (the "License");
-    you may not use this file except in compliance with the License.
-    You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
-
----- LLVM Exceptions to the Apache 2.0 License ----
-
-As an exception, if, as a result of your compiling your source code, portions
-of this Software are embedded into an Object form of such source code, you
-may redistribute such embedded portions in such Object form without complying
-with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
-
-In addition, if you combine or link compiled forms of this Software with
-software that is licensed under the GPLv2 ("Combined Software") and if a
-court of competent jurisdiction determines that the patent provision (Section
-3), the indemnity provision (Section 9) or other Section of the License
-conflicts with the conditions of the GPLv2, you may retroactively and
-prospectively choose to deem waived or otherwise exclude such Section(s) of
-the License, but only in their entirety and only with respect to the Combined
-Software.
-
-==============================================================================
-Software from third parties included in the LLVM Project:
-==============================================================================
-The LLVM Project contains third party software which is under different license
-terms. All such code will be identified clearly using at least one of two
-mechanisms:
-1) It will be in a separate directory tree with its own `LICENSE.txt` or
-   `LICENSE` file at the top containing the specific license and restrictions
-   which apply to that software, or
-2) It will contain specific license and restriction terms at the top of every
-   file.
-
-==============================================================================
-Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
-==============================================================================
-
-The software contained in this directory tree is dual licensed under both the
-University of Illinois "BSD-Like" license and the MIT license.  As a user of
-this code you may choose to use it under either license.  As a contributor,
-you agree to allow your code to be used under both.  The full text of the
-relevant licenses is included below.
-
-In addition, a license agreement from the copyright/patent holders of the
-software contained in this directory tree is included below.
-
-==============================================================================
-
-University of Illinois/NCSA
-Open Source License
-
-Copyright (c) 1997-2019 Intel Corporation
-
-All rights reserved.
-
-Developed by:
-    OpenMP Runtime Team
-    Intel Corporation
-    http://www.openmprtl.org
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal with
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-    * Redistributions of source code must retain the above copyright notice,
-      this list of conditions and the following disclaimers.
-
-    * Redistributions in binary form must reproduce the above copyright notice,
-      this list of conditions and the following disclaimers in the
-      documentation and/or other materials provided with the distribution.
-
-    * Neither the names of Intel Corporation OpenMP Runtime Team nor the
-      names of its contributors may be used to endorse or promote products
-      derived from this Software without specific prior written permission.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
-CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
-SOFTWARE.
-
-==============================================================================
-
-Copyright (c) 1997-2019 Intel Corporation
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-==============================================================================
-
-Intel Corporation
-
-Software Grant License Agreement ("Agreement")
-
-Except for the license granted herein to you, Intel Corporation ("Intel") reserves
-all right, title, and interest in and to the Software (defined below).
-
-Definition
-
-"Software" means the code and documentation as well as any original work of
-authorship, including any modifications or additions to an existing work, that
-is intentionally submitted by Intel to llvm.org (http://llvm.org) ("LLVM") for
-inclusion in, or documentation of, any of the products owned or managed by LLVM
-(the "Work"). For the purposes of this definition, "submitted" means any form of
-electronic, verbal, or written communication sent to LLVM or its
-representatives, including but not limited to communication on electronic
-mailing lists, source code control systems, and issue tracking systems that are
-managed by, or on behalf of, LLVM for the purpose of discussing and improving
-the Work, but excluding communication that is conspicuously marked otherwise.
-
-1. Grant of Copyright License. Subject to the terms and conditions of this
-   Agreement, Intel hereby grants to you and to recipients of the Software
-   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
-   royalty-free, irrevocable copyright license to reproduce, prepare derivative
-   works of, publicly display, publicly perform, sublicense, and distribute the
-   Software and such derivative works.
-
-2. Grant of Patent License. Subject to the terms and conditions of this
-   Agreement, Intel hereby grants you and to recipients of the Software
-   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
-   royalty-free, irrevocable (except as stated in this section) patent license
-   to make, have made, use, offer to sell, sell, import, and otherwise transfer
-   the Work, where such license applies only to those patent claims licensable
-   by Intel that are necessarily infringed by Intel's Software alone or by
-   combination of the Software with the Work to which such Software was
-   submitted. If any entity institutes patent litigation against Intel or any
-   other entity (including a cross-claim or counterclaim in a lawsuit) alleging
-   that Intel's Software, or the Work to which Intel has contributed constitutes
-   direct or contributory patent infringement, then any patent licenses granted
-   to that entity under this Agreement for the Software or Work shall terminate
-   as of the date such litigation is filed.
-
-Unless required by applicable law or agreed to in writing, the software is
-provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
-either express or implied, including, without limitation, any warranties or
-conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-PARTICULAR PURPOSE.
-
-==============================================================================

+ 124 - 0
contrib/libs/cxxsupp/openmp/LICENSE.txt

@@ -0,0 +1,124 @@
+==============================================================================
+
+The software contained in this directory tree is dual licensed under both the
+University of Illinois "BSD-Like" license and the MIT license.  As a user of
+this code you may choose to use it under either license.  As a contributor,
+you agree to allow your code to be used under both.  The full text of the
+relevant licenses is included below.
+
+In addition, a license agreement from the copyright/patent holders of the
+software contained in this directory tree is included below.
+
+==============================================================================
+
+University of Illinois/NCSA
+Open Source License
+
+Copyright (c) 1997-2015 Intel Corporation
+
+All rights reserved.
+
+Developed by:
+    OpenMP Runtime Team
+    Intel Corporation
+    http://www.openmprtl.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimers.
+
+    * Redistributions in binary form must reproduce the above copyright notice,
+      this list of conditions and the following disclaimers in the
+      documentation and/or other materials provided with the distribution.
+
+    * Neither the names of Intel Corporation OpenMP Runtime Team nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this Software without specific prior written permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
+SOFTWARE.
+
+==============================================================================
+
+Copyright (c) 1997-2014 Intel Corporation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+==============================================================================
+
+Intel Corporation
+
+Software Grant License Agreement ("Agreement")
+
+Except for the license granted herein to you, Intel Corporation ("Intel") reserves
+all right, title, and interest in and to the Software (defined below).
+
+Definition
+
+"Software" means the code and documentation as well as any original work of
+authorship, including any modifications or additions to an existing work, that
+is intentionally submitted by Intel to llvm.org (http://llvm.org) ("LLVM") for
+inclusion in, or documentation of, any of the products owned or managed by LLVM
+(the "Work"). For the purposes of this definition, "submitted" means any form of
+electronic, verbal, or written communication sent to LLVM or its
+representatives, including but not limited to communication on electronic
+mailing lists, source code control systems, and issue tracking systems that are
+managed by, or on behalf of, LLVM for the purpose of discussing and improving
+the Work, but excluding communication that is conspicuously marked otherwise.
+
+1. Grant of Copyright License. Subject to the terms and conditions of this
+   Agreement, Intel hereby grants to you and to recipients of the Software
+   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
+   royalty-free, irrevocable copyright license to reproduce, prepare derivative
+   works of, publicly display, publicly perform, sublicense, and distribute the
+   Software and such derivative works.
+
+2. Grant of Patent License. Subject to the terms and conditions of this
+   Agreement, Intel hereby grants you and to recipients of the Software
+   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
+   royalty-free, irrevocable (except as stated in this section) patent license
+   to make, have made, use, offer to sell, sell, import, and otherwise transfer
+   the Work, where such license applies only to those patent claims licensable
+   by Intel that are necessarily infringed by Intel's Software alone or by
+   combination of the Software with the Work to which such Software was
+   submitted. If any entity institutes patent litigation against Intel or any
+   other entity (including a cross-claim or counterclaim in a lawsuit) alleging
+   that Intel's Software, or the Work to which Intel has contributed constitutes
+   direct or contributory patent infringement, then any patent licenses granted
+   to that entity under this Agreement for the Software or Work shall terminate
+   as of the date such litigation is filed.
+
+Unless required by applicable law or agreed to in writing, the software is
+provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+either express or implied, including, without limitation, any warranties or
+conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+PARTICULAR PURPOSE.
+
+==============================================================================

+ 0 - 359
contrib/libs/cxxsupp/openmp/README.rst

@@ -1,359 +0,0 @@
-========================================
-How to Build the LLVM* OpenMP* Libraries
-========================================
-This repository requires `CMake <http://www.cmake.org/>`_ v2.8.0 or later.  LLVM
-and Clang need a more recent version which also applies for in-tree builds.  For
-more information than available in this document please see
-`LLVM's CMake documentation <https://llvm.org/docs/CMake.html>`_ and the
-`official documentation <https://cmake.org/cmake/help/v2.8.0/cmake.html>`_.
-
-.. contents::
-   :local:
-
-How to Call CMake Initially, then Repeatedly
-============================================
-- When calling CMake for the first time, all needed compiler options must be
-  specified on the command line.  After this initial call to CMake, the compiler
-  definitions must not be included for further calls to CMake.  Other options
-  can be specified on the command line multiple times including all definitions
-  in the build options section below.
-- Example of configuring, building, reconfiguring, rebuilding:
-
-  .. code-block:: console
-
-    $ mkdir build
-    $ cd build
-    $ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..  # Initial configuration
-    $ make
-    ...
-    $ make clean
-    $ cmake -DCMAKE_BUILD_TYPE=Debug ..                               # Second configuration
-    $ make
-    ...
-    $ rm -rf *
-    $ cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..        # Third configuration
-    $ make
-
-- Notice in the example how the compiler definitions are only specified for an
-  empty build directory, but other build options are used at any time.
-- The file ``CMakeCache.txt`` which is created after the first call to CMake is
-  a configuration file which holds all values for the build options.  These
-  values can be changed using a text editor to modify ``CMakeCache.txt`` as
-  opposed to using definitions on the command line.
-- To have CMake create a particular type of build generator file simply include
-  the ``-G <Generator name>`` option:
-
-  .. code-block:: console
-
-    $ cmake -G "Unix Makefiles" ...
-
-  You can see a list of generators CMake supports by executing the cmake command
-  with no arguments.
-
-Instructions to Build
-=====================
-.. code-block:: console
-
- $ cd openmp_top_level/ [ this directory with libomptarget/, runtime/, etc. ]
- $ mkdir build
- $ cd build
-
- [ Unix* Libraries ]
- $ cmake -DCMAKE_C_COMPILER=<C Compiler> -DCMAKE_CXX_COMPILER=<C++ Compiler> ..
-
- [ Windows* Libraries ]
- $ cmake -G <Generator Type> -DCMAKE_C_COMPILER=<C Compiler> -DCMAKE_CXX_COMPILER=<C++ Compiler> -DCMAKE_ASM_MASM_COMPILER=[ml | ml64] -DCMAKE_BUILD_TYPE=Release ..
-
- $ make
- $ make install
-
-CMake Options
-=============
-Builds with CMake can be customized by means of options as already seen above.
-One possibility is to pass them via the command line:
-
-.. code-block:: console
-
-  $ cmake -DOPTION=<value> path/to/source
-
-.. note:: The first value listed is the respective default for that option.
-
-Generic Options
----------------
-For full documentation consult the CMake manual or execute
-``cmake --help-variable VARIABLE_NAME`` to get information about a specific
-variable.
-
-**CMAKE_BUILD_TYPE** = ``Release|Debug|RelWithDebInfo``
-  Build type can be ``Release``, ``Debug``, or ``RelWithDebInfo`` which chooses
-  the optimization level and presence of debugging symbols.
-
-**CMAKE_C_COMPILER** = <C compiler name>
-  Specify the C compiler.
-
-**CMAKE_CXX_COMPILER** = <C++ compiler name>
-  Specify the C++ compiler.
-
-**CMAKE_Fortran_COMPILER** = <Fortran compiler name>
-  Specify the Fortran compiler. This option is only needed when
-  **LIBOMP_FORTRAN_MODULES** is ``ON`` (see below).  So typically, a Fortran
-  compiler is not needed during the build.
-
-**CMAKE_ASM_MASM_COMPILER** = ``ml|ml64``
-  This option is only relevant for Windows*.
-
-Options for all Libraries
--------------------------
-
-**OPENMP_ENABLE_WERROR** = ``OFF|ON``
-  Treat warnings as errors and fail, if a compiler warning is triggered.
-
-**OPENMP_LIBDIR_SUFFIX** = ``""``
-  Extra suffix to append to the directory where libraries are to be installed.
-
-**OPENMP_TEST_C_COMPILER** = ``${CMAKE_C_COMPILER}``
-  Compiler to use for testing. Defaults to the compiler that was also used for
-  building.
-
-**OPENMP_TEST_CXX_COMPILER** = ``${CMAKE_CXX_COMPILER}``
-  Compiler to use for testing. Defaults to the compiler that was also used for
-  building.
-
-**OPENMP_LLVM_TOOLS_DIR** = ``/path/to/built/llvm/tools``
-  Additional path to search for LLVM tools needed by tests.
-
-**OPENMP_LLVM_LIT_EXECUTABLE** = ``/path/to/llvm-lit``
-  Specify full path to ``llvm-lit`` executable for running tests.  The default
-  is to search the ``PATH`` and the directory in **OPENMP_LLVM_TOOLS_DIR**.
-
-**OPENMP_FILECHECK_EXECUTABLE** = ``/path/to/FileCheck``
-  Specify full path to ``FileCheck`` executable for running tests.  The default
-  is to search the ``PATH`` and the directory in **OPENMP_LLVM_TOOLS_DIR**.
-
-**OPENMP_NOT_EXECUTABLE** = ``/path/to/not``
-  Specify full path to ``not`` executable for running tests.  The default
-  is to search the ``PATH`` and the directory in **OPENMP_LLVM_TOOLS_DIR**.
-
-Options for ``libomp``
-----------------------
-
-**LIBOMP_ARCH** = ``aarch64|arm|i386|mic|mips|mips64|ppc64|ppc64le|x86_64|riscv64``
-  The default value for this option is chosen based on probing the compiler for
-  architecture macros (e.g., is ``__x86_64__`` predefined by compiler?).
-
-**LIBOMP_MIC_ARCH** = ``knc|knf``
-  Intel(R) Many Integrated Core Architecture (Intel(R) MIC Architecture) to
-  build for.  This value is ignored if **LIBOMP_ARCH** does not equal ``mic``.
-
-**LIBOMP_LIB_TYPE** = ``normal|profile|stubs``
-  Library type can be ``normal``, ``profile``, or ``stubs``.
-
-**LIBOMP_USE_VERSION_SYMBOLS** = ``ON|OFF``
-  Use versioned symbols for building the library.  This option only makes sense
-  for ELF based libraries where version symbols are supported (Linux*, some BSD*
-  variants).  It is ``OFF`` by default for Windows* and macOS*, but ``ON`` for
-  other Unix based operating systems.
-
-**LIBOMP_ENABLE_SHARED** = ``ON|OFF``
-  Build a shared library.  If this option is ``OFF``, static OpenMP libraries
-  will be built instead of dynamic ones.
-
-  .. note::
-
-    Static libraries are not supported on Windows*.
-
-**LIBOMP_FORTRAN_MODULES** = ``OFF|ON``
-  Create the Fortran modules (requires Fortran compiler).
-
-macOS* Fat Libraries
-""""""""""""""""""""
-On macOS* machines, it is possible to build universal (or fat) libraries which
-include both i386 and x86_64 architecture objects in a single archive.
-
-.. code-block:: console
-
-  $ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_OSX_ARCHITECTURES='i386;x86_64' ..
-  $ make
-
-There is also an option **LIBOMP_OSX_ARCHITECTURES** which can be set in case
-this is an LLVM source tree build. It will only apply for the ``libomp`` library
-avoids having the entire LLVM/Clang build produce universal binaries.
-
-Optional Features
-"""""""""""""""""
-
-**LIBOMP_USE_ADAPTIVE_LOCKS** = ``ON|OFF``
-  Include adaptive locks, based on Intel(R) Transactional Synchronization
-  Extensions (Intel(R) TSX).  This feature is x86 specific and turned ``ON``
-  by default for IA-32 architecture and Intel(R) 64 architecture.
-
-**LIBOMP_USE_INTERNODE_ALIGNMENT** = ``OFF|ON``
-  Align certain data structures on 4096-byte.  This option is useful on
-  multi-node systems where a small ``CACHE_LINE`` setting leads to false sharing.
-
-**LIBOMP_OMPT_SUPPORT** = ``ON|OFF``
-  Include support for the OpenMP Tools Interface (OMPT).
-  This option is supported and ``ON`` by default for x86, x86_64, AArch64,
-  PPC64 and RISCV64 on Linux* and macOS*.
-  This option is ``OFF`` if this feature is not supported for the platform.
-
-**LIBOMP_OMPT_OPTIONAL** = ``ON|OFF``
-  Include support for optional OMPT functionality.  This option is ignored if
-  **LIBOMP_OMPT_SUPPORT** is ``OFF``.
-
-**LIBOMP_STATS** = ``OFF|ON``
-  Include stats-gathering code.
-
-**LIBOMP_USE_DEBUGGER** = ``OFF|ON``
-  Include the friendly debugger interface.
-
-**LIBOMP_USE_HWLOC** = ``OFF|ON``
-  Use `OpenMPI's hwloc library <https://www.open-mpi.org/projects/hwloc/>`_ for
-  topology detection and affinity.
-
-**LIBOMP_HWLOC_INSTALL_DIR** = ``/path/to/hwloc/install/dir``
-  Specify install location of hwloc.  The configuration system will look for
-  ``hwloc.h`` in ``${LIBOMP_HWLOC_INSTALL_DIR}/include`` and the library in
-  ``${LIBOMP_HWLOC_INSTALL_DIR}/lib``.  The default is ``/usr/local``.
-  This option is only used if **LIBOMP_USE_HWLOC** is ``ON``.
-
-Additional Compiler Flags
-"""""""""""""""""""""""""
-
-These flags are **appended**, they do not overwrite any of the preset flags.
-
-**LIBOMP_CPPFLAGS** = <space-separated flags>
-  Additional C preprocessor flags.
-
-**LIBOMP_CXXFLAGS** = <space-separated flags>
-  Additional C++ compiler flags.
-
-**LIBOMP_ASMFLAGS** = <space-separated flags>
-  Additional assembler flags.
-
-**LIBOMP_LDFLAGS** = <space-separated flags>
-  Additional linker flags.
-
-**LIBOMP_LIBFLAGS** = <space-separated flags>
-  Additional libraries to link.
-
-**LIBOMP_FFLAGS** = <space-separated flags>
-  Additional Fortran compiler flags.
-
-Options for ``libomptarget``
-----------------------------
-
-An installed LLVM package is a prerequisite for building ``libomptarget``
-library. So ``libomptarget`` may only be built in two cases:
-
-- As a project of a regular LLVM build via **LLVM_ENABLE_PROJECTS**,
-  **LLVM_EXTERNAL_PROJECTS**, or **LLVM_ENABLE_RUNTIMES** or
-- as a standalone project build that uses a pre-installed LLVM package.
-  In this mode one has to make sure that the default CMake
-  ``find_package(LLVM)`` call `succeeds <https://cmake.org/cmake/help/latest/command/find_package.html#search-procedure>`_.
-
-**LIBOMPTARGET_OPENMP_HEADER_FOLDER** = ``""``
-  Path of the folder that contains ``omp.h``.  This is required for testing
-  out-of-tree builds.
-
-**LIBOMPTARGET_OPENMP_HOST_RTL_FOLDER** = ``""``
-  Path of the folder that contains ``libomp.so``, and ``libLLVMSupport.so``
-  when profiling is enabled.  This is required for testing.
-
-Options for ``NVPTX device RTL``
---------------------------------
-
-**LIBOMPTARGET_NVPTX_ENABLE_BCLIB** = ``ON|OFF``
-  Enable CUDA LLVM bitcode offloading device RTL. This is used for link time
-  optimization of the OMP runtime and application code. This option is enabled
-  by default if the build system determines that `CMAKE_C_COMPILER` is able to
-  compile and link the library.
-
-**LIBOMPTARGET_NVPTX_CUDA_COMPILER** = ``""``
-  Location of a CUDA compiler capable of emitting LLVM bitcode. Currently only
-  the Clang compiler is supported. This is only used when building the CUDA LLVM
-  bitcode offloading device RTL. If unspecified, either the Clang from the build
-  itself is used (i.e. an in-tree build with LLVM_ENABLE_PROJECTS including
-  clang), or the Clang compiler that the build uses as C compiler
-  (CMAKE_C_COMPILER; only if it is Clang). The latter is common for a
-  stage2-build or when using -DLLVM_ENABLE_RUNTIMES=openmp.
-
-**LIBOMPTARGET_NVPTX_BC_LINKER** = ``""``
-  Location of a linker capable of linking LLVM bitcode objects. This is only
-  used when building the CUDA LLVM bitcode offloading device RTL. If
-  unspecified, either the llvm-link in that same directory as
-  LIBOMPTARGET_NVPTX_CUDA_COMPILER is used, or the llvm-link from the
-  same build (available in an in-tree build).
-
-**LIBOMPTARGET_NVPTX_ALTERNATE_HOST_COMPILER** = ``""``
-  Host compiler to use with NVCC. This compiler is not going to be used to
-  produce any binary. Instead, this is used to overcome the input compiler
-  checks done by NVCC. E.g. if using a default host compiler that is not
-  compatible with NVCC, this option can be use to pass to NVCC a valid compiler
-  to avoid the error.
-
- **LIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES** = ``35``
-  List of CUDA compute capabilities that should be supported by the NVPTX
-  device RTL. E.g. for compute capabilities 6.0 and 7.0, the option "60;70"
-  should be used. Compute capability 3.5 is the minimum required.
-
- **LIBOMPTARGET_NVPTX_DEBUG** = ``OFF|ON``
-  Enable printing of debug messages from the NVPTX device RTL.
-
-**LIBOMPTARGET_LIT_ARGS** = ``""``
-  Arguments given to lit. ``make check-libomptarget`` and
-  ``make check-libomptarget-*`` are affected. For example, use
-  ``LIBOMPTARGET_LIT_ARGS="-j4"`` to force ``lit`` to start only four parallel
-  jobs instead of by default the number of threads in the system.
-
-Example Usages of CMake
-=======================
-
-Typical Invocations
--------------------
-
-.. code-block:: console
-
-  $ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
-  $ cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..
-  $ cmake -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc ..
-
-Advanced Builds with Various Options
-------------------------------------
-
-- Build the i386 Linux* library using GCC*
-
-  .. code-block:: console
-
-    $ cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DLIBOMP_ARCH=i386 ..
-
-- Build the x86_64 debug Mac library using Clang*
-
-  .. code-block:: console
-
-    $ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLIBOMP_ARCH=x86_64 -DCMAKE_BUILD_TYPE=Debug ..
-
-- Build the library (architecture determined by probing compiler) using the
-  Intel(R) C Compiler and the Intel(R) C++ Compiler.  Also, create Fortran
-  modules with the Intel(R) Fortran Compiler.
-
-  .. code-block:: console
-
-    $ cmake -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DCMAKE_Fortran_COMPILER=ifort -DLIBOMP_FORTRAN_MODULES=on ..
-
-- Have CMake find the C/C++ compiler and specify additional flags for the
-  preprocessor and C++ compiler.
-
-  .. code-blocks:: console
-
-    $ cmake -DLIBOMP_CPPFLAGS='-DNEW_FEATURE=1 -DOLD_FEATURE=0' -DLIBOMP_CXXFLAGS='--one-specific-flag --two-specific-flag' ..
-
-- Build the stubs library
-
-  .. code-blocks:: console
-
-    $ cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DLIBOMP_LIB_TYPE=stubs ..
-
-**Footnotes**
-
-.. [*] Other names and brands may be claimed as the property of others.

+ 1 - 0
contrib/libs/cxxsupp/openmp/asm.S

@@ -0,0 +1 @@
+#include "z_Linux_asm.s"

+ 27 - 17
contrib/libs/cxxsupp/openmp/exports_so.txt

@@ -3,9 +3,10 @@
 #
 #//===----------------------------------------------------------------------===//
 #//
-#// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-#// See https://llvm.org/LICENSE.txt for license information.
-#// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+#//                     The LLVM Compiler Infrastructure
+#//
+#// This file is dual licensed under the MIT and the University of Illinois Open
+#// Source Licenses. See LICENSE.txt for details.
 #//
 #//===----------------------------------------------------------------------===//
 #
@@ -20,12 +21,21 @@ VERSION {
         # "Normal" symbols.
         #
         omp_*;     # Standard OpenMP functions.
-        OMP_*;     # Standard OpenMP symbols.
 
         #
         # OMPT API
         #
-        ompt_start_tool;     # OMPT start interface
+        ompt_tool;           # OMPT initialization interface
+        ompt_control;        # OMPT control interface
+        
+        #
+        # OMPT state placeholders
+        #
+        ompt_idle;
+        ompt_overhead;
+        ompt_barrier_wait;
+        ompt_task_wait;
+        ompt_mutex_wait;
 
         ompc_*;    # omp.h renames some standard functions to ompc_*.
         kmp_*;     # Intel extensions.
@@ -35,6 +45,7 @@ VERSION {
 
         _You_must_link_with_*;     # Mutual detection/MS compatibility symbols.
 
+
         #
         # Debugger support.
         #
@@ -50,6 +61,7 @@ VERSION {
         ___kmp_allocate;
         ___kmp_free;
         __kmp_thread_pool;
+        __kmp_thread_pool_nth;
 
 	__kmp_reset_stats;
 
@@ -69,16 +81,22 @@ VERSION {
         __kmp_acquire_tas_lock;
         __kmp_acquire_ticket_lock;
         __kmp_fork_call;
+        __kmp_get_reduce_method;
         __kmp_invoke_microtask;
-#if KMP_USE_MONITOR
+        __kmp_itt_fini_ittlib;
+        __kmp_itt_init_ittlib;
         __kmp_launch_monitor;
-        __kmp_reap_monitor;
-#endif
         __kmp_launch_worker;
+        __kmp_reap_monitor;
         __kmp_reap_worker;
+        __kmp_release_32;
         __kmp_release_64;
+        __kmp_release_oncore;
+        __kmp_wait_32;
         __kmp_wait_64;
-        __kmp_wait_4;
+        __kmp_wait_oncore;
+        __kmp_wait_yield_4;
+        __kmp_wait_yield_8;
 
         # ittnotify symbols to be used by debugger
         __kmp_itt_fini_ittlib;
@@ -102,10 +120,6 @@ OMP_3.1 {
 } OMP_3.0;
 OMP_4.0 {
 } OMP_3.1;
-OMP_4.5 {
-} OMP_4.0;
-OMP_5.0 {
-} OMP_4.5;
 
 # sets up GCC GOMP_ version dependency chain
 GOMP_1.0 {
@@ -116,9 +130,5 @@ GOMP_3.0 {
 } GOMP_2.0;
 GOMP_4.0 {
 } GOMP_3.0;
-GOMP_4.5 {
-} GOMP_4.0;
-GOMP_5.0 {
-} GOMP_4.5;
 
 # end of file #

File diff suppressed because it is too large
+ 485 - 427
contrib/libs/cxxsupp/openmp/kmp.h


Some files were not shown because too many files changed in this diff