Commit Graph

6 Commits

Author SHA1 Message Date
Maneesh Gupta 4b8bf631d0 SWDEV-366831 - Revert "File reorg backward compatibility message changed to #error"
This reverts commit de1e612775.

Reason for revert: Need to wait for apps to make fixes first

Change-Id: I337a0b56d268093fc8689152002a6f8a8ceb258f


[ROCm/clr commit: c7576e2add]
2023-02-17 03:46:29 -05:00
Ranjith Ramakrishnan de1e612775 SWDEV-366831 - File reorg backward compatibility message changed to #error
Change-Id: Ic346b403bcc5df52fdab54ddf95472f649a00cc0


[ROCm/clr commit: c86bd74c67]
2023-02-10 13:09:46 -05:00
Ranjith Ramakrishnan 912058b64c SWDEV-366823 - Change pragma message to warning
File reorganization feature was implemented with backward compatibility
The backward compatibility support will be deprecated in future release.
Changed the #pragma message to #warning for a smooth transition

Change-Id: If917a0bef9bbc347f08ca02435d70d517f175afc


[ROCm/clr commit: 0bafb4683a]
2022-11-17 20:19:55 -05:00
Jeremy Newton dbacdbdf88 SWDEV-321116 - Allow disabling ICD loader
This patch adds an option (BUILD_ICD) to toggle the ICD loader build
with rocm-opencl. This isn't useful for official ROCm use, but distros
or users may want build rocm-opencl with their own OCL ICD loader.

The default option is BUILD_ICD=ON.
If this option is set to OFF, an OpenCL OCD loader must be installed
prior to attempting to build rocm-opencl.

E.g. distros already provide ocl icd loader packages:
sudo yum install ocd-icd-devel
sudo apt-get install ocl-icd-opencl-dev
sudo zypper install ocd-icd-devel

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I6006593eceed543cd829e8949ec2256482815673


[ROCm/clr commit: d1782940f3]
2022-04-13 18:27:13 -04:00
Jeremy Newton 6e388071ba SWDEV-321118 - Use GNUInstallDirs
Use GNUInstallDirs variables to determine the location of BINDIR,
LIBDIR, DOCDIR, and SYSCONFDIR.

Note that CMAKE_INSTALL_LIBDIR is overriden, since the default for RHEL
is lib64, but ROCm packaging wants it to be lib always. Distros or users
can easily override this.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: Ifb38263dce80d80c5ebb4eacd8e49c76bb013a44


[ROCm/clr commit: b8c124acb5]
2022-04-08 13:52:08 -04:00
Ranjith Ramakrishnan 72aef87ed5 SWDEV-291455 - File Reorganization with backward compatibility
Package installed in /opt/rocm
Warpper header files and soft link to libraries for backward compatibilty

Change-Id: Ib1edb27713dfa589369f0a03c59d3ac1b0dc8400


[ROCm/clr commit: c110ac233f]
2022-02-27 15:36:02 -08:00