diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-14 00:13:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-14 00:13:14 +0000 |
commit | 4fda045f90a4e301329bddb766e2e12a0b4401de (patch) | |
tree | 1d486767bfd9de15d6c11d341408385eb7f7debe /dev-util/roctracer | |
parent | 965058196f44550f3bc491dd85064071e085b776 (diff) |
gentoo auto-resync : 14:02:2025 - 00:13:14
Diffstat (limited to 'dev-util/roctracer')
11 files changed, 0 insertions, 386 deletions
diff --git a/dev-util/roctracer/Manifest b/dev-util/roctracer/Manifest index e57f5f2da2d7..1a591b083191 100644 --- a/dev-util/roctracer/Manifest +++ b/dev-util/roctracer/Manifest @@ -1,24 +1,10 @@ -AUX roctracer-4.3.0-glibc-2.34.patch 993 BLAKE2B 54f25b35525da414aa3eafd48398e9e1fc28f750b08fdb0193789d6df60866c384434a79b2d52113fd29dd1e261a46f2117a89334ea6839493e33c8541516f0a SHA512 fe9f9a89220ac93a05a1b23f70a24d8522c9809afd90e6c0677d78276a8db66e9bb0d9896b5a0ad751795118cc9dfccd5743108feba027fd8123d39fc20ebc33 -AUX roctracer-5.0.2-Werror.patch 922 BLAKE2B 5644e5450de7372ee1ad6d8158a50e006f1eae666bb62652976f88d0c36b152df59ad4b7a30e98a42fa47322777ffc90edd283c3642ca260fdbd58cf697dd88f SHA512 0b37cd7432f0d9de42c2ca2e669697b782730afc10952349d47612f59122e1a5415c83b795c6ea2fb01c695263304b7e9702e45903a7177d02a48d86734ead9f -AUX roctracer-5.0.2-headers.patch 2452 BLAKE2B b5e34ddef1e61277d01b771b59e345c3ace07ff90f7e53c0bc50d0ebb6a13e07480173ac72b216a3fb54c3af2df5c1277fdc62db7f3e028213f71a889fa725c5 SHA512 073b45703bf37c5df1ed44843b17e08d8ada0373dce5f29a21cdea1d6d7fb73563501461a2b0c33f65c70e2c99d036523d012c7787b399a785f0ded89ad60f66 -AUX roctracer-5.0.2-strip-license.patch 681 BLAKE2B b7c78ca54fb208e1d943d9f217a8d40911a98823ff1b4c58441c87fdf60297200b4d02e5fbe685fea331c3d8f87c395291c19ac2621aa90c9fb1308071e176ba SHA512 56aae25b4c24d0f9a361c10007d0e3d90960191b08e254a0f6ffef9a36fb8d17270f8bed36c36ea866da137297ab96de4e211e8c06ace7ed7444e821f0589322 -AUX roctracer-5.1.3-no-aqlprofile.patch 1902 BLAKE2B 7ac98d5ad052e29313bd038b963763d4dba63c44bc261bd3119a911dfe6fbef99d73f58bf04f9c74a769d37299707c5e04a280db9343a3dbb5d0ab086a0106de SHA512 908f888e6384f3ee734b10553fc8cafb0e302031e21ed3763754e69fe146dbfb0204977c50db698f6f43a50c1a07685e8b86b5e7339ef65ff0634476b8177ee5 -AUX roctracer-5.3.3-Werror.patch 439 BLAKE2B 23c26aafd85d5f8a19c3e3001c091cef5f4c9b101f3fed6005be7aadc26588ec119980fc5f575d929a38130f69ed53c962114aa66b47e739726680e76a3e98d5 SHA512 816df1db92938df8966b2a88b28dcdaecbf02cd675a32a04c85b0ab6a0a2a8a983334dbd91669f2b876b56ceee3d0254f34e519030060ff24cda50624ea65bf2 -AUX roctracer-5.3.3-do-not-install-test-files.patch 1948 BLAKE2B 1eeb7443b4cb4c6947a61ee1b4f9f42bef996cd9623e6864d273de438af8f0d21bd2465e5ad1b62e266d9b0a86b5afdf5a267d79018cbfbc356ed8e2205a2136 SHA512 aa1e556ddd5f070bdc0ca8b47b243dbdbd965de8f98d02964a13897d3cb273fdef08373f12113c9f1645c3333be212092505fd7087f5ab292aedc1365372a021 -AUX roctracer-5.3.3-flat-lib-layout.patch 1842 BLAKE2B dc7f2832e2bd4e04bad75ccd22e8e2e32353cec745521e8baf4d98772d0994efa08289e5563eb3191d78a2fa4deb1681551e582d08e9608b98fe72f599146a2f SHA512 967eab41a909a7369791bd0946ef4304473e2f763d2e4f497f5b7ddba3b81b9eb18ea72a815b2211bcb82ec87eebe817daf1788f7d44f8c4494a06c77be9d902 AUX roctracer-5.3.3-rocm-path.patch 788 BLAKE2B ef0c9025bfb126e437f73149962c04661a5a5c33ee0c36e18854fa93bac591905cdc23e17fc2faf07659c5828de9361139e618752de3818b3b134e3536cd0c4b SHA512 f639b040871a43e23e7bf57a2214bf255032e3a5f9a20e08eae160bb0d371fb26fa147aefce20577935e40274779dbb150d445e044a22c7aeedc4e10b9865350 AUX roctracer-5.7.1-with-tests.patch 199 BLAKE2B 82061cd9966e59c10cb628173aca44cc869840fe8d1c9a0c6c2c9fb81a5b4fef04e2cd83e03188e77eeec305bd5ec598be04a71c6d558b8e3fb361c0a0aa976d SHA512 08b51740c7aee79cc7117e2c41b4dbf7ddf7c2b08326518785cec6687803e7b94f4dfcd70bc5b5e86e8788a2b18b220034262108bae5264e5e7c47c86c4eb9af AUX roctracer-6.3.0-fix-prettyprinter.patch 4079 BLAKE2B 55e9bbef2f9238fa1cc5035bb846495e1fb350ea1e53b68d0d39d25a1aa1943a948b7554e2ea440c547fb5903f8f370c65a2c05098849d36884cc2e5f13a932c SHA512 e1b74f692d765f3a3767ac10cb79e4c5b3bc8d656d0212e731b56955f8e92e8ebacd28d4c8fe1b0464363080c37088829fecc8ff2be0b3f1c7747b6b1a612716 -DIST hsa-class-f8b3870.tar.gz 37432 BLAKE2B c2a09e4a4c3708e8db432378874c63b9cefefb567ad19a9c17181ed2b60f38d0591a618f72b11f606eb44efc5e170adaf72f0ec1b93cde628ca2230a62e2d6de SHA512 f371a955bf59b7e0af07261981a6e68562fad0753d3f39d1e220034c17501abf839ed2fd88fbf376d659970395c8795a82c0560c7ed8d3b87c11c79864f5f612 -DIST rocm-tracer-5.1.3.tar.gz 511617 BLAKE2B 4142979b3b7d649798a7ac0b2a04b42aa7fbcbf82f2cf51b0e5363ec0da538046d6e59283d0ce1bfd341317bf24ac2f694d5c8a7d1f132f9b21caea5caf7eda3 SHA512 e73b0c921ffbdcac571d8b0825de39bd8a4fd5f2720ecdd0c189951db85efb607a0b1cd7a9bb02b3dbf329b277cb5e197525216a8e8927eea4e6ce290b7e7c7b -DIST rocm-tracer-5.3.3.tar.gz 353041 BLAKE2B b7614707ae3af2f5a46d058dacadfb0ef3b980963ac49face66a80c8396e66cf13e0430ab41737ba15e163f5da03697376b13238ea1decfe7ee4a7f31c7664a5 SHA512 95a202f76f6b68a35942750233bd09d372a9be843150d7ec02824da13c6b9a7c8da7a752ac69f66776e7ccfb6176473745dc46a7baadfe77c99c0596fbc2ffeb -DIST rocprofiler-5.1.3.tar.gz 1402172 BLAKE2B 16e9b127ede94a3f96056e84a2942b6c9f3aec90579fb12796ab8ba385160aa020e3dc77f7a475dadbc0a813a823ae733ca9560f6a09e55c4c82b13dd792dfa4 SHA512 6e9932a425eaaa2a1e1741280d7525c6360700f85edb3bcf4967fe9be4fed662bae0d2ba609701f0d9733769c340e93e32076024b27bab3303449c1d68d9e1ce DIST roctracer-5.7.1.tar.gz 354686 BLAKE2B 2e72d8df5cf53a913102a715dab55f7c6d33b2d4a9cad7647a61824deba0363cf3dbf96d8de3469a78d6b5c8e517c163c303bf6aa12eeaf8e43f82ac8381ef97 SHA512 62cf62fc505955426596bd6d539c92f4d730d90d820d817343525f1b7be693290727c8c447ca98b1a0e46d1d188b62b3f4fafcf6bffbf2479fc5d937fb354e13 DIST roctracer-6.1.1.tar.gz 396688 BLAKE2B e332c3a6056d1678e3da511878fd2710a4eaa02526cd1e7353dd1dbcba776cb77e6e431d90daf5f238ec7793fc8e9f51afd7f09992f70b26c7e3aab28bb319a9 SHA512 d59c367953b1d5df0daae96746095e2e19f706f43b5ebed3d45c15d23697e9c99c1623bbb8dfa001648fdeda172a3c1d820d884b6da3946addec8f4b9a86e5dc DIST roctracer-6.3.0.tar.gz 397368 BLAKE2B 450e99cd90df80f60ec455a94148258b8fcef4adb1babb795c3e66bca648b51cd0b67a9e8f413e601c5f77d0292e70c443d3695198f2e4dcd6058c9e21485198 SHA512 6f29e5f12e1c499ab57ed3c869801742bf71d645852bebd3a887e34f382e6da6df910ab7921232887ea10e95eafa085794e7795e08d3e73cbe225d5967c59620 DIST roctracer-6.3.2.tar.gz 397366 BLAKE2B 0edc2e6483935dcbc8e905b1eac1d426c3e553491cbe119a8f6cba99cadad5c622ec7a0005e27e66d57f9baf4e3048033185cd38f32b4cfd17277d80673ac225 SHA512 d08657e8424cf2fbdee1caa46140dd90f45b5efe7c71a96c789b0bb350d7c36a9c725ae436bee00fb0948ab0de5fc5356f71082619edae1316922221c19eae1c -EBUILD roctracer-5.1.3-r1.ebuild 2415 BLAKE2B c0737eb18ae261221c98ce271e2125cb6c0a36771cb681fb6a3163c64e73158da9dc1f1bbcdb4e3a51b75b8bea50a69344deaa3b45b33af05908ee276b2f4868 SHA512 088ac0b65323a618703c068bfbceafcf201c97c9d2ec9e87cdb4c819fbe03fb31ea9a528358773ab89c03402a6f04fff5e53190d38a0cea85d0ae53bd657bf46 -EBUILD roctracer-5.3.3-r1.ebuild 1659 BLAKE2B d0ef879f789b5fe49985a09fb23da11386ae2629398741224176e723a88f51ea147429eae036b53fab7c0aea66515e24b8a91f89846099343f434799f182aefa SHA512 dfa1e198644882d2d4b0a31c812c46b5e4b902368a9380986aa0590ad592ef68bda3c341043ad9f11ef08a8e41aa0c4096686cbf9636c8412331ed9b0134ccce EBUILD roctracer-5.7.1-r1.ebuild 2230 BLAKE2B db3912e3ece9c6bd934832e91addab4d896d75ddd59e348c539066b394335f9c83fb081d4225072485eb6cde2fb2b257439b12d953efe51e38c91a32291daa3f SHA512 591ea6fb59e2bbf4a27ba3891d0de346c6a625518cd4bc67c83749abc38db7b95d9bf6ccd653f550676cad01917cae2cb84cbeb57efe942476201ed7bbcd9b4e EBUILD roctracer-6.1.1-r1.ebuild 2711 BLAKE2B e5975296167127f7487280752b16b2daf1a024180cf4a143c48f6bd1462c128a7f385d0ec3885479786ce338065a6aa512fb783e7d8ea6f249a713e8b2a548c8 SHA512 7144c0fdeac1977069257d1e2f4560d2f3c751d6fc862e82da896a56566705bd423ec79331e085cc18d1c1ae1b8dfdf81fbea68540158021f080a5528c1bffad EBUILD roctracer-6.3.0.ebuild 2832 BLAKE2B 9bc2d4f4310b5100e87f3dafe8a0451f7ad9bef22529f16bb27c96fec8ebaaa14e7dfeab06312d95ed5db212990cd2ad1edc484be605057ec4267f1dda5ffbfd SHA512 6f8cb042d64c502799b0108661c935f4844c8fa82f7471296cbc14a47806e24454271079b5fe965e3decea90ec72f2a5483d8ef6c2678c60ce52f0f40287e58c diff --git a/dev-util/roctracer/files/roctracer-4.3.0-glibc-2.34.patch b/dev-util/roctracer/files/roctracer-4.3.0-glibc-2.34.patch deleted file mode 100644 index e11b1148bb89..000000000000 --- a/dev-util/roctracer/files/roctracer-4.3.0-glibc-2.34.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 5f4c1c01de8f0da24956c1c931d3ffe7410b5b78 Mon Sep 17 00:00:00 2001 -From: David Seifert <soap@gentoo.org> -Date: Sat, 30 Oct 2021 18:35:53 +0200 -Subject: [PATCH] pthread_yield -> sched_yield (glibc 2.34) - -Bug: https://bugs.gentoo.org/808049 -Upstream: https://github.com/ROCm-Developer-Tools/roctracer/pull/63 ---- - src/core/memory_pool.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/core/memory_pool.h b/src/core/memory_pool.h -index fe2f1a6..fbd9060 100644 ---- a/src/core/memory_pool.h -+++ b/src/core/memory_pool.h -@@ -24,6 +24,7 @@ THE SOFTWARE. - #define MEMORY_POOL_H_ - - #include <pthread.h> -+#include <sched.h> - #include <stdlib.h> - - #include <atomic> -@@ -152,7 +153,7 @@ class MemoryPool { - } - - static void sync_reader(const consumer_arg_t* arg) { -- while(arg->valid.load() == true) PTHREAD_CALL(pthread_yield()); -+ while(arg->valid.load() == true) PTHREAD_CALL(sched_yield()); - } - - static void* reader_fun(void* consumer_arg) { --- -2.33.1 - diff --git a/dev-util/roctracer/files/roctracer-5.0.2-Werror.patch b/dev-util/roctracer/files/roctracer-5.0.2-Werror.patch deleted file mode 100644 index ddcfd7d669df..000000000000 --- a/dev-util/roctracer/files/roctracer-5.0.2-Werror.patch +++ /dev/null @@ -1,18 +0,0 @@ -User code should not use the aggressive warning and error flags. - -Index: roctracer-rocm-5.0.2/cmake_modules/env.cmake -=================================================================== ---- roctracer-rocm-5.0.2.orig/cmake_modules/env.cmake -+++ roctracer-rocm-5.0.2/cmake_modules/env.cmake -@@ -39,10 +39,8 @@ add_definitions ( -D__HIP_PLATFORM_HCC__ - - ## Linux Compiler options - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") --set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" ) --set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror" ) --set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type" ) - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" ) -+set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive" ) - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden" ) - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-math-errno" ) - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-threadsafe-statics" ) diff --git a/dev-util/roctracer/files/roctracer-5.0.2-headers.patch b/dev-util/roctracer/files/roctracer-5.0.2-headers.patch deleted file mode 100644 index 91e48892bc45..000000000000 --- a/dev-util/roctracer/files/roctracer-5.0.2-headers.patch +++ /dev/null @@ -1,36 +0,0 @@ -do not install a second set of header files, strip package name from -libraries and headers. - -Index: roctracer-rocm-5.0.2/CMakeLists.txt -=================================================================== ---- roctracer-rocm-5.0.2.orig/CMakeLists.txt -+++ roctracer-rocm-5.0.2/CMakeLists.txt -@@ -131,16 +131,12 @@ add_custom_target ( so-patch-link ALL WO - COMMAND ${CMAKE_COMMAND} -E create_symlink ../${DEST_NAME}/lib/${ROCTRACER_LIBRARY}.so.${LIB_VERSION_STRING} so-patch-link ) - - ## Install information --install ( TARGETS ${ROCTRACER_TARGET} LIBRARY DESTINATION ${DEST_NAME}/lib ) -+install ( TARGETS ${ROCTRACER_TARGET} LIBRARY DESTINATION lib ) - foreach ( header ${PUBLIC_HEADERS} ) -- get_filename_component ( header_subdir ${header} DIRECTORY ) -- install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/${header} DESTINATION ${DEST_NAME}/include/${header_subdir} ) -- install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/${header} DESTINATION include/${DEST_NAME}/${header_subdir} ) -+ install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/${header} DESTINATION include ) - endforeach () - foreach ( header ${GEN_HEADERS} ) -- get_filename_component ( header_subdir ${header} DIRECTORY ) -- install ( FILES ${PROJECT_BINARY_DIR}/inc/${header} DESTINATION ${DEST_NAME}/include/${header_subdir} ) -- install ( FILES ${PROJECT_BINARY_DIR}/inc/${header} DESTINATION include/${DEST_NAME}/${header_subdir} ) -+ install ( FILES ${PROJECT_BINARY_DIR}/inc/${header} DESTINATION include ) - endforeach () - #install ( FILES ${PROJECT_BINARY_DIR}/inc-link DESTINATION include RENAME ${DEST_NAME} ) - install ( FILES ${PROJECT_BINARY_DIR}/so-link DESTINATION lib RENAME ${ROCTRACER_LIBRARY}.so ) -@@ -162,7 +158,7 @@ add_custom_target ( so-roctx-major-link - add_custom_target ( so-roctx-patch-link ALL WORKING_DIRECTORY ${PROJECT_BINARY_DIR} - COMMAND ${CMAKE_COMMAND} -E create_symlink ../${DEST_NAME}/lib/${ROCTX_LIBRARY}.so.${LIB_VERSION_STRING} so-roctx-patch-link ) - --install ( TARGETS "roctx64" LIBRARY DESTINATION ${DEST_NAME}/lib ) -+install ( TARGETS "roctx64" LIBRARY DESTINATION lib ) - install ( FILES ${PROJECT_BINARY_DIR}/so-roctx-link DESTINATION lib RENAME ${ROCTX_LIBRARY}.so ) - install ( FILES ${PROJECT_BINARY_DIR}/so-roctx-major-link DESTINATION lib RENAME ${ROCTX_LIBRARY}.so.${LIB_VERSION_MAJOR} ) - install ( FILES ${PROJECT_BINARY_DIR}/so-roctx-patch-link DESTINATION lib RENAME ${ROCTX_LIBRARY}.so.${LIB_VERSION_STRING} ) diff --git a/dev-util/roctracer/files/roctracer-5.0.2-strip-license.patch b/dev-util/roctracer/files/roctracer-5.0.2-strip-license.patch deleted file mode 100644 index e9c33885a01c..000000000000 --- a/dev-util/roctracer/files/roctracer-5.0.2-strip-license.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: roctracer-rocm-5.0.2/CMakeLists.txt -=================================================================== ---- roctracer-rocm-5.0.2.orig/CMakeLists.txt -+++ roctracer-rocm-5.0.2/CMakeLists.txt -@@ -173,9 +173,6 @@ set ( CPACK_PACKAGE_CONTACT "ROCm Profil - set ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "AMD ROCTRACER library" ) - set ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE" ) - --# Install license file --install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION share/doc/${CPACK_PACKAGE_NAME}) -- - ## Debian package specific variables - if ( DEFINED ENV{CPACK_DEBIAN_PACKAGE_RELEASE} ) - set ( CPACK_DEBIAN_PACKAGE_RELEASE $ENV{CPACK_DEBIAN_PACKAGE_RELEASE} ) diff --git a/dev-util/roctracer/files/roctracer-5.1.3-no-aqlprofile.patch b/dev-util/roctracer/files/roctracer-5.1.3-no-aqlprofile.patch deleted file mode 100644 index 93ddee3e5b43..000000000000 --- a/dev-util/roctracer/files/roctracer-5.1.3-no-aqlprofile.patch +++ /dev/null @@ -1,39 +0,0 @@ -Skip loading proprietary AQLProfile lib -Index: roctracer-rocm-5.1.3/src/util/hsa_rsrc_factory.cpp -=================================================================== ---- roctracer-rocm-5.1.3.orig/src/util/hsa_rsrc_factory.cpp -+++ roctracer-rocm-5.1.3/src/util/hsa_rsrc_factory.cpp -@@ -127,14 +127,6 @@ HsaRsrcFactory::HsaRsrcFactory(bool init - if (cpu_pool_ == NULL) CHECK_STATUS("CPU memory pool is not found", HSA_STATUS_ERROR); - if (kern_arg_pool_ == NULL) CHECK_STATUS("Kern-arg memory pool is not found", HSA_STATUS_ERROR); - -- // Get AqlProfile API table -- aqlprofile_api_ = {0}; --#ifdef ROCP_LD_AQLPROFILE -- status = LoadAqlProfileLib(&aqlprofile_api_); --#else -- status = hsa_api_.hsa_system_get_major_extension_table(HSA_EXTENSION_AMD_AQLPROFILE, hsa_ven_amd_aqlprofile_VERSION_MAJOR, sizeof(aqlprofile_api_), &aqlprofile_api_); --#endif -- CHECK_STATUS("aqlprofile API table load failed", status); - - // Get Loader API table - loader_api_ = {0}; -Index: roctracer-rocm-5.1.3/test/hsa/src/hsa_rsrc_factory.cpp -=================================================================== ---- roctracer-rocm-5.1.3.orig/test/hsa/src/hsa_rsrc_factory.cpp -+++ roctracer-rocm-5.1.3/test/hsa/src/hsa_rsrc_factory.cpp -@@ -125,14 +125,6 @@ HsaRsrcFactory::HsaRsrcFactory(bool init - if (cpu_pool_ == NULL) CHECK_STATUS("CPU memory pool is not found", HSA_STATUS_ERROR); - if (kern_arg_pool_ == NULL) CHECK_STATUS("Kern-arg memory pool is not found", HSA_STATUS_ERROR); - -- // Get AqlProfile API table -- aqlprofile_api_ = {0}; --#ifdef ROCP_LD_AQLPROFILE -- status = LoadAqlProfileLib(&aqlprofile_api_); --#else -- status = hsa_api_.hsa_system_get_major_extension_table(HSA_EXTENSION_AMD_AQLPROFILE, hsa_ven_amd_aqlprofile_VERSION_MAJOR, sizeof(aqlprofile_api_), &aqlprofile_api_); --#endif -- CHECK_STATUS("aqlprofile API table load failed", status); - - // Get Loader API table - loader_api_ = {0}; diff --git a/dev-util/roctracer/files/roctracer-5.3.3-Werror.patch b/dev-util/roctracer/files/roctracer-5.3.3-Werror.patch deleted file mode 100644 index b932bb5cb5d3..000000000000 --- a/dev-util/roctracer/files/roctracer-5.3.3-Werror.patch +++ /dev/null @@ -1,15 +0,0 @@ -Should not use the aggressive -Werror flag. - -Index: roctracer-rocm-5.3.3/CMakeLists.txt -=================================================================== ---- roctracer-rocm-5.3.3.orig/CMakeLists.txt -+++ roctracer-rocm-5.3.3/CMakeLists.txt -@@ -37,7 +37,7 @@ endif() - - set(CMAKE_CXX_STANDARD 17) - set(CMAKE_CXX_STANDARD_REQUIRED ON) --add_compile_options(-Wall -Werror) -+add_compile_options(-Wall) - - set(THREADS_PREFER_PTHREAD_FLAG ON) - diff --git a/dev-util/roctracer/files/roctracer-5.3.3-do-not-install-test-files.patch b/dev-util/roctracer/files/roctracer-5.3.3-do-not-install-test-files.patch deleted file mode 100644 index ac3e53c1f405..000000000000 --- a/dev-util/roctracer/files/roctracer-5.3.3-do-not-install-test-files.patch +++ /dev/null @@ -1,37 +0,0 @@ -Remove all install commands for test -=================================================================== ---- roctracer-rocm-5.3.3.orig/test/CMakeLists.txt -+++ roctracer-rocm-5.3.3/test/CMakeLists.txt -@@ -87,7 +87,6 @@ function(generate_hsaco TARGET_ID INPUT_ - DEPENDS ${INPUT_FILE} clang - COMMENT "Building ${OUTPUT_FILE}..." - VERBATIM) -- install(FILES ${PROJECT_BINARY_DIR}/${OUTPUT_FILE} DESTINATION test/${PROJECT_NAME} COMPONENT tests) - set(HSACO_TARGET_LIST ${HSACO_TARGET_LIST} ${PROJECT_BINARY_DIR}/${OUTPUT_FILE} PARENT_SCOPE) - endfunction(generate_hsaco) - -@@ -150,24 +149,10 @@ add_dependencies(mytest dlopen) - ## Copy the golden traces and test scripts - configure_file(run.sh ${PROJECT_BINARY_DIR} COPYONLY) - execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink run.sh ${PROJECT_BINARY_DIR}/run_ci.sh) --install(PROGRAMS ${PROJECT_BINARY_DIR}/run.sh DESTINATION test/${PROJECT_NAME} COMPONENT tests) - - configure_file(${PROJECT_SOURCE_DIR}/script/check_trace.py ${PROJECT_BINARY_DIR}/test/check_trace.py COPYONLY) --install(PROGRAMS ${PROJECT_BINARY_DIR}/test/check_trace.py DESTINATION test/${PROJECT_NAME}/test COMPONENT tests) - - file(GLOB files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "golden_traces/tests_trace_cmp_levels.txt" "golden_traces/*_trace.txt") - foreach(file ${files}) - configure_file(${file} ${PROJECT_BINARY_DIR}/test/${file} COPYONLY) - endforeach() --install(DIRECTORY ${PROJECT_BINARY_DIR}/test/golden_traces DESTINATION test/${PROJECT_NAME}/test COMPONENT tests) -- --# install all executables --set(all_executables) --get_property(all_targets DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY BUILDSYSTEM_TARGETS) --foreach(target IN LISTS all_targets) -- get_target_property(target_type ${target} TYPE) -- if (target_type STREQUAL "EXECUTABLE") -- list(APPEND all_executables ${target}) -- endif() --endforeach() --install(TARGETS ${all_executables} DESTINATION test/${PROJECT_NAME}/test COMPONENT tests) diff --git a/dev-util/roctracer/files/roctracer-5.3.3-flat-lib-layout.patch b/dev-util/roctracer/files/roctracer-5.3.3-flat-lib-layout.patch deleted file mode 100644 index 46c8d1a168b8..000000000000 --- a/dev-util/roctracer/files/roctracer-5.3.3-flat-lib-layout.patch +++ /dev/null @@ -1,34 +0,0 @@ -Install libs directly into /usr/lib64 -=================================================================== -Index: roctracer-rocm-5.3.3/src/CMakeLists.txt -=================================================================== ---- roctracer-rocm-5.3.3.orig/src/CMakeLists.txt -+++ roctracer-rocm-5.3.3/src/CMakeLists.txt -@@ -215,12 +215,12 @@ target_include_directories(roctracer_too - target_link_libraries(roctracer_tool util roctracer hsa-runtime64::hsa-runtime64 stdc++fs Threads::Threads atomic dl) - target_link_options(roctracer_tool PRIVATE -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/tracer_tool/exportmap -Wl,--no-undefined) - --install(TARGETS roctracer_tool LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME} COMPONENT runtime) -+install(TARGETS roctracer_tool LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT runtime) - - add_library(hip_stats SHARED hip_stats/hip_stats.cpp) - target_compile_definitions(hip_stats PRIVATE __HIP_PLATFORM_AMD__) - target_link_libraries(hip_stats roctracer stdc++fs) --install(TARGETS hip_stats LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME} COMPONENT runtime) -+install(TARGETS hip_stats LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT runtime) - - endif() - -Index: roctracer-rocm-5.3.3/plugin/file/CMakeLists.txt -=================================================================== ---- roctracer-rocm-5.3.3.orig/plugin/file/CMakeLists.txt -+++ roctracer-rocm-5.3.3/plugin/file/CMakeLists.txt -@@ -38,5 +38,5 @@ target_link_options(file_plugin PRIVATE - target_link_libraries(file_plugin PRIVATE util roctracer hsa-runtime64::hsa-runtime64 stdc++fs) - - install(TARGETS file_plugin LIBRARY -- DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME} -- COMPONENT runtime) -\ No newline at end of file -+ DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ COMPONENT runtime) diff --git a/dev-util/roctracer/roctracer-5.1.3-r1.ebuild b/dev-util/roctracer/roctracer-5.1.3-r1.ebuild deleted file mode 100644 index 923072f3fe67..000000000000 --- a/dev-util/roctracer/roctracer-5.1.3-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit cmake prefix python-any-r1 - -DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's" -HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git" -SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz - https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-${PV}.tar.gz -> rocprofiler-${PV}.tar.gz - https://github.com/ROCmSoftwarePlatform/hsa-class/archive/f8b387043b9f510afdf2e72e38a011900360d6ab.tar.gz -> hsa-class-f8b3870.tar.gz" -S="${WORKDIR}/roctracer-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" - -RDEPEND="dev-libs/rocr-runtime:${SLOT} - dev-util/hip:${SLOT}" -DEPEND="${RDEPEND}" -BDEPEND=" - $(python_gen_any_dep ' - dev-python/cppheaderparser[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - ') -" - -PATCHES=( - # https://github.com/ROCm-Developer-Tools/roctracer/pull/63 - "${FILESDIR}"/${PN}-4.3.0-glibc-2.34.patch - "${FILESDIR}"/${PN}-5.0.2-Werror.patch - "${FILESDIR}"/${PN}-5.0.2-headers.patch - "${FILESDIR}"/${PN}-5.0.2-strip-license.patch - "${FILESDIR}"/${PN}-5.1.3-no-aqlprofile.patch -) - -python_check_deps() { - python_has_version "dev-python/cppheaderparser[${PYTHON_USEDEP}]" \ - "dev-python/ply[${PYTHON_USEDEP}]" -} - -src_prepare() { - cmake_src_prepare - - mv "${WORKDIR}"/rocprofiler-rocm-${PV} "${WORKDIR}"/rocprofiler || die - mv "${WORKDIR}"/hsa-class-*/test/util "${S}"/inc/ || die - rm "${S}"/inc/util/hsa* || die - cp -a "${S}"/src/util/hsa* "${S}"/inc/util/ || die - - # change destination for headers to include/roctracer; - - sed -e "/LIBRARY DESTINATION/s,lib,$(get_libdir)," \ - -e "/DESTINATION/s,\${DEST_NAME}/include,include/roctracer," \ - -e "/install ( FILES \${PROJECT_BINARY_DIR}\/so/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/lib64,$(get_libdir),g" \ - -i CMakeLists.txt || die - - # do not download additional sources via git - sed -e "/execute_process ( COMMAND sh -xc \"if/d" \ - -e "/add_subdirectory ( \${HSA_TEST_DIR} \${PROJECT_BINARY_DIR}/d" \ - -e "/DESTINATION/s,\${DEST_NAME}/tool,$(get_libdir),g" \ - -i test/CMakeLists.txt || die - - hprefixify script/*.py -} - -src_configure() { - export HIP_PATH="$(hipconfig -p)" - - local mycmakeargs=( - -DCMAKE_PREFIX_PATH="${EPREFIX}/usr/include/hsa" - ) - - cmake_src_configure -} diff --git a/dev-util/roctracer/roctracer-5.3.3-r1.ebuild b/dev-util/roctracer/roctracer-5.3.3-r1.ebuild deleted file mode 100644 index f5ebd55cf86d..000000000000 --- a/dev-util/roctracer/roctracer-5.3.3-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -ROCM_VERSION=${PV} - -inherit cmake prefix python-any-r1 rocm - -DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's" -HOMEPAGE="https://github.com/ROCm-Developer-Tools/roctracer.git" -SRC_URI="https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-${PV}.tar.gz -> rocm-tracer-${PV}.tar.gz" -S="${WORKDIR}/roctracer-rocm-${PV}" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-libs/rocr-runtime - dev-util/hip" -DEPEND="${RDEPEND}" -BDEPEND=" - $(python_gen_any_dep ' - dev-python/cppheaderparser[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - ') -" - -PATCHES=( "${FILESDIR}"/roctracer-5.3.3-flat-lib-layout.patch - "${FILESDIR}"/roctracer-5.3.3-do-not-install-test-files.patch - "${FILESDIR}"/roctracer-5.3.3-Werror.patch ) - -python_check_deps() { - python_has_version "dev-python/cppheaderparser[${PYTHON_USEDEP}]" \ - "dev-python/ply[${PYTHON_USEDEP}]" -} - -src_prepare() { - cmake_src_prepare - - hprefixify script/*.py - eapply $(prefixify_ro "${FILESDIR}"/${PN}-5.3.3-rocm-path.patch) -} - -src_configure() { - export ROCM_PATH="$(hipconfig -p)" - local mycmakeargs=( - -DCMAKE_MODULE_PATH="${EPREFIX}/usr/lib64/cmake/hip" - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DHIP_CXX_COMPILER=hipcc - ) - - cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}" || die - # if LD_LIBRARY_PATH not set, dlopen cannot find correct lib - LD_LIBRARY_PATH="${EPREFIX}"/usr/lib64 bash run.sh || die -} |