[gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/files/
commit: 2ce5a57c452ab6aa30a911c610cf21ecc55f3052 Author: Patrick Lauer gentoo org> AuthorDate: Mon Oct 9 13:11:07 2023 + Commit: 罗百科 gentoo org> CommitDate: Mon Oct 9 13:34:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce5a57c dev-libs/roct-thunk-interface: Improve patch Signed-off-by: Patrick Lauer gentoo.org> .../files/roct-thunk-interface-5.7.0-functions.patch| 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-5.7.0-functions.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-5.7.0-functions.patch index f9a573debc68..051beeeb1b2e 100644 --- a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-5.7.0-functions.patch +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-5.7.0-functions.patch @@ -1,12 +1,14 @@ diff --git a/src/libhsakmt.ver b/src/libhsakmt.ver -index dc17215..10c840c 100644 +index dc17215..964f3d0 100644 --- a/src/libhsakmt.ver +++ b/src/libhsakmt.ver -@@ -75,6 +75,7 @@ hsaKmtSetXNACKMode; +@@ -75,6 +75,9 @@ hsaKmtSetXNACKMode; hsaKmtGetXNACKMode; hsaKmtOpenSMI; hsaKmtExportDMABufHandle; +hsaKmtWaitOnMultipleEvents_Ext; ++hsaKmtReplaceAsanHeaderPage; ++hsaKmtWaitOnEvent_Ext; local: *; };
[gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/files/, dev-libs/roct-thunk-interface/
commit: fabbcf137f3095c7b7dedecc8df75b9b63f277ee Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Dec 19 14:53:05 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 19 14:53:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabbcf13 dev-libs/roct-thunk-interface: drop 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.5.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/roct-thunk-interface/Manifest | 5 --- .../roct-thunk-interface-4.1.0-append-flags.patch | 27 --- .../roct-thunk-interface-4.0.0.ebuild | 35 --- .../roct-thunk-interface-4.1.0.ebuild | 39 - .../roct-thunk-interface-4.2.0.ebuild | 39 - .../roct-thunk-interface-4.3.0.ebuild | 35 --- .../roct-thunk-interface-4.5.2.ebuild | 40 -- 7 files changed, 220 deletions(-) diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest index 4e38d834ffb1..1be0531b991f 100644 --- a/dev-libs/roct-thunk-interface/Manifest +++ b/dev-libs/roct-thunk-interface/Manifest @@ -1,7 +1,2 @@ -DIST roct-thunk-interface-4.0.0.tar.gz 2694100 BLAKE2B 49ca128902335fc36d44b9e71d444a467bdd0b39ce0b487c70f1f68180fb4b564b10a65e26e41b71d5e66721c3086ec834aee2550246172965f2d611ce9a644a SHA512 cbb45c4372ce2620fce6ccbf94e8e7600256d12acf6721da9d22aeb619cec9d4e4e25354649b83fb322f8d369347c251ebb7242ff8fc3976cc3983de0d8e30a9 -DIST roct-thunk-interface-4.1.0.tar.gz 2697077 BLAKE2B 6d5d35c57d73c7d23fe28f438421372c1dcd51b1bcbf8720dfc993ce56a4afb3cd2c5d14185f4424436db4ce6d1d48dd5f802d0fc24ea1dd78ceb5cff7604103 SHA512 adef8c6c8f375d6d402c1066859fdb45f1e938578011fa0008ad242e1365d3672c5cb02a50f98b6f2d760269b4ef46b33a77f237521b76afe42ac883c71ecd86 -DIST roct-thunk-interface-4.2.0.tar.gz 3162877 BLAKE2B 48196c2334a5514c17a5b6ca122f0beaf964040f1705bd60532e4379a01d8d6a9b462a7f74916d80841caa9d3a57d5b6e2fb030a9556a1305b879036f9bcec5f SHA512 007cd64e33bada7707f340bffddf6eb9531b0bd5227a5da522c0ff4f0e2efe4a113fc50bf52da19d58fef73008af70a352aad8b41387b327f2ba19b54ede9646 -DIST roct-thunk-interface-4.3.0.tar.gz 3177655 BLAKE2B e3746bb361731484acb5da8c48246fa9ce6cce46919bc771e2670bc4694e09147b51b65274cc58d690e06ce6781aca54d67508625d9ffc1e30f42dbd69adabd5 SHA512 c0515784696464feef906d6ef4446c9bddb77b5abe62e982a7d75331a8b7fb84e94f12ebeaf2e128be28ab8f903bf6894cbf2302aa5ddee23eaf9b2cc807c872 -DIST roct-thunk-interface-4.5.2.tar.gz 3178434 BLAKE2B b3416d1f7f26401a543ff5ef1b728a6efc38c5c9306d98cb03f034f8b0e10f961f9863192c23a6b7a70ff543e2d8abb60169a4a9a0c5992f2483e6f69db2 SHA512 6f51956df14532a3428f56a80479357c703c26589c68b054a340d751e34435211500c441fc90d7edbbb7c6c327a8ba71afafc8355c8c0e7a1cd45a9c9d0d99e6 DIST roct-thunk-interface-5.0.2.tar.gz 3178727 BLAKE2B 9b8926ec18340a686f0499070dd4846fb9ba3eae2fed2d02615fbbee977c3417cb5815b54a19aed7623484e175702cb757e8f3ac30b8b9f04ce4cf0ce81b2cc5 SHA512 c78a4d22d6e09decfec8c710707bc89ca30d3deba9ee3123af83d530f1bf58cb3681206a8c2ad8a523ff45621b87701020cfce23bba4fd87b81791ee8f04619e DIST roct-thunk-interface-5.1.3.tar.gz 3178689 BLAKE2B c46af7bc60772beaa9a214a86a634290cfd7952589f70736c0c2544c0459eb4fdcc65030d897dbb67bfbaae545f529ac647397df3fcfeddeb5d5e05a283cfd6b SHA512 746a04e667ce242160d6e2519594fc93b205520dae28678859fbd40c3c641082aa6219c04c8e2b58289763a5244dd6336b56c2e2016ba671c5e5a6fb9ca5caea diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-4.1.0-append-flags.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-4.1.0-append-flags.patch deleted file mode 100644 index 2f5f1c674944.. --- a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-4.1.0-append-flags.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a3a4d99..0015b0f 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -99,17 +99,17 @@ set (HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -Wl,--enable-new-dtags -Wl,--versio - ## Address Sanitize Flag - if ( ${ADDRESS_SANITIZER} ) - set ( HSAKMT_C_FLAGS "${HSAKMT_C_FLAGS}" -fsanitize=address ) --set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -fsanitize=address ) -+set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -fsanitize=address ") - if ( BUILD_SHARED_LIBS ) --set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -shared-libsan ) -+set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -shared-libsan ") - else () --set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -static-libsan ) -+set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -static-libsan ") - endif () - else () - if ( CMAKE_COMPILER_IS_GNUCC ) --set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -Wl,-no-undefined ) -+set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -Wl,-no-undefined ") - else () --set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -Wl,-undefined
[gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/files/, dev-libs/roct-thunk-interface/
commit: ee72ce1c930b47380a07d355e5cef994ab3477c3 Author: Wilfried Holzke holzke net> AuthorDate: Wed Mar 24 14:43:25 2021 + Commit: Craig Andrews gentoo org> CommitDate: Wed Mar 24 14:57:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee72ce1c dev-libs/roct-thunk-interface: Version bump to 4.1.0 Signed-off-by: Wilfried Holzke holzke.net> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/20101 Signed-off-by: Craig Andrews gentoo.org> dev-libs/roct-thunk-interface/Manifest | 1 + .../roct-thunk-interface-4.1.0-append-flags.patch | 27 ++ .../roct-thunk-interface-4.0.0.ebuild | 2 +- 0.ebuild => roct-thunk-interface-4.1.0.ebuild} | 6 - 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest index 71c8bfeec83..d5b1d9ab69b 100644 --- a/dev-libs/roct-thunk-interface/Manifest +++ b/dev-libs/roct-thunk-interface/Manifest @@ -1 +1,2 @@ DIST roct-thunk-interface-4.0.0.tar.gz 2694100 BLAKE2B 49ca128902335fc36d44b9e71d444a467bdd0b39ce0b487c70f1f68180fb4b564b10a65e26e41b71d5e66721c3086ec834aee2550246172965f2d611ce9a644a SHA512 cbb45c4372ce2620fce6ccbf94e8e7600256d12acf6721da9d22aeb619cec9d4e4e25354649b83fb322f8d369347c251ebb7242ff8fc3976cc3983de0d8e30a9 +DIST roct-thunk-interface-4.1.0.tar.gz 2697077 BLAKE2B 6d5d35c57d73c7d23fe28f438421372c1dcd51b1bcbf8720dfc993ce56a4afb3cd2c5d14185f4424436db4ce6d1d48dd5f802d0fc24ea1dd78ceb5cff7604103 SHA512 adef8c6c8f375d6d402c1066859fdb45f1e938578011fa0008ad242e1365d3672c5cb02a50f98b6f2d760269b4ef46b33a77f237521b76afe42ac883c71ecd86 diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-4.1.0-append-flags.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-4.1.0-append-flags.patch new file mode 100644 index 000..2f5f1c67494 --- /dev/null +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-4.1.0-append-flags.patch @@ -0,0 +1,27 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a3a4d99..0015b0f 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -99,17 +99,17 @@ set (HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -Wl,--enable-new-dtags -Wl,--versio + ## Address Sanitize Flag + if ( ${ADDRESS_SANITIZER} ) + set ( HSAKMT_C_FLAGS "${HSAKMT_C_FLAGS}" -fsanitize=address ) +-set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -fsanitize=address ) ++set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -fsanitize=address ") + if ( BUILD_SHARED_LIBS ) +-set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -shared-libsan ) ++set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -shared-libsan ") + else () +-set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -static-libsan ) ++set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -static-libsan ") + endif () + else () + if ( CMAKE_COMPILER_IS_GNUCC ) +-set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -Wl,-no-undefined ) ++set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -Wl,-no-undefined ") + else () +-set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS}" -Wl,-undefined,error ) ++set ( HSAKMT_LINK_FLAGS "${HSAKMT_LINK_FLAGS} -Wl,-undefined,error ") + endif () + endif () + diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild index ee5be506ed8..3cbf10ed4cd 100644 --- a/dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild +++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-4.1.0.ebuild similarity index 89% copy from dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild copy to dev-libs/roct-thunk-interface/roct-thunk-interface-4.1.0.ebuild index ee5be506ed8..16e23a2d974 100644 --- a/dev-libs/roct-thunk-interface/roct-thunk-interface-4.0.0.ebuild +++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-4.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,6 +23,10 @@ SLOT="0/$(ver_cut 1-2)" RDEPEND="sys-process/numactl" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/roct-thunk-interface-4.1.0-append-flags.patch" +) + src_prepare() { sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die cmake_src_prepare
[gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/files/
commit: f453c0a77a69193eadd8e3dccb4bd04d7b8065df Author: Craig Andrews gentoo org> AuthorDate: Thu Jan 2 12:54:11 2020 + Commit: Craig Andrews gentoo org> CommitDate: Thu Jan 2 12:54:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f453c0a7 dev-libs/roct-thunk-interface: Remove unused patches Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Craig Andrews gentoo.org> ...t-thunk-interface-2.0.0-correctly-install.patch | 288 - ...hunk-interface-2.6.0-correctly-install-pc.patch | 25 -- ...t-thunk-interface-2.6.0-correctly-install.patch | 25 -- ...nterface-2.6.0-do-not-install-kfd_ioctl.h.patch | 25 -- .../roct-thunk-interface-2.6.0-pc-prefix.patch | 22 -- 5 files changed, 385 deletions(-) diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.0.0-correctly-install.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.0.0-correctly-install.patch deleted file mode 100644 index 8248c5f4b36..000 --- a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.0.0-correctly-install.patch +++ /dev/null @@ -1,288 +0,0 @@ -https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/25 -From c60501d7e69db24f5d880aace73662384ea90b27 Mon Sep 17 00:00:00 2001 -From: Andreas Schneider -Date: Fri, 7 Sep 2018 10:30:05 +0200 -Subject: [PATCH 1/7] cmake: Do not mess with CMAKE_C_FLAGS - - CMakeLists.txt | 11 +++ - 1 file changed, 3 insertions(+), 8 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index cb2605b..8a0f362 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -59,15 +59,9 @@ set ( BUILD_VERSION_STRING "${BUILD_VERSION_MAJOR}.${BUILD_VERSION_MINOR}.${BUIL - #set ( CMAKE_VERBOSE_MAKEFILE on ) - - ## Compiler flags --set ( CMAKE_C_FLAGS "-fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wlogical-op -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden" ) -+set (HSAKMT_C_FLAGS -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wlogical-op -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden) - if ( "${CMAKE_C_COMPILER_VERSION}" STRGREATER "4.8.0") --set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror" ) --endif () -- --if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release ) --set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2" ) --else () --set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g" ) -+set (HSAKMT_C_FLAGS ${HSAKMT_C_FLAGS} -Werror) - endif () - - set ( HSAKMT_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/src/libhsakmt.ver" ) -@@ -96,6 +90,7 @@ include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/src ) - - ## Add the library - add_library ( ${HSAKMT_TARGET} SHARED ${HSAKMT_SRC} ) -+target_compile_options(${HSAKMT_TARGET} PRIVATE ${HSAKMT_C_FLAGS}) - - ## Set the VERSION and SOVERSION values - set_property ( TARGET ${HSAKMT_TARGET} PROPERTY VERSION "${LIB_VERSION_STRING}" ) - -From d37b3e2e634a40192c113d9a8256f3d2aa24acfa Mon Sep 17 00:00:00 2001 -From: Andreas Schneider -Date: Fri, 7 Sep 2018 10:31:59 +0200 -Subject: [PATCH 2/7] cmake: Do not mess with CMAKE_SHARED_LINKER_FLAGS - - CMakeLists.txt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8a0f362..a2a36cd 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -67,7 +67,7 @@ endif () - set ( HSAKMT_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/src/libhsakmt.ver" ) - - ## Linker Flags --set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--version-script=${HSAKMT_LINKER_SCRIPT} -Wl,-soname=${HSAKMT_COMPONENT}.so.$(PROJECT_VERSION_MAJOR) -Wl,-z,nodelete -Wl,-no-undefined" ) -+set (HSAKMT_LINK_FLAGS "-Wl,--version-script=${HSAKMT_LINKER_SCRIPT} -Wl,-soname=${HSAKMT_COMPONENT}.so.$(PROJECT_VERSION_MAJOR) -Wl,-z,nodelete -Wl,-no-undefined" ) - - ## Source files - set ( HSAKMT_SRC "src/debug.c" -@@ -91,6 +91,7 @@ include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/src ) - ## Add the library - add_library ( ${HSAKMT_TARGET} SHARED ${HSAKMT_SRC} ) - target_compile_options(${HSAKMT_TARGET} PRIVATE ${HSAKMT_C_FLAGS}) -+set_property(TARGET ${HSAKMT_TARGET} PROPERTY LINK_FLAGS ${HSAKMT_LINK_FLAGS}) - - ## Set the VERSION and SOVERSION values - set_property ( TARGET ${HSAKMT_TARGET} PROPERTY VERSION "${LIB_VERSION_STRING}" ) - -From 7f9ad94a9932319930f96d49a78fa9e741cd7292 Mon Sep 17 00:00:00 2001 -From: Andreas Schneider -Date: Fri, 7 Sep 2018 10:41:04 +0200 -Subject: [PATCH 3/7] cmake: Use GNUInstallDirs for installtion - -This will allow distributions to install it correctly. - CMakeLists.txt | 13 - - 1 file changed, 8 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMak
[gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/files/, dev-libs/roct-thunk-interface/
commit: fc8f4d08b34d046fb9729c78f25b6e02f09de23d Author: Craig Andrews gentoo org> AuthorDate: Mon Jul 22 20:22:19 2019 + Commit: Craig Andrews gentoo org> CommitDate: Wed Aug 7 17:38:41 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8f4d08 dev-libs/roct-thunk-interface: 2.6.0 version bump Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Craig Andrews gentoo.org> dev-libs/roct-thunk-interface/Manifest | 1 + ...hunk-interface-2.6.0-correctly-install-pc.patch | 25 + ...t-thunk-interface-2.6.0-correctly-install.patch | 25 + .../roct-thunk-interface-2.6.0-pc-prefix.patch | 22 .../roct-thunk-interface-2.6.0.ebuild | 41 ++ 5 files changed, 114 insertions(+) diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest index 5a78b9fd36a..8ba10b79341 100644 --- a/dev-libs/roct-thunk-interface/Manifest +++ b/dev-libs/roct-thunk-interface/Manifest @@ -1 +1,2 @@ DIST roct-thunk-interface-2.0.0.tar.gz 1958218 BLAKE2B c1ba89cac9a18964e040e6b1e57a464216e7086c400e3360cfca6f376ac90b0b1afbb3a2a4d995581d1829ca57afe62bf6f2ac59cc103a48d384a8e52b1457d0 SHA512 7d2e35df2bec201bcc977328d7d36b921f76b57a0c54fc2332eb1faf3a722b6a3a1e3b1658e93b216ed68b965426c463a2dbf52a22af64ce1dcc9fad0f27ca9c +DIST roct-thunk-interface-2.6.0.tar.gz 1957383 BLAKE2B 0335d4e219978d16bc8dbc77c6e1fb315f424ddf9225eb14968d4f8233348b358151f2baf279dc2a6e422da7839b704c847f1311b21d69e07738f3fca3235452 SHA512 e54f7cefa1854fb9967e373bd3ef5a0236987ebb26c21728ef5676e73cf63be6e9a49c1ce52d1156caa970473f214e02f25370e2cd7381c1f74a0b8cd5b2bc7f diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-correctly-install-pc.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-correctly-install-pc.patch new file mode 100644 index 000..4d0680415ce --- /dev/null +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-correctly-install-pc.patch @@ -0,0 +1,25 @@ +https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/39 + +From 032a3e38c62b84ec56fad70d24cf82ee65d8c80b Mon Sep 17 00:00:00 2001 +From: Craig Andrews +Date: Mon, 22 Jul 2019 17:06:16 -0400 +Subject: [PATCH] Install libhsakmt.pc to the standard location + +pkgconfig files should be installed to /usr/share/pkgconfig/, not /usr/libhsakmt/ +--- + hsakmt-dev.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hsakmt-dev.txt b/hsakmt-dev.txt +index eb0d3e2..195cc6c 100644 +--- a/hsakmt-dev.txt b/hsakmt-dev.txt +@@ -43,7 +43,7 @@ set ( BUILD_VERSION_PATCH @BUILD_VERSION_PATCH@ ) + set ( CMAKE_VERBOSE_MAKEFILE on ) + + ## Set the install targets +-install ( FILES libhsakmt.pc DESTINATION libhsakmt ) ++install ( FILES libhsakmt.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig ) + install ( DIRECTORY ${SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${HSAKMT_COMPONENT} ) + + diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-correctly-install.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-correctly-install.patch new file mode 100644 index 000..961d2978a2d --- /dev/null +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-correctly-install.patch @@ -0,0 +1,25 @@ +https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/38 + +From 1362864410579c35eb2ec428384ad883cb8b24b1 Mon Sep 17 00:00:00 2001 +From: Craig Andrews +Date: Mon, 22 Jul 2019 16:18:08 -0400 +Subject: [PATCH] Install LICENSE.md to DOCDIR + +LICENSE.md should be installed to the DOCDIR, not /usr/libhsakmt +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e020132..398da3e 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -145,7 +145,7 @@ add_custom_target ( package-dev DEPENDS build-dev + + ## Add the install directives for the runtime library. + install ( TARGETS ${HSAKMT_TARGET} DESTINATION ${CMAKE_INSTALL_LIBDIR} ) +-install ( FILES ${SOURCE_DIR}/LICENSE.md DESTINATION libhsakmt ) ++install ( FILES ${SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR} ) + + ## Add the packaging directives for the runtime library. + set ( CPACK_PACKAGE_NAME ${HSAKMT_PACKAGE} ) diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch new file mode 100644 index 000..0b4a716e6c9 --- /dev/null +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch @@ -0,0 +1,22 @@ +https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/40 + +From fb42a02230ed5140b3ac3beadb38ca39eb9ea463 Mon Sep 17 00:00:00 2001 +From: Craig Andrews +Date: Mon, 22 Jul 2019 17:17:09 -0400 +Subject: [PATCH] Use CMAKE_INSTALL_PREFIX in pkgconfig + +The locatio
[gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/files/, dev-libs/roct-thunk-interface/
commit: 950f935be6030e5ea62f0b922927b0013b120c90 Author: Craig Andrews gentoo org> AuthorDate: Fri Dec 14 03:54:40 2018 + Commit: Craig Andrews gentoo org> CommitDate: Mon Jan 14 20:25:32 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950f935b dev-libs/roct-thunk-interface: Radeon Open Compute Thunk Interface Bug: https://bugs.gentoo.org/650804 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> dev-libs/roct-thunk-interface/Manifest | 1 + ...t-thunk-interface-2.0.0-correctly-install.patch | 288 + dev-libs/roct-thunk-interface/metadata.xml | 22 ++ .../roct-thunk-interface-2.0.0.ebuild | 32 +++ 4 files changed, 343 insertions(+) diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest new file mode 100644 index 000..5a78b9fd36a --- /dev/null +++ b/dev-libs/roct-thunk-interface/Manifest @@ -0,0 +1 @@ +DIST roct-thunk-interface-2.0.0.tar.gz 1958218 BLAKE2B c1ba89cac9a18964e040e6b1e57a464216e7086c400e3360cfca6f376ac90b0b1afbb3a2a4d995581d1829ca57afe62bf6f2ac59cc103a48d384a8e52b1457d0 SHA512 7d2e35df2bec201bcc977328d7d36b921f76b57a0c54fc2332eb1faf3a722b6a3a1e3b1658e93b216ed68b965426c463a2dbf52a22af64ce1dcc9fad0f27ca9c diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.0.0-correctly-install.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.0.0-correctly-install.patch new file mode 100644 index 000..8248c5f4b36 --- /dev/null +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.0.0-correctly-install.patch @@ -0,0 +1,288 @@ +https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/25 +From c60501d7e69db24f5d880aace73662384ea90b27 Mon Sep 17 00:00:00 2001 +From: Andreas Schneider +Date: Fri, 7 Sep 2018 10:30:05 +0200 +Subject: [PATCH 1/7] cmake: Do not mess with CMAKE_C_FLAGS + +--- + CMakeLists.txt | 11 +++ + 1 file changed, 3 insertions(+), 8 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cb2605b..8a0f362 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -59,15 +59,9 @@ set ( BUILD_VERSION_STRING "${BUILD_VERSION_MAJOR}.${BUILD_VERSION_MINOR}.${BUIL + #set ( CMAKE_VERBOSE_MAKEFILE on ) + + ## Compiler flags +-set ( CMAKE_C_FLAGS "-fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wlogical-op -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden" ) ++set (HSAKMT_C_FLAGS -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wlogical-op -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden) + if ( "${CMAKE_C_COMPILER_VERSION}" STRGREATER "4.8.0") +-set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror" ) +-endif () +- +-if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release ) +-set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2" ) +-else () +-set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g" ) ++set (HSAKMT_C_FLAGS ${HSAKMT_C_FLAGS} -Werror) + endif () + + set ( HSAKMT_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/src/libhsakmt.ver" ) +@@ -96,6 +90,7 @@ include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/src ) + + ## Add the library + add_library ( ${HSAKMT_TARGET} SHARED ${HSAKMT_SRC} ) ++target_compile_options(${HSAKMT_TARGET} PRIVATE ${HSAKMT_C_FLAGS}) + + ## Set the VERSION and SOVERSION values + set_property ( TARGET ${HSAKMT_TARGET} PROPERTY VERSION "${LIB_VERSION_STRING}" ) + +From d37b3e2e634a40192c113d9a8256f3d2aa24acfa Mon Sep 17 00:00:00 2001 +From: Andreas Schneider +Date: Fri, 7 Sep 2018 10:31:59 +0200 +Subject: [PATCH 2/7] cmake: Do not mess with CMAKE_SHARED_LINKER_FLAGS + +--- + CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8a0f362..a2a36cd 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -67,7 +67,7 @@ endif () + set ( HSAKMT_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/src/libhsakmt.ver" ) + + ## Linker Flags +-set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--version-script=${HSAKMT_LINKER_SCRIPT} -Wl,-soname=${HSAKMT_COMPONENT}.so.$(PROJECT_VERSION_MAJOR) -Wl,-z,nodelete -Wl,-no-undefined" ) ++set (HSAKMT_LINK_FLAGS "-Wl,--version-script=${HSAKMT_LINKER_SCRIPT} -Wl,-soname=${HSAKMT_COMPONENT}.so.$(PROJECT_VERSION_MAJOR) -Wl,-z,nodelete -Wl,-no-undefined" ) + + ## Source files + set ( HSAKMT_SRC "src/debug.c" +@@ -91,6 +91,7 @@ include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/src ) + ## Add the library + add_library ( ${HSAKMT_TARGET} SHARED ${HSAKMT_SRC} ) + target_compile_options(${HSAKMT_TARGET} PRIVATE ${HSAKMT_C_FLAGS}) ++set_property(TARGET ${HSAKMT_TARGET} PROPERTY LINK_FLAGS ${HSAKMT_L