Commit Graph

66 Commits

Author SHA1 Message Date
solaiys 8912930840 [rocm-core] Adding a tool for ROCM Deployment Health Check (#958)
* Adding a tool for ROCM Deployment Health Check

rdhc.py - This simple tool will check for the rocm
installation and its readiness on the current system and its working status.
Check the README file for more info.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-09-24 22:43:42 +05:30
Marius Brehler 01828d1375 Force gzip to overwrite an existing changelog (#665)
If a compressed changelog exists from a previous build, reconfiguring
the project fails with
```
[rocm-core configure] CMake Error at utils.cmake:213 (message):
[rocm-core configure]   Failed to compress: gzip:
[rocm-core configure]   /home/ben/src/TheRock/build/base/rocm-core/build/DEBIAN/changelog.Debian.gz
[rocm-core configure]   already exists; not overwritten
```

Add `-f` to force overwriting.
2025-09-11 16:34:37 -07:00
Joseph Macaranas dd1a2dbf8a Fix LICENSE path for opencl build (#939) 2025-09-10 17:54:22 -04:00
nunnikri b6ffa43226 SWDEV-553044 : Adding missing copyright header in rocm-core (#875)
SWDEV-553044 : Adding missing copyright header in rocm-core
2025-09-10 10:10:16 -07:00
Joseph Macaranas 696881ae82 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 <Maisam.Arif@amd.com>
2025-09-10 12:06:14 -04:00
Ashutosh Mishra f2f7f03d61 Fix buffer overrun (#655)
Assigning a null terminator at
the end of the string wrote
past the end of the allocated
buffer. This patch corrects that.

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
2025-08-25 09:41:25 +05:30
Nirmal Unnikrishnan dbbdeecf6b SWDEV-531400 : Adding the correct modulefile path for SLES
[ROCm/rocm-core commit: 942821090f]
2025-06-24 11:20:30 -07:00
Cheruvally, Aravindan 457ca05c6b SWDEV-538841 - Update libc dependency (#29)
[ROCm/rocm-core commit: 4819f8e6af]
2025-06-18 16:27:49 -07:00
Ramakrishnan, Ranjith 311f83e921 SWDEV-504756 - Prevent the modification of python interpreter directives (#27)
"/usr/bin/env python3" is getting converted to "/usr/libexec/platform-python" in RHEL8. Undefining __brp_mangle_shebangs will prevent the same

[ROCm/rocm-core commit: 0d7160da9a]
2025-06-18 09:27:05 -07:00
Cheruvally, Aravindan 701bbf5126 Lintian Warnings Fixes, Enhancements (#25)
* Add Lintian Warnings Fixes
* Update Review Comments, Warning Fixes


[ROCm/rocm-core commit: f774bf6276]
2025-06-01 18:48:30 -04:00
Cheruvally, Aravindan 9a03917e62 Enable Support for Lintian Override Configuration (#23)
* Update License file in deb pkg to only have debian lintian specific copyright

* Enable Support for Debian Pkg Lintian Overrides

* Enhance Lintian Override config File Name for static,asan (rocm-core)

* Update Review Comments/UT Test Fixes for Lintian Overrides

[ROCm/rocm-core commit: f6617fd89f]
2025-05-27 12:20:55 -04:00
Choudhary, Rahul df27a52348 Amd/dev/ninohila/enable palamida (#15)
removing url

[ROCm/rocm-core commit: 5d1d0d43cb]
2025-05-12 21:47:17 -07:00
Cheruvally, Aravindan 94292590aa Update License File install for ASAN (#21)
UT Fix - Update License File install for ASAN

[ROCm/rocm-core commit: fad35660c5]
2025-05-12 15:18:11 -07:00
Hila, Nino f9dd07ee75 Merge branch 'amd-mainline' into amd/dev/ninohila/enable-palamida
[ROCm/rocm-core commit: 7aaa4aad57]
2025-05-12 16:29:04 -04:00
Ashutosh Mishra 1f395fb3c4 Restoring the correct installation path
SWDEV-532187: The installation was failing
because of the same path used in all of the
packages. This patch seprates the same.

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>


[ROCm/rocm-core commit: fcd3952708]
2025-05-12 17:23:54 +05:30
Ashutosh Mishra a516138584 Adding condition for static package type
SWDEV-532030 : Static builds are failing
for mainline and release because COMP_TYPE
is empty in case of static builds.
This patch fixes the same.

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>


[ROCm/rocm-core commit: bbbb0075fc]
2025-05-12 11:45:20 +05:30
Cheruvally, Aravindan 5618f5b8fc Add Lintian Debian Packaging Configuration (#13)
*  SWDEV-531658 / SWDEV-529762
* Add Lintian Debian Packaging Configuration

* Updated Debian specific Lintian flag usage

* Updated Debian Pkg Extended Description usage

* Updated Debian Package ChangeLog

* Update Review Comments

* Update Review Comments - Renamed debian to DEBIAN folder

* Review Comment Update - Extended Description to use common across deb/rpm

* Update Review Comments - Change Log Test Updated

* Review Comment Update - remove duplicate & enhanced deb copyright header

* Update Change Log for the release

[ROCm/rocm-core commit: 461a5e1554]
2025-05-07 15:48:46 -07:00
Ramakrishnan, Ranjith bbd2edcca3 Remove the backward compatibility code for file reorganization (#14)
Remove the backward compatibilty code for file reorganization

File reorg backward compatibility support is no longer required

[ROCm/rocm-core commit: 33d87ba25d]
2025-05-06 08:43:03 -07:00
Hila, Nino e23ecf9197 Add palamida.yml
[ROCm/rocm-core commit: a7e3823768]
2025-05-05 16:27:44 -04:00
Cheruvally, Aravindan 4215053152 Re Enable SWDEV-521313 Streamline Version Management (#10)
Revert "Revert "SWDEV-521313 - Streamline Version Management: Retain Only version-roc…""

This reverts commit c48c9dac80.

[ROCm/rocm-core commit: de37842d6a]
2025-04-30 18:56:11 -04:00
Cheruvally, Aravindan 9d3c82bc22 Update Pre/Post File Permissions to 0755 (#12)
[ROCm/rocm-core commit: 0578cf70ef]
2025-04-29 15:49:53 -04:00
Choudhary, Rahul 05b8837d4e Create palamida.yml to enable Palamida scan
[ROCm/rocm-core commit: e3cf8dc4a3]
2025-04-22 15:44:14 -07:00
Hila, Nino a080571adc Add palamida.yml
[ROCm/rocm-core commit: 7de7ec43bb]
2025-04-22 12:00:55 -04:00
Choudhary, Rahul f3e0c78214 Update rocm_ci_caller.yml enabling !verify and re-test trigger
[ROCm/rocm-core commit: bb4889b787]
2025-04-04 11:18:48 -07:00
Cheruvally, Aravindan c48c9dac80 Revert "SWDEV-521313 - Streamline Version Management: Retain Only version-roc…"
[ROCm/rocm-core commit: 39bd62e592]
2025-04-03 11:46:00 -04:00
Jonathan Luu 6ad28c72a8 SWDEV-521313 - Streamline Version Management: Retain Only version-rocm File
[ROCm/rocm-core commit: ab95ccf1a3]
2025-04-01 16:46:04 -04:00
Mallya, Ameya Keshava 38e4d2c78b Added KWS check for amd-mainline
[ROCm/rocm-core commit: 5da6a07d56]
2025-03-28 08:38:44 -07:00
Choudhary, Rahul cc0efa8ff8 Create kws-caller.yml
[ROCm/rocm-core commit: 6e83dde455]
2025-02-18 16:48:30 -08:00
Choudhary, Rahul 920c928d46 Create rocm_ci_caller.yml and kws-caller.yml to trigger ROCM CI
[ROCm/rocm-core commit: 3e040d907c]
2025-02-18 16:47:05 -08:00
Jonathan Luu 8442a5f8e2 SWDEV-511848 - update readme
Change-Id: Icf590d17f4c1988850f0056e0ec8bc88f921b3be


[ROCm/rocm-core commit: dbab4d1afb]
2025-02-05 18:12:08 -06:00
Jonathan Luu befbc49693 SWDEV-511848 - Update package description to the correct Name and source link
Change-Id: Iee5d22ecd01a15dcfc5caff6f1ab8261d71fbb71


[ROCm/rocm-core commit: 79edda7cc8]
2025-02-04 10:48:10 -06:00
AravindanC 4063f50a56 Enable distro id based checks in rocm-core post/pre scripts
Change-Id: I1970dc3a36b8bd47d238b032afe5714c3e7f8e57


[ROCm/rocm-core commit: 61ad6381aa]
2025-02-04 10:48:10 -06:00
arvindcheru ad46bff375 Update ROCM-CORE contributing template and basics docs (#9)
* Add Contributing documentation as per template, updated Readme documentation and Update codeowners
* Moving Readme.txt to Readme.md format 
* Update Review Comments - CMAKE commands Updated, removed library dump and added API usage
* Update Review Comments - Enhanced Text descriptions, prerequisites/install prefix descriptions
* Update Review Comments - Added RPM Package Samples also and Enhanced Descriptions

[ROCm/rocm-core commit: d11f5c20d5]
2024-12-02 23:24:44 -05:00
AravindanC 6d58b23fc2 Change Log Update for 6.3 Release
Change-Id: I9e4295959e8de60600eaf93b5074dd8d3b66abc9


[ROCm/rocm-core commit: f08bbaf443]
2024-10-24 10:48:20 -05:00
Nirmal Unnikrishnan b0af2725e3 SWDEV-484091 : Correcting LIB_PATCH_VERSION
ROCM_LIBPATCH_VERSION will be set in ENV and should be using that for setting library patch version. Fixing the bug as the patch version was not taken from ENV

Change-Id: I020e48ce5169c17b916be99311623198da1cabf7


[ROCm/rocm-core commit: 58d9a05f95]
2024-10-23 16:21:23 -05:00
Ranjith Ramakrishnan 1e018ec3aa SWDEV-489527 - Create /opt/rocm softlink only for prefix paths that starts with /opt/rocm-
USE $RPM_INSTALL_PREFIX0 rather than hard coded paths in the post/pre install scripts for rpm use case

Change-Id: I56c66f0befd5502fd2a4218f0b661661259436ed


[ROCm/rocm-core commit: f2208f6452]
2024-10-23 16:21:23 -05:00
Ranjith Ramakrishnan e94b0f6f8b SWDEV-489527 - Remove hard coded paths in rocmmod
This will make rocmmod relocatable

Change-Id: Iefcdf158e975d6d757f55f8854f34d9b989002be


[ROCm/rocm-core commit: b67be0d02c]
2024-10-23 16:21:23 -05:00
AravindanC eba54673e6 Enable cmake module config/target for rocm-core
Change-Id: Icbdd6d1e0e9a865dc86b6568bf0b7f7ff35b3b5c


[ROCm/rocm-core commit: eedf4c1410]
2024-10-23 16:21:23 -05:00
AravindanC 638759087c SWDEV-342167 - Remove Hard Coded Install Permission
Change-Id: Ib8206e58f3f1772735e62c93ba8ac32e752bad83


[ROCm/rocm-core commit: 749b656cf7]
2024-10-23 16:21:23 -05:00
Nirmal Unnikrishnan 5082cf8961 SWDEV-467155 : Add llvm to RPATH search path
Change-Id: I3598d7938bd63b06fd9cf14906c4ed3e7cc52a82


[ROCm/rocm-core commit: 2cc55b27ac]
2024-09-04 13:52:49 -05:00
AravindanC 06eefbd1e2 CheryPick SWDEV-442738 - Static package generation for rocm-core
Change-Id: I8e55f4cc3e476a9b4f3d73c02bab51c70b936bcc

SWDEV-442738 - ROCM-CORE Static Package Pre/Post Script

Change-Id: Ie55ffc98dfc60d9cb01b7a6df7a5fe1a890bc771


[ROCm/rocm-core commit: be3728bd33]
2024-09-04 13:52:49 -05:00
Ranjith Ramakrishnan 862d9c7409 SWDEV-449560 - Backward compatibility support for deprected package rocm-clang-ocl
rocm-clang-ocl has been deprected from ROCm 6.1 onwards. Uprading ROCm from 6.0 to latest release will result in stale files of rocm-clang-ocl.
rocm-core will replaces/obsoletes rocm-clang-ocl package. This will ensure clean removal of the deprecated package

Change-Id: Id5c16492273d8a0dcbbd5ac797daaef96c058f5b


[ROCm/rocm-core commit: a5a437e48a]
2024-09-04 13:52:49 -05:00
amd-jmacaran ec2112250f Change token name to match IT-created token
Change-Id: I2dd13b7f0f34a8e1a2a3db7b05cebaafb87b6fe3


[ROCm/rocm-core commit: c83bdca4bb]
2024-05-01 16:02:18 -05:00
amd-jmacaran f2c4290100 Add support for external CI builds using Azure Pipelines
Change-Id: Ie6fa59d635b5e942e72844d24f529cb363e89421


[ROCm/rocm-core commit: c6a543aa20]
2024-05-01 16:02:18 -05:00
AravindanC a462406388 SWDEV-354543 Remove explicit install permission, Enhanced comments
Change-Id: Ie7a3b5b026666d65056e426eb7fa9c184a46eb07


[ROCm/rocm-core commit: c9058d2442]
2024-05-01 16:02:18 -05:00
David Galiffi d3514ae1de SWDEV-437292 - Update CODEOWNERS file
Add @nunnikri, @frepaul, @raramakr, @ashutom, and @amd-isparry
as CODEOWNERS.

Signed-off-by: David Galiffi
Change-Id: I1b4fa626bda8012cac569917d1d2a79afada7168


[ROCm/rocm-core commit: 90846043b9]
2024-03-01 11:02:24 -08:00
AravindanC 589e51f09d Adding Method to get ROCM Install Path
Change-Id: Ib8ff920402e9f5d41c0ff8a0e4b76a18596e20e2


[ROCm/rocm-core commit: d338714f4d]
2024-03-01 11:02:24 -08:00
Nirmal Unnikrishnan 334d80dc08 SWDEV-310152 : Updating llvm config file to default to RPATH after running this script
Change-Id: I67d1a4b1d19032cfe187fadc5f7b6ee540d08672


[ROCm/rocm-core commit: 8723cc52a2]
2023-11-14 11:54:11 -06:00
Nirmal Unnikrishnan 54209af6da SWDEV-427268 SWDEV-427256 : Removing dependency with patchelf completely
Change-Id: I71ccebdbbd9b3c79ea8412acd54a71a96af3e26f


[ROCm/rocm-core commit: 1544e398c6]
2023-10-19 10:39:03 -05:00
Nirmal Unnikrishnan f88fd27374 SWDEV-427268 SWDEV-427256 : Changing the patchelf package from requirement to recommends
Change-Id: I2c909f2a7a7fc601be1890bfbcef50177695931b


[ROCm/rocm-core commit: d448048fa7]
2023-10-16 15:24:20 -05:00