V1 library will be supported as librocprofiler64.so and V2 will be supported as librocprofiler64v2.so and headers will be rocprofiler.h for V1 and v2/rocprofiler.h for v2
Change-Id: Ibe5bdbf2f79f0175342c648e917ae77918186604
SWDEV-356024 - Development package name will have suffix dev or devel based on OS
Devel pacakge contents - Header files and non verioned lib file librocprofiler64.so
Runtime package contents - Binaries, xml files, python files , script files, license file, librocprof-tool.so and versioned library files
Change-Id: Id416b11f49a7d0acb917bc4936cc0cba0d101bee
The initialization should be controlled from build scripts. Removing the same from source code
Build scripts is initializing the variable to "lib"
Change-Id: I55b6cf4752e692735c2a0be13b79f5988137e3a6
Adding commits found in mainline and not in staging: Add dependency on rocm-core
Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: Icb935e9230888fd005d9ca3617e28f6173173cc8
Use GNUInstallDirs variables to determine the location of BINDIR,
LIBDIR, INCLUDEDIR, DOCDIR, LIBEXECDIR 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.
Project name changed from rocprofiler64 to rocprofiler,since CMAKE_INSTALL_DOCDIR uses the project name
Change-Id: Iff2622b4bfc38ce5caea270e6e44ba74485cb9e4
Fixing the RPATH skip & Removed the export line from the build.sh as we have find_library with giving it a path to /opt/rocm & easy to use build.sh
Change-Id: I1ac5b51eafb54ef0359bf6fb55f2fe2d39a6cafa
prof_protocol.h is now located in /opt/rocm/include/roctracer/ext instead /opt/rocm/roctracer/include/ext
Change-Id: I98623dcf3c2e6bcef128c1ef35959ef0a4a1d63f
If we are packaging debug information then we need to edit the created
libraries and executables to extract the debug information. Due to a
bug in the tooling this requires write access to the created files.
Allow generation of only rpm and only deb files is specified on the
command line.
Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I9a9df81102770ba681b1e7e0b5f704990f5435bb
Remove hard code of generating both deb and rpm, allow the user to
specify what is desired and cache that choice.
Create executable with owner write permission to work around binutils
bug.
Change-Id: I67655e5d351b227d1a8db4645228300d2bb83f9a
Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Still needs valid email ID in the form of package_name.support@amd.com.
SWDEV-257328
Names as built (internal):
rocprofiler-dev_1.0.0.31000-crdnnv.437_amd64.deb
rocprofiler-dev-1.0.0.31000-crdnnv.436.el7.x86_64.rpm
Change-Id: Id90ce9c92dcc1655ddd04402af929f64f6d5a360
Signed-off-by: Cole Nelson <cole.nelson@amd.com>
(cherry picked from commit 61a99d8ddedb747f534fd41a4f5ed412a56045bb)
Add ROCm release version into libraries and binaries to avoid
file name conflicts across releases(Phantom requriement).
Change-Id: I271e49e842a02cca79b02e8352059cec196c4415