From 696881ae8201b9e1186612a7f10ffeba25607b75 Mon Sep 17 00:00:00 2001 From: Joseph Macaranas <145489236+jayhawk-commits@users.noreply.github.com> Date: Wed, 10 Sep 2025 12:06:14 -0400 Subject: [PATCH] LICENSE clean up (#919) - Clean up and standardization of MIT licenses after discussion with legal team. - Update README.md with blurb for top-level files. - MIT License explicitly mentioned for relevant projects. - Removal of years. - Copyright attribution should be to `Advanced Micro Devices, Inc.` and not `AMD ROCm(TM) Software` - Removal of `All rights reserved.` - Reduce line width of the text for readability. - Add clear visual separators for additional licenses. - Convert text files to markdown format for aforementioned separators. - Update build scripts to point to renamed files. - Fixed SMI doc references Co-authored-by: Maisam Arif --- README.md | 1 + projects/aqlprofile/LICENSE | 21 ------------------ .../LICENSE => aqlprofile/LICENSE.md} | 2 +- .../LICENSE => clr/LICENSE.md} | 2 +- projects/clr/LICENSE.txt | 19 ---------------- .../LICENSE => clr/hipamd/LICENSE.md} | 2 +- projects/clr/hipamd/LICENSE.txt | 20 ----------------- projects/clr/hipamd/packaging/CMakeLists.txt | 2 +- .../{rdc/LICENSE => clr/opencl/LICENSE.md} | 3 +-- projects/clr/opencl/LICENSE.txt | 20 ----------------- projects/clr/rocclr/LICENSE.md | 21 ++++++++++++++++++ projects/clr/rocclr/LICENSE.txt | 20 ----------------- projects/hip-tests/LICENSE.md | 21 ++++++++++++++++++ projects/hip-tests/LICENSE.txt | 20 ----------------- .../hip-tests/catch/packaging/CMakeLists.txt | 2 +- projects/hip/LICENSE.md | 21 ++++++++++++++++++ projects/hip/LICENSE.txt | 19 ---------------- projects/hipother/LICENSE.md | 21 ++++++++++++++++++ projects/hipother/LICENSE.txt | 20 ----------------- projects/rdc/CMakeLists.txt | 4 ++-- projects/rdc/LICENSE.md | 21 ++++++++++++++++++ projects/rdc/docs/license.md | 2 +- projects/rocm-core/CMakeLists.txt | 2 +- projects/rocm-core/LICENSE.md | 21 ++++++++++++++++++ projects/rocm-core/copyright | 21 ------------------ .../rocm-smi-lib/.azuredevops/rocm-ci.yml | 4 ++-- projects/rocm-smi-lib/CMakeLists.txt | 6 ++--- projects/rocm-smi-lib/LICENSE.md | 21 ++++++++++++++++++ projects/rocm-smi-lib/License.txt | 22 ------------------- .../cmake_modules/help_package.cmake | 2 +- projects/rocm-smi-lib/docs/license.md | 2 +- .../{LICENSE => LICENSE.md} | 4 +++- projects/rocprofiler-register/LICENSE.md | 21 ++++++++++++++++++ ...ocprofiler_register_config_packaging.cmake | 2 +- projects/rocprofiler-sdk/LICENSE.md | 21 ++++++++++++++++++ .../cmake/rocprofiler_config_packaging.cmake | 2 +- projects/rocprofiler-systems/LICENSE.md | 21 ++++++++++++++++++ .../cmake/ConfigCPack.cmake | 2 +- projects/rocprofiler/CMakeLists.txt | 2 +- projects/rocprofiler/LICENSE | 20 ----------------- projects/rocprofiler/LICENSE.md | 21 ++++++++++++++++++ projects/roctracer/CMakeLists.txt | 2 +- projects/roctracer/LICENSE | 20 ----------------- projects/roctracer/LICENSE.md | 21 ++++++++++++++++++ 44 files changed, 278 insertions(+), 266 deletions(-) delete mode 100644 projects/aqlprofile/LICENSE rename projects/{rocprofiler-register/LICENSE => aqlprofile/LICENSE.md} (96%) rename projects/{rocprofiler-systems/LICENSE => clr/LICENSE.md} (93%) delete mode 100644 projects/clr/LICENSE.txt rename projects/{rocprofiler-sdk/LICENSE => clr/hipamd/LICENSE.md} (93%) delete mode 100644 projects/clr/hipamd/LICENSE.txt rename projects/{rdc/LICENSE => clr/opencl/LICENSE.md} (93%) delete mode 100644 projects/clr/opencl/LICENSE.txt create mode 100644 projects/clr/rocclr/LICENSE.md delete mode 100644 projects/clr/rocclr/LICENSE.txt create mode 100644 projects/hip-tests/LICENSE.md delete mode 100644 projects/hip-tests/LICENSE.txt create mode 100644 projects/hip/LICENSE.md delete mode 100644 projects/hip/LICENSE.txt create mode 100644 projects/hipother/LICENSE.md delete mode 100644 projects/hipother/LICENSE.txt create mode 100644 projects/rdc/LICENSE.md create mode 100644 projects/rocm-core/LICENSE.md delete mode 100644 projects/rocm-core/copyright create mode 100644 projects/rocm-smi-lib/LICENSE.md delete mode 100644 projects/rocm-smi-lib/License.txt rename projects/rocprofiler-compute/{LICENSE => LICENSE.md} (95%) create mode 100644 projects/rocprofiler-register/LICENSE.md create mode 100644 projects/rocprofiler-sdk/LICENSE.md create mode 100644 projects/rocprofiler-systems/LICENSE.md delete mode 100644 projects/rocprofiler/LICENSE create mode 100644 projects/rocprofiler/LICENSE.md delete mode 100644 projects/roctracer/LICENSE create mode 100644 projects/roctracer/LICENSE.md diff --git a/README.md b/README.md index d18aefb238..55c0ad1b3a 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ To begin contributing or building, see the [CONTRIBUTING.md](./CONTRIBUTING.md) This super-repo contains multiple subprojects, each of which retains the license under which it was originally published. 📁 Refer to the `LICENSE`, `LICENSE.md`, or `LICENSE.txt` file within each `projects/` or `shared/` directory for specific license terms. +📄 Refer to the header notice in individual files outside `projects/` or `shared/` folders for their specific license terms. > **Note**: The root of this repository does not define a unified license across all components. diff --git a/projects/aqlprofile/LICENSE b/projects/aqlprofile/LICENSE deleted file mode 100644 index 114e7b4f95..0000000000 --- a/projects/aqlprofile/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017-2025 Advanced Micro Devices, Inc. - -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. diff --git a/projects/rocprofiler-register/LICENSE b/projects/aqlprofile/LICENSE.md similarity index 96% rename from projects/rocprofiler-register/LICENSE rename to projects/aqlprofile/LICENSE.md index 9f5c6dea78..4d43ac8700 100644 --- a/projects/rocprofiler-register/LICENSE +++ b/projects/aqlprofile/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 ROCm Developer Tools +Copyright (C) Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/rocprofiler-systems/LICENSE b/projects/clr/LICENSE.md similarity index 93% rename from projects/rocprofiler-systems/LICENSE rename to projects/clr/LICENSE.md index 2718c7a4e4..4d43ac8700 100644 --- a/projects/rocprofiler-systems/LICENSE +++ b/projects/clr/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Advanced Micro Devices, Inc. All Rights Reserved. +Copyright (C) Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/clr/LICENSE.txt b/projects/clr/LICENSE.txt deleted file mode 100644 index a8d7060d44..0000000000 --- a/projects/clr/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2008 - 2025 Advanced Micro Devices, Inc. - -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. diff --git a/projects/rocprofiler-sdk/LICENSE b/projects/clr/hipamd/LICENSE.md similarity index 93% rename from projects/rocprofiler-sdk/LICENSE rename to projects/clr/hipamd/LICENSE.md index 68eb68acb2..4d43ac8700 100644 --- a/projects/rocprofiler-sdk/LICENSE +++ b/projects/clr/hipamd/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023-2025 Advanced Micro Devices, Inc. All rights reserved. +Copyright (C) Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/clr/hipamd/LICENSE.txt b/projects/clr/hipamd/LICENSE.txt deleted file mode 100644 index 4cbb639232..0000000000 --- a/projects/clr/hipamd/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008 - 2022 Advanced Micro Devices, Inc. - -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. - diff --git a/projects/clr/hipamd/packaging/CMakeLists.txt b/projects/clr/hipamd/packaging/CMakeLists.txt index 759f09355f..9d742177e1 100644 --- a/projects/clr/hipamd/packaging/CMakeLists.txt +++ b/projects/clr/hipamd/packaging/CMakeLists.txt @@ -34,7 +34,7 @@ set(CPACK_RPM_COMPONENT_INSTALL ON) set(CPACK_DEB_COMPONENT_INSTALL ON) ###Set License#### -set(CPACK_RESOURCE_FILE_LICENSE ${hip_SOURCE_DIR}/LICENSE.txt) +set(CPACK_RESOURCE_FILE_LICENSE ${hip_SOURCE_DIR}/LICENSE.md) install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT binary) # install license file in share/doc/hip-asan folder install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan COMPONENT asan) diff --git a/projects/rdc/LICENSE b/projects/clr/opencl/LICENSE.md similarity index 93% rename from projects/rdc/LICENSE rename to projects/clr/opencl/LICENSE.md index a1dc19b122..4d43ac8700 100644 --- a/projects/rdc/LICENSE +++ b/projects/clr/opencl/LICENSE.md @@ -1,7 +1,6 @@ MIT License -Copyright (c) 2019-2025 Advanced Micro Devices, Inc. All rights reserved. - +Copyright (C) Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/clr/opencl/LICENSE.txt b/projects/clr/opencl/LICENSE.txt deleted file mode 100644 index 57378c6698..0000000000 --- a/projects/clr/opencl/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008 - 2021 Advanced Micro Devices, Inc. - -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. - diff --git a/projects/clr/rocclr/LICENSE.md b/projects/clr/rocclr/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/clr/rocclr/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/clr/rocclr/LICENSE.txt b/projects/clr/rocclr/LICENSE.txt deleted file mode 100644 index 57378c6698..0000000000 --- a/projects/clr/rocclr/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008 - 2021 Advanced Micro Devices, Inc. - -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. - diff --git a/projects/hip-tests/LICENSE.md b/projects/hip-tests/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/hip-tests/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/hip-tests/LICENSE.txt b/projects/hip-tests/LICENSE.txt deleted file mode 100644 index 797310b44b..0000000000 --- a/projects/hip-tests/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008 - 2024 Advanced Micro Devices, Inc. - -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. - diff --git a/projects/hip-tests/catch/packaging/CMakeLists.txt b/projects/hip-tests/catch/packaging/CMakeLists.txt index f516ddfd8e..1f059a8da7 100644 --- a/projects/hip-tests/catch/packaging/CMakeLists.txt +++ b/projects/hip-tests/catch/packaging/CMakeLists.txt @@ -115,7 +115,7 @@ endif() set(CPACK_SOURCE_GENERATOR "TGZ") # Install license file -set ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/../LICENSE.txt" ) +set ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/../LICENSE.md" ) install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${INSTALL_DIR}) set(CPACK_RPM_PACKAGE_LICENSE "MIT") diff --git a/projects/hip/LICENSE.md b/projects/hip/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/hip/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/hip/LICENSE.txt b/projects/hip/LICENSE.txt deleted file mode 100644 index a8d7060d44..0000000000 --- a/projects/hip/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2008 - 2025 Advanced Micro Devices, Inc. - -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. diff --git a/projects/hipother/LICENSE.md b/projects/hipother/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/hipother/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/hipother/LICENSE.txt b/projects/hipother/LICENSE.txt deleted file mode 100644 index 797310b44b..0000000000 --- a/projects/hipother/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008 - 2024 Advanced Micro Devices, Inc. - -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. - diff --git a/projects/rdc/CMakeLists.txt b/projects/rdc/CMakeLists.txt index 7ef6fa4cac..925ec9851c 100755 --- a/projects/rdc/CMakeLists.txt +++ b/projects/rdc/CMakeLists.txt @@ -169,7 +169,7 @@ set(CPACK_PACKAGE_DESCRIPTION "" ) set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Default packaging prefix.") -set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE" CACHE INTERNAL "") +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" CACHE INTERNAL "") set(CPACK_RPM_PACKAGE_LICENSE "MIT" CACHE INTERNAL "") set(CPACK_GENERATOR "DEB;RPM" CACHE STRING "Default packaging generators.") set(CPACK_DEB_COMPONENT_INSTALL ON) @@ -401,7 +401,7 @@ install(EXPORT rdcTargets DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${RDC}" COM install( FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR} - RENAME LICENSE.txt + RENAME LICENSE.md COMPONENT dev ) diff --git a/projects/rdc/LICENSE.md b/projects/rdc/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rdc/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/rdc/docs/license.md b/projects/rdc/docs/license.md index 89819476ee..aaf95ffd3a 100644 --- a/projects/rdc/docs/license.md +++ b/projects/rdc/docs/license.md @@ -1,4 +1,4 @@ # License -```{include} ../LICENSE +```{include} ../LICENSE.md ``` diff --git a/projects/rocm-core/CMakeLists.txt b/projects/rocm-core/CMakeLists.txt index cc6a8f6839..562754cd32 100644 --- a/projects/rocm-core/CMakeLists.txt +++ b/projects/rocm-core/CMakeLists.txt @@ -66,7 +66,7 @@ parse_rocm_version( ${ROCM_VERSION} ) set( CPACK_PACKAGING_INSTALL_PREFIX "/opt/rocm" CACHE PATH "default cpack directory" ) set( BUILD_SHARED_LIBS ON CACHE BOOL "Build shared library (.so) or not." ) set( CPACK_GENERATOR "TGZ;DEB;RPM" CACHE STRING "package types to be produced " ) -set( LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/copyright" CACHE PATH "Path to License File in source dir" ) +set( LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" CACHE PATH "Path to License File in source dir" ) set( BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR} ) set( EXTENDED_PACKAGE_DESCRIPTION "ROCM-CORE package helps to get ROCm release version,get install path. diff --git a/projects/rocm-core/LICENSE.md b/projects/rocm-core/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rocm-core/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/rocm-core/copyright b/projects/rocm-core/copyright deleted file mode 100644 index 8dc3cc8167..0000000000 --- a/projects/rocm-core/copyright +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 - 2024 Advanced Micro Devices, Inc. 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 -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. diff --git a/projects/rocm-smi-lib/.azuredevops/rocm-ci.yml b/projects/rocm-smi-lib/.azuredevops/rocm-ci.yml index 9f0276be9c..430c585b99 100644 --- a/projects/rocm-smi-lib/.azuredevops/rocm-ci.yml +++ b/projects/rocm-smi-lib/.azuredevops/rocm-ci.yml @@ -21,7 +21,7 @@ trigger: - docs - '.*.y*ml' - '*.md' - - License.txt + - LICENSE pr: autoCancel: true @@ -35,7 +35,7 @@ pr: - docs - '.*.y*ml' - '*.md' - - License.txt + - LICENSE drafts: false jobs: diff --git a/projects/rocm-smi-lib/CMakeLists.txt b/projects/rocm-smi-lib/CMakeLists.txt index f3a9a75262..327cb30366 100755 --- a/projects/rocm-smi-lib/CMakeLists.txt +++ b/projects/rocm-smi-lib/CMakeLists.txt @@ -21,7 +21,7 @@ find_package(PkgConfig) set(CMAKE_INSTALL_LIBDIR "lib" CACHE STRING "Library install directory") if (NOT DEFINED CPACK_RESOURCE_FILE_LICENSE) - set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/License.txt") + set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md") endif() set(ROCM_SMI "rocm_smi") @@ -280,11 +280,11 @@ set(CPACK_RPM_PACKAGE_LICENSE "NCSA") # install license file in share/doc/rocm-smi-lib-asan folder if( ENABLE_ASAN_PACKAGING ) install(FILES ${CPACK_RESOURCE_FILE_LICENSE} - DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/${ROCM_SMI_PACKAGE}-asan RENAME LICENSE.txt + DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/${ROCM_SMI_PACKAGE}-asan RENAME LICENSE.md COMPONENT asan) endif() install( FILES ${CPACK_RESOURCE_FILE_LICENSE} - DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/${ROCM_SMI_PACKAGE} RENAME LICENSE.txt + DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/${ROCM_SMI_PACKAGE} RENAME LICENSE.md COMPONENT dev) ########################### diff --git a/projects/rocm-smi-lib/LICENSE.md b/projects/rocm-smi-lib/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rocm-smi-lib/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/rocm-smi-lib/License.txt b/projects/rocm-smi-lib/License.txt deleted file mode 100644 index 88258bd2ce..0000000000 --- a/projects/rocm-smi-lib/License.txt +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2023-2025, Advanced Micro Devices, Inc. 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 -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. - diff --git a/projects/rocm-smi-lib/cmake_modules/help_package.cmake b/projects/rocm-smi-lib/cmake_modules/help_package.cmake index 94f71ce5d1..9bfb07e48f 100644 --- a/projects/rocm-smi-lib/cmake_modules/help_package.cmake +++ b/projects/rocm-smi-lib/cmake_modules/help_package.cmake @@ -85,7 +85,7 @@ function(generic_package) "${CMAKE_INSTALL_PREFIX}" CACHE STRING "Default packaging prefix.") set(CPACK_RESOURCE_FILE_LICENSE - "${CMAKE_CURRENT_SOURCE_DIR}/License.txt" + "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" CACHE STRING "") set(CPACK_RPM_PACKAGE_LICENSE "MIT" diff --git a/projects/rocm-smi-lib/docs/license.md b/projects/rocm-smi-lib/docs/license.md index 234cd49923..aaf95ffd3a 100644 --- a/projects/rocm-smi-lib/docs/license.md +++ b/projects/rocm-smi-lib/docs/license.md @@ -1,4 +1,4 @@ # License -```{include} ../License.txt +```{include} ../LICENSE.md ``` diff --git a/projects/rocprofiler-compute/LICENSE b/projects/rocprofiler-compute/LICENSE.md similarity index 95% rename from projects/rocprofiler-compute/LICENSE rename to projects/rocprofiler-compute/LICENSE.md index 7a7c12c897..0039180502 100644 --- a/projects/rocprofiler-compute/LICENSE +++ b/projects/rocprofiler-compute/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 - 2025 Advanced Micro Devices, Inc. All Rights Reserved. +Copyright (C) Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -20,6 +20,8 @@ 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. +--- + This application uses the following dependencies and their usage is governed by their respective licenses Python 3 standard library: PSFL astunparse python library: PSFL diff --git a/projects/rocprofiler-register/LICENSE.md b/projects/rocprofiler-register/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rocprofiler-register/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake b/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake index da8bbc8b90..bb7a96c1d3 100644 --- a/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake +++ b/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake @@ -8,7 +8,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}") set(CPACK_PACKAGE_CONTACT "ROCm Profiler Support ") -set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") +set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.md") set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF) set(ROCPROFILER_REGISTER_CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}" diff --git a/projects/rocprofiler-sdk/LICENSE.md b/projects/rocprofiler-sdk/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rocprofiler-sdk/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/rocprofiler-sdk/cmake/rocprofiler_config_packaging.cmake b/projects/rocprofiler-sdk/cmake/rocprofiler_config_packaging.cmake index fc612b5406..5306e6a453 100644 --- a/projects/rocprofiler-sdk/cmake/rocprofiler_config_packaging.cmake +++ b/projects/rocprofiler-sdk/cmake/rocprofiler_config_packaging.cmake @@ -31,7 +31,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}") set(CPACK_PACKAGE_CONTACT "ROCm Profiler Support ") -set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") +set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.md") set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF) set(CPACK_STRIP_FILES OFF diff --git a/projects/rocprofiler-systems/LICENSE.md b/projects/rocprofiler-systems/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rocprofiler-systems/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/rocprofiler-systems/cmake/ConfigCPack.cmake b/projects/rocprofiler-systems/cmake/ConfigCPack.cmake index 35e68e5fed..b8ff0950cf 100644 --- a/projects/rocprofiler-systems/cmake/ConfigCPack.cmake +++ b/projects/rocprofiler-systems/cmake/ConfigCPack.cmake @@ -51,7 +51,7 @@ set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}") set(CPACK_PACKAGE_CONTACT "https://github.com/ROCm/rocprofiler-systems") -set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") +set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.md") set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF) # For handling the project rebranding from "omnitrace" to "rocprofiler-systems" diff --git a/projects/rocprofiler/CMakeLists.txt b/projects/rocprofiler/CMakeLists.txt index f9f4f15372..23d27238b0 100644 --- a/projects/rocprofiler/CMakeLists.txt +++ b/projects/rocprofiler/CMakeLists.txt @@ -306,7 +306,7 @@ if(${LIBRARY_TYPE} STREQUAL SHARED) set(CPACK_PACKAGE_CONTACT "ROCm Profiler Support ") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "ROCPROFILER library for AMD HSA runtime API extension support") - set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") + set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md") if(DEFINED ENV{ROCM_LIBPATCH_VERSION}) set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.$ENV{ROCM_LIBPATCH_VERSION}") diff --git a/projects/rocprofiler/LICENSE b/projects/rocprofiler/LICENSE deleted file mode 100644 index b43445708d..0000000000 --- a/projects/rocprofiler/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2018-2025 Advanced Micro Devices, Inc. All rights reserved. -[MITx11 License] - -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. \ No newline at end of file diff --git a/projects/rocprofiler/LICENSE.md b/projects/rocprofiler/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/rocprofiler/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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. diff --git a/projects/roctracer/CMakeLists.txt b/projects/roctracer/CMakeLists.txt index 248ddd880a..2b858d24b6 100644 --- a/projects/roctracer/CMakeLists.txt +++ b/projects/roctracer/CMakeLists.txt @@ -91,7 +91,7 @@ set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") set(CPACK_PACKAGE_CONTACT "ROCm Profiler Support ") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "AMD ROCTRACER library") -set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md") if(DEFINED ENV{ROCM_LIBPATCH_VERSION}) set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.$ENV{ROCM_LIBPATCH_VERSION}") diff --git a/projects/roctracer/LICENSE b/projects/roctracer/LICENSE deleted file mode 100644 index e4103ac887..0000000000 --- a/projects/roctracer/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2018-2025 Advanced Micro Devices, Inc. All rights reserved. -[MITx11 License] - -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. diff --git a/projects/roctracer/LICENSE.md b/projects/roctracer/LICENSE.md new file mode 100644 index 0000000000..4d43ac8700 --- /dev/null +++ b/projects/roctracer/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (C) Advanced Micro Devices, Inc. + +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.