Graf commitů

159 Commity

Autor SHA1 Zpráva Datum
Ranjith Ramakrishnan 9e74f6de8a SWDEV-451004 - Remove .bat files from hip-dev/devel package
The .bat file will not be removed from windows pacakge.
Also used cmake install(PROGRAMS …), which will set the correct permission rather than hard coding the permission

Change-Id: I8b57778b59f70e01de949be2ea353b67eec70d2f
2024-04-29 14:13:26 -04:00
David Salinas bf7d45050d Change dependency from hipcc to hipcc-nvidia for hip-runtime-nvidia packages
SWDEV-424143 : rocm-llvm is installed with hip-runtime-nvidia package

Change-Id: Ibeffd1df9ee2efcfcd57a258d99b138eb9200681
2024-01-09 18:49:30 +00:00
Rahul Garg 8fe1d9dda1 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit 2535fac296.

Reason for revert: Bring back original change

Change-Id: Ie20e80f6e9b7d67a28e3a255abaf82018eb61e7a
2023-10-16 07:34:43 -04:00
Maneesh Gupta 67dda1ffd6 SWDEV-418100 - Move nv headers to hipother repo
Change-Id: Ib54546e366b61bdb83789d8264f30f1bfb875605
2023-10-14 06:56:13 +00:00
Rakesh Roy 2535fac296 SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 051e1005f4.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: I59f6aeb8b82261b77eb978e53407bc56be1d0cf1
2023-10-09 06:30:19 -04:00
Ioannis Assiouras 31201b6e25 Revert "SWDEV-414194 - Make hip-lang available on nvidia platform"
This reverts commit 97403db468.

After changes in upstream cmake hip-lang-config.cmake will not be required on nvidia platform.

Change-Id: I711601dac1064ea17f58437da8ffbc50678eda08
2023-09-29 06:07:53 -04:00
Satyanvesh Dittakavi d7d0f11318 SWDEV-395996 - Add HIPRTC support for missing hip headers
hip headers such as hip_math_constants.h, library_types.h,
hip_common.h, channel_descriptor.h, device_functions.h, hip_complex.h,
hip_texture_types.h, math_functions.h, surface_types.h
are added in HIPRTC

Change-Id: I4a4c198449ceb609c3ff55e00b43056c1f085431
2023-09-21 03:11:06 -04:00
David Salinas bf88980e0a SWDEV-421615 - Correct required perl modules
Change-Id: I4e7e19e666042c0e8bfdb0ae0bfb2fc8d3ffa565
2023-09-15 11:46:48 -04:00
taosang2 051e1005f4 SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7ac559141b6e84bd29a75b5cd
2023-08-10 21:21:01 -04:00
Ranjith Ramakrishnan 5671badef9 SWDEV-413429 - Removed the dependency of hip-dev/devel package to hipcc
Change-Id: Ic3505be69e6c484ac05580a7e58d9e3e5c1c8c80
2023-08-09 12:30:49 -04:00
David Salinas c1126fc727 SWDEV-404809 - hip packages shouldn't depend in non-default perl modules
Change-Id: I30829a735dd6a6f1d5780578e30701e3f8d3394a
2023-08-04 12:34:44 -04:00
Ioannis Assiouras 97403db468 SWDEV-414194 - Make hip-lang available on nvidia platform
Change-Id: Ic0082d3960aadbb7ac559140b6e84bd29a75b5cb
2023-08-02 05:19:34 -04:00
Ajay 2205684f6c SWDEV-411709 - rename .hipVersion to version. Fix path to share/hip
Change-Id: Ic7ec170f2fc6e3197d9a37b28dfc1d0b9611954b
2023-07-21 11:04:41 -04:00
Ranjith Ramakrishnan 19f43aa273 SWDEV-408360 - Disable RPM spec autoreq field rather than disabling autoreqprov field
In hip-runtime-amd RPM package the autoreqprov field was disabled. So the package provides list will not have any libraries
Other packages that depends on hip libraries will be having the reported issue.
Disable the RPM autoreq field alone, so that the package provides list will have libraries

Change-Id: I40c30d01ea137867bdb64c2509c1fc86827c09dd
2023-07-07 12:22:02 -04:00
Jeremy Newton 03bfa61684 Install .hipVersion into datadir for linux
Starting with LLVM 16, we can put .hipVersion in datadir for better
Linux FHS compliance:
https://github.com/llvm/llvm-project/commit/082593ff7aff68060bd66dccfa43493d07d9c255

For Windows, we can keep it status quo.

