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
                amd/git-hooks
                amd/hipcc
                amd/README.md
                amd/utils
                .azuredevops
                .ci
                .clang-format
                .clang-format-ignore
                .clang-tidy
                .git-blame-ignore-revs
                .gitattributes
                .github
                .gitignore
                .mailmap
                CODE_OF_CONDUCT.md
                CONTRIBUTING.md
                LICENSE.TXT
                README.md
                SECURITY.md
                bolt
                clang
                clang-tools-extra
                cmake
                compiler-rt
                cross-project-tests
                flang
                flang-rt
                libc
                libclc
                libcxx
                libcxxabi
                libsycl
                libunwind
                lld
                lldb
                llvm
                llvm-libgcc
                mlir
                offload
                openmp
                orc-rt
                polly
                pstl
                pyproject.toml
                revert_patches.txt
                runtimes
                third-party
                utils
Comment: These are LLVM sources from upstream repository, but
 we only want to build the device-libs component. We isolate the
 device-libs for two reasons: (1) there's a B-D chain where comgr
 needs rocr-runtime, which needs the device-libs, which is cyclical
 if comgr and device-libs are produced by from the same source
 package, and (2) the device-libs binaries are compiled to LLVM bitcode
 and are therefore only guaranteed to be compatible with the LLVM
 major version that built them.

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

Files: amd/device-libs/ocml/src/erfcD.cl
       amd/device-libs/ocml/src/erfcF.cl
       amd/device-libs/ocml/src/lgamma_rD.cl
       amd/device-libs/ocml/src/lgamma_rF.cl
Copyright: 2014-2016, Advanced Micro Devices, Inc.
           1993, Sun Microsystems, Inc.
License: NCSA and SunPro
Comment: These files began with Sun's netlib erf/lgamma implementations and
 were extended by AMD. AMD's contributions are distributed under NCSA, while
 the SunPro permissive notice is retained for the portions derived from Sun's
 original code, as required by that notice.

Files: debian/*
Copyright: 2022, Maxime Chambonnet <maxzor@maxzor.eu>
           2022-2023, Étienne Mollier <emollier@debian.org>
           2022-2026, Cordell Bloor <cgmb@debian.org>
           2024, Xuanteng Huang <xuanteng.huang@outlook.com>
           2024, Christian Kastner <ckk@debian.org>
           2025, Igor Luppi <igor.luppi@canonical.com>
           2025-2026, Talha Can Havadar <havadartalha@gmail.com>
License: Expat
Comment: The debian metafiles originated from src:rocm-llvm, but have had
 further modifications and updates.

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: SunPro
 Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
 .
 Developed at SunPro, a Sun Microsystems, Inc. business.
 Permission to use, copy, modify, and distribute this
 software is freely granted, provided that this notice
 is preserved.

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.
