Commit Graph

104 Commits

Author SHA1 Message Date
Aaron En Ye Shi 9c873353cc SWDEV-283266 - Add hiprtc option to generate preprocessor expansion
Add -r/--generate_rtc option to hip_embed_pch.sh to generate the
preprocessor expansion output of the HIP headers for hipRTC mode.
Generates an object hiprtc_header.o and shared library libhiprtc.so
which can be used for hipRTC online compilations. Enable
__HIP_ENABLE_RTC by default in the CMake files.

Change-Id: Ief51b695c9b31941d929e06f16872f95eea3619b
2021-05-14 10:20:38 -04:00
Maneesh Gupta f18a0d1405 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f
2021-04-16 00:57:38 -04:00
Anusha GodavarthySurya 5577936baa SWDEV-272025 - Replace pushd/popd with cd
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f
2021-03-23 05:24:50 -04:00
David Salinas a2b7d3c9a7 SWDEV-274114 - fix dependency issues for perl modules
Change-Id: I320d5fb50db3eecd433e81ab49703ca04c882711
2021-03-04 16:52:35 -05:00
Tao Sang 4048db950c SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
Tao Sang be4ed34a08 SWDEV-264220 - Support package install of hip-lang
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488
2021-02-11 15:41:54 -05:00
agodavar 6e7ff3aaae SWDEV-270198 - hip-hcc cleanup remove lpl_ca
Change-Id: I6cae9435397e9070efb4a953c7ba8bd3dcd98c0e
2021-01-27 23:40:58 -05:00
Payam 1f9fd14a57 Cleaning lintian warning SWDEV-247996 Part3
Change-Id: I62e5bfc5f17eee12a7a0cfe8ed6fbc35c43ff8c3
2021-01-06 11:56:11 -05:00
Tao Sang 8a2b0b7424 Remove hip-hcc codes: Part three
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/

2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/

3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__

4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__

After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.

Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce
2021-01-05 10:39:31 -05:00
Jatin Chaudhary e14dbaeb6e Adding file command as dependency
Change-Id: Ic719c5ce8ad0d99f6a341b5b46927587080fcf2e
2021-01-04 00:03:53 -05:00
Sarbojit Sarkar c807f11580 SWDEV-260281: Fixed rpm dependencies
Change-Id: Ifd05db15d5d2098a0623fd6dd9e977d050a9c4a6
2020-11-25 00:24:37 -05:00
cjatin da1f0cdc67 Adding hip support email to cmake packaging
Change-Id: Ibef7ae5a631ba759bc378478c91d562d4fde3079
2020-11-19 02:08:51 -05:00
Tao Sang 6db4976759 Make directed_test support static libs
1.Make directed_test apps linked against static libs
    of hip, rocclr, rocr, roct and amd_comgr.
    2.Remove custom_target amdhip64_static_combiner.
    3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
    4.Simplify argument list parsing.
    5.Install rocclr when rocm is installed.
    6.Fix some original small bugs.

Revert "Revert "Make directed_test support static libs""
This reverts commit 0d1cf31eb1.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702
2020-10-26 12:39:58 -04:00
Payam 4e96bfecd5 Cleaning lintian warning SWDEV-247996 Part2
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350
2020-10-20 19:27:38 -04:00
Vladislav Sytchenko d5aa0f607d Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 9142674ef0.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 9142674ef0 Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit d7c02619d6.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
Cole Nelson a900c86746 CMakeLists.txt: Conformant package naming
Change-Id: I1c70559208606de8cc00909132cba38a2cc2ccd6
Signed-off-by: Cole Nelson <cole.nelson@amd.com>
2020-10-01 18:25:15 -04:00
Freddy Paul b0438e6e99 hip-rocclr:Remove dependency to rocm-utils
rocm-utils is a meta-pacakge that pull in lot more pacakges than
what is required for hip.

Correct dependency to set as of today will be rocminfo.