Change-Id: Id15ed0dac346fabec21ee060e7576ce085b1af70
2023-06-19 11:41:46 -04:00
Ioannis Assiouras d2e36bc047 SWDEV-386069 - Added nvidia and AMD config.cmake files as part of the dev package
Change-Id: I3c9a65b287822d91407996ca59ac90051b749923
2023-06-07 04:55:52 -04:00
Rahul Garg 17c052ca9a SWDEV-379678 - Take hipcc/hipconfig from hipcc
Change-Id: I53a6e5108e142860747186c0e7ed4fc2cb384a69
2023-06-06 17:21:59 -04:00
Jeremy Newton 2cda949920 SWDEV-361988 - Fix hip library install permissions
"FILES" installs files as 644, but we want libraries to be 755, which
we can do with "PROGRAMS".

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I155ed77482839ff6d71f90239a014d239e20f4b8
2023-05-25 22:47:32 -04:00
Maneesh Gupta ccad05fe01 SWDEV-1 - Search for doxygen config in old and new locations
Change-Id: Iebe7295c7200cc164cb32047df96aa70dec75bf4
2023-04-27 04:57:12 -04:00
Satyanvesh Dittakavi a3104c60e1 SWDEV-393060 - Address directed tests build failures with CLR
Change-Id: I76b93ee073d21ec5fae0db5a129ada89f750855d
2023-04-14 03:53:51 -04:00
Ranjith Ramakrishnan 267b342523 SWDEV-351540 - ASAN packaging for hip
Package ASAN libraries and license file
Suffix "asan" added to package name

Change-Id: Ia02bb55be0bd415dbd372b39ce884c38d8c3dcbf
2023-04-07 11:54:48 +00:00
Ajay 1f23b87fe5 SWDEV-379678 - remove samples packaging from hipamd
packaging of hip samples is now moved to hip-tests project

Change-Id: I696d970328f76f6e65e19aad52a0d7bd0b4cdd39
2023-04-05 10:51:33 +00:00
Maneesh Gupta 1bc186323f SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f
2023-03-26 15:42:33 +00:00
Maneesh Gupta fab70a41ed Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit 3d15f9cbda.

Reason for revert: SWDEV-368704

Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb
2022-11-22 09:14:24 -05:00
Siu Chi Chan 3d15f9cbda SWDEV-330775 - Update search path for LLVM
ROCm's LLVM will be moved into /opt/rocm-<ver>/lib/, teach hipcc and
hipconfig about the new location.

Change-Id: Ie7f17146771aff94c684deb22148226cbb3a2895
2022-11-14 13:31:07 -05:00
Maneesh Gupta 038d70448e SWDEV-361840 - Fix typo in packaging script
Change-Id: I0124b5522cb7b797293bab1a949af7baca849728
2022-11-10 10:49:43 +00:00
Satyanvesh Dittakavi a6e336a58c SWDEV-361840 - Add hiprtc cmake packaging
Change-Id: Ib2c2aa5e1890a1a11af2832d7b5e7e1d202808ed
2022-11-10 01:26:41 -05:00
Ajay f2fbe4938e SWDEV-332251 - Remove tests packaging from hipamd
Change-Id: I98c0d19ce2eea921d214661b8a1588cb5dbf4268
2022-10-21 11:48:30 -04:00
Ranjith Ramakrishnan ba04f95771 SWDEV-353137 - Fix for incorrect library path for hiprtc
Hiprtc related libraries are duplicated when installed from build directory
This happens when cmake install libdir is set with lib64 as default and using hard code path "lib" for LIBRARY_DESTINATION
Replaced "lib" with cmake install libdir
Removed the default setting of libdir in source code and its should be controlled via build argument

Change-Id: Icac55eac9427a5088903d01942e6bfd5263a6fc0
2022-08-23 12:19:06 -04:00
Ranjith Ramakrishnan 8f8367fd49 SWDEV-335990 - Use GNUInstallDirs
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.
Minimum cmake version updated to 3.16.8

Depends-On: I521c44dc34404b136141682c2777257b23ffa6e8
Change-Id: I2cff642c469d6d1e8bb3f1a3c151e6a03fb5d55b
2022-06-15 23:49:54 -04:00
Maneesh Gupta 176acb9315 SWDEV-324128 - Fix typo in packaging cmake
Fixes typo introduced by a01b481e45

Change-Id: I6c9a3fa31df14262f26d1339d3661248fa43eefb
2022-05-19 09:32:42 +00:00
Ajay b5d9d61f5d SWDEV-320512 - hipcc.bin installation should be moved out of packaging
Change-Id: I8e37b47f43a7c6579b68a7dd1db1a3d05976fa9d
2022-03-31 17:52:39 -04:00
Ranjith Ramakrishnan 4bcccb60c9 SWDEV-291455 - File reorganization with backward compatibility
HIP installed in /opt/rocm
Wrapper header file in /opt/rocm/hip/include
Soft link for cmake and library files in /opt/rocm/hip

Depends-On: I30adccf7e6241dae12270156602d4b033ea99d93
Change-Id: If70b61020fa3ee85bf49171c842837da05191a48
2022-03-18 13:52:29 -04:00
cjatin e6c0086d1c SWDEV-308763 - Make hiprtc a separate lib and rewrite it using comgr
Change-Id: I28ac50ec897accb2a2b4590d3c25965d907426fb
2022-03-03 02:34:02 -05:00
Freddy Paul 8c3965ec55 hip:Fix and install cmake targets for hip package
hip-targets.cmake was missing from the install after the switch
to new method.
Added hip-targets, hip-lang-targets for the build type and fixed
hard coding to ROCm install path.

