summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2023-10-18 18:34:10 +0000
committerBenda Xu <heroxbd@gentoo.org>2023-11-19 10:18:21 +0800
commit74964e47d7cb86d9cbb992f02e9de25a554727ac (patch)
tree4cbe0d98cccfd4982ecf9417ddca56521a60ee77 /dev-util/hip/files/hip-5.7.1-no_asan_doc.patch
parentdev-util/hipcc: passing --hip-version to clang for proper include (diff)
downloadgentoo-74964e47d7cb86d9cbb992f02e9de25a554727ac.tar.gz
gentoo-74964e47d7cb86d9cbb992f02e9de25a554727ac.tar.bz2
gentoo-74964e47d7cb86d9cbb992f02e9de25a554727ac.zip
dev-util/hip: fix crashes and QA issues.
- add fix-unaligned-memcpy.patch - add exec-stack.patch - add disable-stack-protector patch - drop asan doc from the build system. Closes: https://bugs.gentoo.org/915969 Bug: https://github.com/ROCm-Developer-Tools/clr/issues/18 Bug: https://github.com/gentoo/gentoo/pull/33400 Bug: https://github.com/ROCm-Developer-Tools/clr/issues/22 Bug: https://github.com/ROCm-Developer-Tools/clr/issues/21 Bug: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/issues/61 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-util/hip/files/hip-5.7.1-no_asan_doc.patch')
-rw-r--r--dev-util/hip/files/hip-5.7.1-no_asan_doc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-util/hip/files/hip-5.7.1-no_asan_doc.patch b/dev-util/hip/files/hip-5.7.1-no_asan_doc.patch
new file mode 100644
index 000000000000..40de416334be
--- /dev/null
+++ b/dev-util/hip/files/hip-5.7.1-no_asan_doc.patch
@@ -0,0 +1,17 @@
+Donot install -asan documents.
+
+Reference:
+https://github.com/RadeonOpenCompute/llvm-project/commit/e782e09f7b113a0f896c6cec7240d411aca1d73f
+https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/issues/61
+
+--- a/hipamd/packaging/CMakeLists.txt 2023-11-18 23:25:45.000000000 +0800
++++ b/hipamd/packaging/CMakeLists.txt 2023-11-18 23:27:27.230354665 +0800
+@@ -36,8 +36,6 @@
+ ###Set License####
+ set(CPACK_RESOURCE_FILE_LICENSE ${hip_SOURCE_DIR}/LICENSE.txt)
+ install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT binary)
+-# install license file in share/doc/hip-asan folder
+-install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan COMPONENT asan)
+ set(CPACK_RPM_PACKAGE_LICENSE "MIT")
+ #Begin binary files install
+ if(HIP_PLATFORM STREQUAL "amd" )