Change-Id: I065ca74b4520e0c9ce183d82d6026554ff43e1f0
2020-07-28 11:42:09 -04:00
Rahul Garg c919a88795 Remove libhip_hcc symlinks to libamdhip64
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c
2020-07-27 23:58:29 +00:00
Ashutosh Mishra a77c7e21be Adding "BUILD_SHARED_LIBS" flag to cmake files
JIRA : SWDEV-234471
With this change compilation of the ibamdhip64 to be decied by arguments to build_hip_on_rocclr.sh file
build_hip_on_rocclr.sh -r (current) shall conitnue to create libamdhip64.so;
build_hip_on_rocclr.sh -r a (new) shall create libamdhip64.a
other options remain the same

Changed the targets according to requirement of stage2 dependencies.
Changed find_lib with find_package

Adpated the review comments

Change-Id: I719918f73ab33cd8031a32db6fe9b8adaa1b4b87
2020-07-16 00:29:14 -04:00
Jason Tang c371b4e3b0 SWDEV-242879 - Not to use fixnames
Change-Id: I3d0e2f3fe6c773e020c8bf8cdfd75fd565d61505
2020-07-02 08:15:07 -04:00
Cole Nelson 0b7703560a packaging/hip-rocclr.txt: multi-version install broken because of 'hip_rocclr'
Versioning understands 'hip-rocclr' not the deprecated 'hip_rocclr'.
Remove this.

Leaving Provides hip-hcc until package shifts settle down.

SWDEV-242143:

Change-Id: I489fa28dd1394625bc6016a3adda4f73d02da202
Signed-off-by: Cole Nelson <cole.nelson@amd.com>
2020-06-25 14:17:16 -04:00
Rahul Garg db471e5ed9 Use right perl-which rpm package
Change-Id: I22106a7d1b4b50c99f945bc6416ff3bd8486d15c
2020-06-02 02:17:54 -04:00
Rahul Garg 27e306686c Add libfile-which-perl dependency SWDEV-237642
Change-Id: I0799fdcbc58a35c957a3bc69a8a1c6a013a3f57c
2020-05-29 20:04:23 -04:00
Ramesh Errabolu b941f9243f Remove dependency on hsa-ext-rocr-dev package
Change-Id: I1147a299c31ce1ae5978b7312d82fa83d796b019
2020-05-26 14:40:42 -05:00
Aaron Enye Shi 1a48abfdd6 Fix missing hip_version.h install and package
Change-Id: I7182518f8c0dea6e00ffd649d1a29027fdc78b24
2020-05-14 21:54:28 +00:00
Aaron Enye Shi e61b8dc425 Fix missing hip_prof_str.h in hip-base package
Change-Id: Icd163ff83fadc2ee0e68f5755c652a45d2e781e5
2020-05-13 19:13:16 +00:00
agodavar 89415b66f0 SWDEV-233950:link to /opt/rocm/hip/lib/cmake left behind during uninstall
Change-Id: Ideb76b73916881469e39b7a0a4d68d7ec098b4a8
Signed-off-by: agodavar <Anusha.GodavarthySurya@amd.com>
2020-05-08 07:36:28 -04:00
Payam cb7d3227e8 renaming vdi to rocclr, part 1
Change-Id: Idec9be2b6174217abcebaa1776e59168670740b1
2020-04-29 17:54:37 -04:00
Payam bff03ec833 updating package name to hip-rocclr instead of hip-vdi
Change-Id: Ife8810d4dd224ce29c2e2a827b221a618c9f1b3d
2020-04-28 13:36:33 -04:00
Freddy Paul 2a271dc418 hip-on-vdi: Enable RUNPATH and versioning
1. Enable versioning for HIP libraries
2. Enable RUNPATH on HIP libraries to find ROCm dependencies
3. Control HIP package install using CPACK_INSTALL_PREFIX

