* Enable Lintian Support for ROCM-SMI
* Enable Lintian Support for ROCMINFO
* Updated Lintian Override File Processing
* Update UT Fix for Lintian rocmsmi,rocminfo
* Update UT Fixes, Review Comments
* Update Review Comments - removed extra white spaces, added error check for gzip, date commands
* Update Review Comments - Correcting License Type
* Sync Lintian ChangeLog
* Changelog data sync enhanced
* Update Review Comments, UT fix
* white space cleanup - precommit check
There are many reasons why there may already be a CMAKE_MODULE_PATH defined.
The idiomatic way to extend it in a project is via list(APPEND).
https://github.com/ROCm/rocminfo/pull/97 submitted by @stellaraccident
Co-authored-by: Stella Laurenzo <Stella.Laurenzo@amd.com>
[ROCm/rocminfo commit: 8503ec36ca]
Obey CMAKE_BUILD_TYPE when it is passed on the command line. Previous
behavior remains:
Debug by default
ROCRTST_BLD_TYPE can set build type
[ROCm/rocminfo commit: 0607268260]
kmod dependency is not at all required for rocminfo. Removing the same from the package dependency list
Change-Id: I58f9c4305585c5dd770ea3c6a6298c30c89c31b5
[ROCm/rocminfo commit: 63ff6a4b30]
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
Undefining __brp_mangle_shebangs will prevent the same
Change-Id: I0803d0a6cc1ddc991e8e9a8e6617436930ef013a
[ROCm/rocminfo commit: aa8a83815e]
python3, glibc, libgcc/libgcc_s1, libstdc++/libstdc++6 added to the RPM package dependency list
python3, libc6, libgcc-s1, libstdc++6 added to the DEB package dependency list
Change-Id: I4843b1431c0d0edf1b0df1e12c82adb4ff53c8cd
[ROCm/rocminfo commit: 1f4752295e]
Package name will have suffix static-dev/devel
rocminfo static package will depend on hsa static package
Change-Id: I3e72b19403c10e74199067f2c725ed4a007ab150
[ROCm/rocminfo commit: 5e4f64e786]
-m64 only applies to x86-64, it's more reasonable to enable it only on x86_64 host.
It fixes build on some other platforms as well.
Provided by user r-value on github
https: //github.com/RadeonOpenCompute/rocminfo/pull/63
Change-Id: I9c1c40d3fa39b0a61d28041fe4998b5e1ad0cdcd
[ROCm/rocminfo commit: 17de0f9097]
Removing this definition as this should already be defined by compiler.
This is causing compile errors on newer versions of llvm because the
macro is being redefined.
Change-Id: I3bf03617970d4b76dabce36ed980523673afadc5
[ROCm/rocminfo commit: c8db38ede2]
When building packages, add in pciutils as a dependency because
rocm_agent_enumerator uses this as a mechanism for looking up
what GPUs exist on the system.
Change-Id: I10ac088c461c6d0bca435b61fbc90b685556fdf4
[ROCm/rocminfo commit: 0e1807c72d]
rocminfo uses lsmod to check for loaded drivers. Use of sysfs is
possible but sysfs' stable interface does not allow for easy parsing.
Use of lsmod avoids needing to walk the sysfs tree and avoids issues
of permissions to examine sysfs.
Both Debian and Fedora list lsmod under kmod. Presumption is that
CentOS and RHEL also follow this.
Change-Id: Ic5033e0b780100c54d2fe0b4f501c40acbc237fb
[ROCm/rocminfo commit: 2b4b0c8862]
Package should depend on hsa-rocr, not hsa-rocr-dev. Also
Remove negative path for dependency rocm-core (unconditional add +
conditional remove simplified to conditional add).
Change-Id: I6ead202f4f3f2f77b1da2ffed77feee956caf2e9
[ROCm/rocminfo commit: 86560046de]
Cmake manages CMAKE_CXX_FLAGS in standard ways from user inputs,
env vars, and target properties. Use target properties for our
options and let cmake handle the rest.
Change-Id: I20ef738e4df7880258d770f4ec13c09d8b323fba
[ROCm/rocminfo commit: e32a4d9bed]
JIRA : SWDEV-234471
With this change rocminfo exe shall be created using using hsa-runtime64::hsa-runtime64 which
internally decides whether static or shared libs based on its cmake build options
S. Keely:
Update patch to use find_package for rocr dependency.
Removed deadcode now supported by find_package.
Removed "hsa/" prefix from include statements since find_package
points to the target (ie rocr) include directory.
Removed typedef on structs due to new clang-11 warning.
Adapting to the comments : Removed PATHS for hsa find_package
Change-Id: I1ec65cdbce3085e44f1839da196eb4ae5c9ff30d
[ROCm/rocminfo commit: 605b3a5105]
CACHE variables allow for variables to be documented, and
ROCR_LIB_DIR/ROCR_INC_DIR should be overridable as they'll
have different values on different Linux distributions.
Change-Id: I0bba633c184df2da55bdbe6aabbd53346d098b83
[ROCm/rocminfo commit: 04dc08664e]
This is a python port of rocm_agent_enumerator, which is used by HIP/HCC to
determine available AMDGPU targets on a system.
Its previous implementation was written in C++ which makes it somewhat hard to
deploy onto different distros / architectures. A python port should remove such
issue.
[ROCm/rocminfo commit: 8b018900f6]