Galantsev, Dmitrii
d61aaf44e1
Add version hash
...
Change-Id: I6cf18b00a45ebd106f981e92681cab2ef25924e2
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-11-21 17:14:38 -06:00
Galantsev, Dmitrii
d862bee754
Add --version to CLI
...
Change-Id: Id2a8f10f544ed04e874db773820534eddd73f55d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-10-02 17:57:02 -05:00
Galantsev, Dmitrii
0478d53e23
SWDEV-340919 - Package rsmitst
...
Similar to I879b21428e6642f19fda67092b365d8b78b7ba7b.
Main CMake improvements:
* Add rsmitst with -DBUILD_TESTS=ON
* Package tests into rocm-smi-lib-tests.deb and .rpm
* Note - this breaks build_rsmitst.sh
Misc improvements:
* Add .editorconfig to normalize code formatting
* Export compile_commands.json
* Remove gtest source and pull from github instead
Change-Id: Ib87ed4a5acd9f78badae6d028e5ff3d4f56dafc2
Depends-On: I8b26795471ad1432c805e45d8b58d7bb34abfcfc
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-06-13 22:52:10 -05:00
Ashutosh Mishra
d097cb21e1
Standardizing Package name
...
Enables standards compliant package naming for debian and rpm
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com >
Change-Id: Ib37d29aedc20b610619f6921f4147b41c0eaf134
2020-12-17 02:47:53 -05:00
Chris Freehill
92c258c364
Replace "." in pkg name with "-"
...
Package name should have a hyphen (not a period) between
NumCommitsSinceLastTag and ROCMIntegrationJobIdentifier.
Fixes SWDEV-245838
Change-Id: I28c4337af6f92ac51a4aed03a09af23b92bd89b5
2020-07-27 20:54:52 -04:00
Chris Freehill
c2ef9a6879
Fix docs + cmake_utils path issues
...
This corrects issues that arose after OAM reorganization.
It should address SWDEV-243294.
Also, fix some compile warnings that show up on RHEL.
Change-Id: Id14d444905da35cd7346bcfbcd82b6d0572708c4
2020-07-08 09:47:25 -05:00
Chris Freehill
6594f8f58b
Refactor rsmi to support oam
...
Change-Id: Idc524e01ba06eb5c8d1682becaf5bf8ced5bffcf
2020-06-22 18:51:46 -05:00
Chris Freehill
fe4f7ed4a1
Use default value for version when git tags not present
...
Also, documentation typo correction.
Change-Id: I7fe4de05d3b8fb808a980862a09a9be32ed32bf5
2019-12-19 08:32:38 -06:00
Chris Freehill
0e5c44de2a
Use "-" instead of "_" for package name
...
This is part of fix to SWDEV-208805. The other part will
be in the build_* script.
Change-Id: I36397e3f918d08170db8bb228722a2b7389af83b
2019-11-06 11:31:50 -05:00
Chris Freehill
aa2db48237
Fix building lib and test in non-automated (CI) env.
...
Also, use abbreviated ROCM_BUILD_ID environment variable for job
and build number, if it's available.
Change-Id: Ib5a721f5920f1008bb6382935f7b439429389de0
2019-08-14 23:18:15 -05:00
Chris Freehill
dffa533e13
Add build and job numbers to package version
...
Change-Id: I06baf23e09b3a63a24d0046046f7f22281e0ec93
2019-08-14 09:48:59 -05:00
Chris Freehill
fe738eaedb
Conform versioning of to uniform version standards
...
Library version will now only have major and minor. Package
version will now include number of commits since previous
package. Both SO and package versions rely on git tags to
determine the current build and the commits since the last
release.
Change-Id: If2bda74bf342930a9e07f5c91cb1380b6b7c64ca
2019-08-12 08:59:09 -05:00
Chris Freehill
29353aa314
Make git-describe find annotated and non-annotated tags
...
Change-Id: I56f67e9a0a69fce3c825577160ab7380c297d243
2019-07-10 22:41:44 -05:00
Chris Freehill
5a9a729b31
Add rsmi_version_get() function
...
Also, modify CMakeLists.txt to use git tags to determine the
shared library version for the SONAME and the ROCm build for the
package name.
2018-12-06 13:48:59 -06:00
Chris Freehill
53b7ae1113
ROCm 1.9.0 update
2018-09-16 00:13:29 -05:00