Change-Id: I9096da56592e9c78cdba329011f6e1bae99adaa2
2020-04-27 19:48:44 -04:00
Maneesh Gupta f2e1118d7a Merge in the rocclr based hip runtime (#2032)
* Merge master-next changes in master (include vdi development in master branch)
2020-04-23 09:12:06 -07:00
Yaxun (Sam) Liu b1ed909f73 Fix cmake config file (#2010)
Removed cmake target files under packaging directory.

Merged cmake config .in files for HIP-Clang and HCC as one.

Use cmake generated target files in both install and packaging.

This makes cmake config file consistent for make install and
make package.

Change-Id: Iae1f8ccb5b39c29f54297edf1c5df62eb5a0253d
2020-04-13 16:45:14 -07:00
Evgeny Mankov 8e6c0e9fcb [HIP][doc] Update docs due to moving of HIPIFY to a separate repo (#2001) 2020-04-07 14:03:19 +05:30
Jatin Chaudhary 2449e0de8b Packaging changes to bring them to sync with generated ones (#1918) 2020-03-27 14:08:12 +05:30
nelsonc-amd d90a0c05c0 packaging: change Provides to use dash instead of underscore (#1913)
Addresses an installation problem for several HIP packages.
Packages builds have been tested locally, validation in progress.
2020-03-19 16:15:09 +05:30
Rahul Garg 6be7537cf9 Remove deprecated HIP markers (#1876) 2020-02-28 16:47:15 +05:30
Jatin Chaudhary 18a64fe8d4 Revert "Sync hip-targets*.cmake in package with install changes (#1831)" (#1860)
Fixes SWDEV-222155 & SWDEV-222158
This reverts commit 2ec7c2ca33.
2020-02-11 11:56:57 +05:30
Jatin Chaudhary 2ec7c2ca33 Sync hip-targets*.cmake in package with install changes (#1831)
Fixes SWDEV-204247
2020-02-04 08:59:28 +05:30
paulfreddy 5cd5c62f29 Fix install script syntax error (#1805)
Fix hip-nvcc install warning on postinstall and prerm script
2020-01-24 16:22:57 +05:30
paulfreddy c5ed5c71a3 Changes for multiple ROCm installation (#1771)
* FBA-29, FBA-69, multiple rocm support, shared library conflicts
Changes to resolve:
1) Multiple rocm release installation support
2) Multiple rocm shared lib conflicts
3) Add the so versioning also
2020-01-21 14:17:35 +05:30
Aakanksha Patil 545ad0dad3 [HIPIFY][cmake] Packaging for hipify-clang 2020-01-15 11:39:02 -05:00
Maneesh Gupta 59b3bd0048 [packaging] Rename hip packages to conform to debian package renaming rules (#1708) 2019-12-04 15:55:37 +05:30
Maneesh Gupta 38e971b645 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 5a03482690.
2019-12-01 14:47:43 +05:30
Maneesh Gupta 5a03482690 [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility
2019-11-14 11:40:34 +05:30
srinivamd 706e4498e3 remove dependencies on /opt/rocm path (#1379)
* remove hard coded dependencies on /opt/rocm path
2019-10-10 19:56:55 +05:30
Maneesh Gupta b92c16f4d9 [packaging] update soft-links that already exist (#1364)
Change-Id: Ibe9840802b1765094ef998edf2210e95404cb989
2019-08-26 23:41:14 -04:00
Maneesh Gupta e50f05f3f2 Packaging and versioning changes (#1348)
- Fixes SWDEV-200435
- Brings versioning and packaging naming inline with rest of the ROCm
  components.
- Minor bug fixes.

Change-Id: I543a24bf18baffe74fa3ccac8c93bddba7231c5e
2019-08-21 10:01:23 +00:00
Maneesh Gupta e0b86d890c [packaging] Add dependency on comgr to hip_hcc package (#1182) 2019-06-25 06:32:46 +05:30
Aaron Enye Shi d34805f07a Workaround HIP-Clang missing libhiprtc.so packaging 2019-05-24 20:46:16 +00:00