Change-Id: Idd6d58f9eeeca6d9dc5ac8632d6ffb4956d845e1
2022-02-03 12:36:43 -05:00
Freddy Paul a01b481e45 hip:Switch to component based packaging.
Current way of packaging using custom command for each pacakge
is not helping to enable debug symbols.Debug symbols package
creation fail due to missing parameters from the build stage.
With the new approach all the parameters at build stage will be
inheritted by sub-cmake files and hence enables debug-symbols
package creation.

Change-Id: I933710ad4b67d913c011539ac9e51686604300f6
2022-01-31 13:36:48 -05:00
Ajay 735826464d SWDEV-318496 - packaging license files for HIP project
Packages: hip-devel, hip-doc, hip-runtime-amd, hip-runtime-nvidia,
hip-samples, hip-tests, hipcc

Change-Id: I936f754fd21ea53956945e1f225aaeefd33207b2
2022-01-24 16:27:39 -05:00
Konstantin Zhuravlyov d7ec25785d hipcc.bin and hipconfig.bin packaging updates:
- revert f313c2ea80
  - package hipcc.bin and hipconfig.bin in hip-devel

Change-Id: Iadfd2f64780b7ee2dce677436a7882d7fca74fb3
2022-01-21 09:51:50 -05:00
Aakanksha f313c2ea80 Package hipcc binaries
(hipcc.bin and hipconfig.bin)

Change-Id: Ib13cbc5fb33ffd03c5fada46f13875bd5ac47800
2021-12-20 23:07:45 +00:00
Ajay 9ed0c29bb6 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166
2021-12-09 17:51:25 -05:00
Rahul Garg 2472abf589 Revert "SWDEV-296926 - hipamd cmake file change to build hip/src"
This reverts commit 5f254dc780.

Reason for revert: Fix for SWDEV-312654

Change-Id: I45bef538273431e0dd5d85cf889a7c769c87af73
2021-11-23 12:24:38 -05:00
Ajay 5f254dc780 SWDEV-296926 - hipamd cmake file change to build hip/src
Change-Id: Ie40a8250a7843f174b322f3e179835961f4e7cac
2021-10-22 12:57:51 -04:00
Freddy Paul 45e94f4c2e hip:Fix post install script syntax error.
SWDEV-308166: /opt/rocm softlink not created when installing
selective hip packages

Change-Id: Id9c70f5f4edc01fdbb1d06563cab1503e94542ea
2021-10-22 10:44:32 -04:00
Maneesh Gupta c4287c6650 SWDEV-305219 - SWDEV-305226 - Fix debian package name to hip-dev
Change-Id: Ic19b0edde812747ff7fd8daacd16b4dabe937ed7
2021-09-29 03:34:21 -07:00
David Salinas 64cbd7951d SWDEV-294828 - Move roc-obj binaries from hip to hipamd
SWDEV-280149 - roc-obj-ls/roc-obj-extract don't extract all kernel code

Change-Id: Ibe8aff5ff02fced4d9034740da72d3aa8d67c6ae
2021-09-02 01:12:38 -04:00
anusha GodavarthySurya 4d47bd64be SWDEV-287869 - [HIP] Fix Centos/SLES builds
Change-Id: I20ce625263e04224a85d39df9cc5417f8af6d9ec
2021-08-27 05:17:38 -04:00
Icarus Sparry aa52c5079f Add dependency on rocm-core
The intention is to make all rocm-packages depend on a tiny rocm-core
package so that all of rocm can be removed by removing
rocm-core. Obviously it is less than ideal that you install by using
some variant of "apt install rocm" and remove everything by "apt
remove rocm-core", but this is easy to document. The alternative "apt
autoremove rocm" may remove unrelated packages.

Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I95cf65550a33b8852ad3da15bbb5c1ac4a88bf46
2021-08-24 12:46:21 -04:00
Anusha GodavarthySurya 50e57158eb SWDEV-287869 - [HIP] Package rename
Change-Id: Ic4ddece01bfc34d586cfaba3193c56ce0540626d
2021-07-29 05:55:44 -04:00
David Salinas 11c28b9fe3 SWDEV-287640 - rename llvm-amdgpu pkg to rocm-llvm
package llvm-amdgpu is being renamed to rocm-llvm

Change-Id: Ifc0a4deef981b3cced6225b5d1ba1a07d34f0e8b
2021-07-16 14:44:01 -04:00
Anusha GodavarthySurya 8ad7c705f7 SWDEV-294497 - remove rocclr from packaging
Change-Id: Ic9825114ece0c84b6490c44a441a5f8af0e772fc
2021-07-12 01:10:37 -04:00