[ROCProfiler-Register/Systems/Compute] Fixing License file name usage (#927)

ROCProfiler-Register/Systems/Compute: The license file name in the CMake install module and other locations was originally LICENSE, but it was recently changed to LICENSE.md, requiring an update to the CMake install module and all other relevant locations.
This commit is contained in:
Ammar ELWazir
2025-09-10 14:46:39 -05:00
committad av GitHub
förälder aa90a83e42
incheckning 2a9700fcd7
12 ändrade filer med 14 tillägg och 19 borttagningar
@@ -104,7 +104,7 @@ jobs:
test -d $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/utils
test -s $INSTALL_DIR/rocprofiler-compute/share/rocprofiler-compute/sample/vcopy.cpp
test -d $INSTALL_DIR/rocprofiler-compute/share/rocprofiler-compute/modulefiles
test -s $INSTALL_DIR/rocprofiler-compute/share/doc/rocprofiler-compute/LICENSE
test -s $INSTALL_DIR/rocprofiler-compute/share/doc/rocprofiler-compute/LICENSE.md
- name: Query version (setting PYTHONPATH by hand)
run: |
export PYTHONPATH=${INSTALL_DIR}/python-libs:$PYTHONPATH
@@ -21,7 +21,6 @@ trigger:
- '.*.y*ml'
- '*.md'
- AUTHORS
- LICENSE
- VERSION
pr:
@@ -36,7 +35,6 @@ pr:
- '.*.y*ml'
- '*.md'
- AUTHORS
- LICENSE
- VERSION
drafts: false
@@ -22,7 +22,6 @@ trigger:
- '.*.y*ml'
- '*.md'
- AUTHORS
- LICENSE
- VERSION
pr:
@@ -38,7 +37,6 @@ pr:
- '.*.y*ml'
- '*.md'
- AUTHORS
- LICENSE
- VERSION
drafts: false
+3 -3
Visa fil
@@ -484,10 +484,10 @@ add_custom_target(
license
COMMAND
${PROJECT_SOURCE_DIR}/utils/update_license.py --source ${PROJECT_SOURCE_DIR}/src
--license ${PROJECT_SOURCE_DIR}/LICENSE --extension '.py'
--license ${PROJECT_SOURCE_DIR}/LICENSE.md --extension '.py'
COMMAND
${PROJECT_SOURCE_DIR}/utils/update_license.py --source ${PROJECT_SOURCE_DIR}
--license ${PROJECT_SOURCE_DIR}/LICENSE --file
--license ${PROJECT_SOURCE_DIR}/LICENSE.md --file
"src/${PACKAGE_NAME},cmake/Dockerfile,cmake/rocm_install.sh,docker/docker-entrypoint.sh,src/rocprof_compute_analyze/convertor/mongodb/convert"
)
@@ -524,7 +524,7 @@ add_custom_target(
COMMAND mv rocprof-compute.bin ${CMAKE_BINARY_DIR})
install(
FILES ${PROJECT_SOURCE_DIR}/LICENSE
FILES ${PROJECT_SOURCE_DIR}/LICENSE.md
DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT main)
+1 -1
Visa fil
@@ -16,7 +16,7 @@ feedback from the community. Please see the
[CONTRIBUTING.md](CONTRIBUTING.md) file for additional details on our
contribution process.
* Licensing information can be found in the [LICENSE](LICENSE) file.
* Licensing information can be found in the [LICENSE](LICENSE.md) file.
## Development
+1 -1
Visa fil
@@ -7,4 +7,4 @@
License
*******
.. include:: ../LICENSE
.. include:: ../LICENSE.md
@@ -4,7 +4,7 @@ include_guard(GLOBAL)
include(CMakePackageConfigHelpers)
install(
FILES ${PROJECT_SOURCE_DIR}/LICENSE
FILES ${PROJECT_SOURCE_DIR}/LICENSE.md
DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT core)
@@ -21,7 +21,6 @@ trigger:
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION
- .wordlist.txt
@@ -37,7 +36,6 @@ pr:
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION
- .wordlist.txt
drafts: false
+4 -3
Visa fil
@@ -385,8 +385,8 @@ endif()
# ------------------------------------------------------------------------------#
configure_file(
${PROJECT_SOURCE_DIR}/LICENSE
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE
${PROJECT_SOURCE_DIR}/LICENSE.md
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE.md
COPYONLY
)
@@ -430,7 +430,8 @@ install(
)
install(
FILES ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE
FILES
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/LICENSE.md
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}
COMPONENT setup
)
+1 -1
Visa fil
@@ -99,7 +99,7 @@ Please see the [pre-commit documentation](https://pre-commit.com/#quick-start) f
## Code License ##
All code contributed to this project will be licensed under the license identified in the [License](LICENSE). Your contribution will be accepted under the same license.
All code contributed to this project will be licensed under the license identified in the [License](LICENSE.md). Your contribution will be accepted under the same license.
## References ##
+1 -1
Visa fil
@@ -5,4 +5,4 @@
License
*******
.. include:: ../LICENSE
.. include:: ../LICENSE.md
@@ -63,7 +63,7 @@ if [ ${#files_with_missing_copyright[@]} -ne 0 ]; then
else
copyright_notice+="$comS"$'\n'
fi
done < LICENSE
done < LICENSE.md
# Add the notice to the beginning of the file
temp_file=$(mktemp)