40 Revīzijas

Autors SHA1 Ziņojums Datums
Mario Limonciello b958ce88c2 Run pre-commit's whitespace related hooks on projects/rocm-core (#2127)
In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
2025-12-07 12:29:38 -06:00
solaiys eab103d4ed [RDHC] Update rocm-core package scripts to include rdhc script (#1482)
* Add rdhc script in to rocm-core package
  * Create the rdhc symlink within the package itself.
  * rdhc tool support is not enabled for windows.

  * [RDHC] Check if the required pip pkgs are present and warn .
     rdhc checks the required pip packages are present or not.
     if not warns the user and exits gracefully.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-10-22 19:54:40 +05:30
arvindcheru 285061f05b Enhance ROCM-Core for Windows (#1467)
* Enhance Code for support for Windows cpp build
* Updated ROCM-Core README build steps
* File copyright Headers Updated
2025-10-21 23:04:23 -04:00
Scott Todd 473025ab7d Revert "Update rocm-core package to include rdhc script (#1375)" (#1464)
This reverts commit d348797017.
2025-10-21 07:29:27 -07:00
solaiys d348797017 Update rocm-core package to include rdhc script (#1375)
* Add rdhc script in to rocm-core package
* Create the rdhc symlink within the package itself.
* Removed hard-coding of rocm-core name, used CORE_TARGET instead.
* [RDHC] Check if the required pip pkgs are present and warn .
   rdhc checks the required pip packages are present or not.
   if not warns the user and exits gracefully.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-10-17 10:34:00 +05:30
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
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
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
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
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
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
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
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
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
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
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
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 ece91364b7 SWDEV-427268 SWDEV-427256 : Removing dependency with patchelf completely
Change-Id: I71ccebdbbd9b3c79ea8412acd54a71a96af3e26f


[ROCm/rocm-core commit: 628b2c04f6]
2023-10-19 15:42:23 -05:00
Nirmal Unnikrishnan 5756d661e3 SWDEV-427268 SWDEV-427256 : Changing the patchelf package from requirement to recommends
Change-Id: I2c909f2a7a7fc601be1890bfbcef50177695931b


[ROCm/rocm-core commit: 0f9d273351]
2023-10-19 15:42:23 -05:00
Nirmal Unnikrishnan f65997eb83 SWDEV-310152 : Adding script to convert RUNPATH to RPATH in libs/bins
Change-Id: Ic6c49544cb7450384592b4f5609fb394f1f12f02


[ROCm/rocm-core commit: 5f59a6e538]
2023-10-19 15:42:23 -05:00
Ranjith Ramakrishnan d10d2fdd6f SWDEV-415345 - Correct the installation path of rocm_version.h header file
Added file reorg backward compatibility support by creating wrapper header file.

Change-Id: Iee4644c8ae51ba508c21abb765a1e1d974dc6e97


[ROCm/rocm-core commit: 1e6cde3478]
2023-10-19 15:38:56 -05:00
Ranjith Ramakrishnan 6999cc612b Revert "For testing purpose removing the dependency of rocm-core-asan with rocm-core"
This reverts commit 1fa9649637.

Reason for revert: <The change was made for testing purpose. So reverting back>

Change-Id: Ie7618c7aa2b3d71efba950e296b48e728c651ff7


[ROCm/rocm-core commit: 6fa9abf3f1]
2023-08-30 17:48:23 -05:00
Ranjith Ramakrishnan fdfef86b74 SWDEV-366827 - Header file installation path changed as per file reorganization
Change-Id: Idb94bd3c4cb32fa11ee6821b62ccd04d77a830e8


[ROCm/rocm-core commit: 7c45d24f06]
2023-07-26 15:13:38 -05:00
Ranjith Ramakrishnan 42b66270a1 For testing purpose removing the dependency of rocm-core-asan with rocm-core
The change is made temporarily for testing the ASAN jenkins build.
Need to revert this change after testing

Change-Id: Icbfcfec423170114becdc82696afcf54b6d79d48


[ROCm/rocm-core commit: 86f7d52d97]
2023-07-25 15:56:32 -05:00
Ranjith Ramakrishnan 3d6b14007d SWDEV-351540 - Improvements for ASAN changes in rocm-core
License file added to rocm-core asan and normal package
Package  description updated for ASAN package
Added rocm-core-asan dependency to rocm-core, so that removing rocm-core will cleanup all asan  pacakges as well
Added component name to cpack post install variables

Change-Id: Id8b69b4469ff3c66a6bd32503defd6411ce3b6c7


[ROCm/rocm-core commit: 50dd0fd2fb]
2023-07-25 15:56:32 -05:00
Ranjith Ramakrishnan 3e54dfa98b SWDEV-351540 - ASAN packaging for rocm-core
Package only ASAN libraries
Component based install
Suffix "asan" added to package name

Change-Id: Ic758eefef27742df3a4a4301fd3661714de4bb36


[ROCm/rocm-core commit: c0331f38c7]
2023-07-25 15:56:32 -05:00
Nirmal Unnikrishnan 001e890ed6 OSRB review update : Changing the license file to MIT
Change-Id: I4a079df5ac10620f16649234064d54e922d246aa


[ROCm/rocm-core commit: 3118790ad5]
2023-02-06 17:38:49 -06:00
Ashutosh Mishra 07c24eec11 Correcting version information
Correted version in header
for ROCm and so version.
Computed libpatchversion from
ROCm version.Corrected so
version during build

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


[ROCm/rocm-core commit: b89ee9ff8b]
2023-01-17 12:44:13 -05:00
Ashutosh Mishra 2dbfe95116 Adding version info
External modules are dependant on
scraping .info/version file for
their processing. This change is
putting the file back for the same.

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


[ROCm/rocm-core commit: 6abd8b4da4]
2022-12-02 22:43:40 +05:30
Ashutosh Mishra c07e8c5d6b Inital commit of the new lib package
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
Change-Id: I605c3fb56584806dc6b392230e64d304449819f6


[ROCm/rocm-core commit: 68c763f3d0]
2022-11-29 00:25:06 -05:00