Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: llvm-project
Source: https://github.com/ROCm/llvm-project
Files-Excluded: amd/comgr/test/source/legacy
                amd/comgr/test/source/*.s
                amd/comgr/test/source/*.b
                .arcconfig
                .arclint
                bolt
                .ci
                clang
                .clang-format
                .clang-tidy
                clang-tools-extra
                cmake
                compiler-rt
                CONTRIBUTING.md
                cross-project-tests
                flang
                .git-blame-ignore-revs
                .github
                .gitignore
                libc
                libclc
                libcxx
                libcxxabi
                libunwind
                LICENSE.TXT
                lld
                lldb
                llvm
                llvm-libgcc
                .mailmap
                mlir
                openmp
                polly
                .project
                pstl
                README.md
                revert_patches.txt
                runtimes
                SECURITY.md
                third-party
                utils
                x
Comment: These files are the LLVM codes from upstream repository.
 As we are using the LLVM in Debian's official archive, we exclude
 the LLVM-related codebase from the source package.
 .
 Besides, amd/comgr/test/source/legacy/* and *.s binary/assemble files are used to emit
 LLVM amdgpu v2/v3 code, which violates DFSG, so we exclude them as well.

Files: amd/hipcc/*
Copyright: 2008, Advanced Micro Devices, Inc.
License: Expat

Files: amd/comgr/*
Copyright: 2018, Advanced Micro Devices, Inc.
License: NCSA

Files: amd/comgr/src/comgr-compiler.cpp
       amd/comgr/src/comgr-compiler.h
       amd/comgr/src/comgr-elfdump.cpp
       amd/comgr/src/comgr-objdump.cpp
       amd/comgr/src/comgr-objdump.h
       amd/comgr/src/comgr-symbol.cpp
       amd/comgr/src/comgr-symbolizer.cpp
       amd/comgr/src/comgr-symbolizer.h
Copyright: 2003-2017, University of Illinois at Urbana-Champaign
           2018, Advanced Micro Devices, Inc.
License: NCSA

Files: amd/device-libs/*
Copyright: 2014, Advanced Micro Devices, Inc.
License: NCSA

Files: debian/*
Copyright: 2022, Maxime Chambonnet <maxzor@maxzor.eu>
           2022-2023, Étienne Mollier <emollier@debian.org>
           2022-2025, Cordell Bloor <cgmb@slerp.xyz>
           2024, Xuanteng Huang <xuanteng.huang@outlook.com>
License: Expat
Comment: Some contents in the metafiles are borrowed from the origin rocm-hipamd
 repository (https://salsa.debian.org/rocm-team/rocm-hipamd) so we inherit the
 copyrights from there.

License: Expat
 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.

License: NCSA
 University of Illinois/NCSA
 Open Source License
 .
 All rights reserved.
 .
 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 the LLVM Team, University of Illinois at
   Urbana-Champaign, 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.
