summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-util/hip: fix rocclr compile issueYiyang Wu2023-02-102-0/+222
| | | | | | | | | | Due to bbff88f734f62381b0a0624b4b2d182a8d4b8589, /usr/include/hsa.h is gone, so backport patch for rocclr to fix compile error. Bug: https://bugs.gentoo.org/893602 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29513 Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: add back patch to strip -rpath in hipccYiyang Wu2023-02-062-0/+21
| | | | | | | | | | | This fixes hipcc adding -rpath in compilation, which causes QA issue for building ROCm libraries, and linking the incorrect BLAS/LAPACK implementation to rocblas-test, which may cause testing performance degrade. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29443 Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: drop 5.0.2-r3Andreas Sturmlechner2023-02-013-164/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* dev-util/hip: add myself as maintainerYiyang Wu2023-01-311-0/+4
| | | | | Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: ignore QA FLAG check for libhiprtc-builtinsYiyang Wu2023-01-311-0/+5
| | | | | | Closes: https://bugs.gentoo.org/836271 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: remove -Werror added by src/CMakeLists.txtYiyang Wu2023-01-312-0/+17
| | | | | | Closes: https://bugs.gentoo.org/887383 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: remove profile USEYiyang Wu2023-01-312-23/+4
| | | | | | | No use case currently. Upstream does not ship this by default, either. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Backport fixes for clang directories searchYiyang Wu2023-01-316-11/+483
| | | | | | Closes: https://bugs.gentoo.org/891013 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: bump patch "remove-cmake-doxygen-commands"Yiyang Wu2023-01-312-0/+22
| | | | | | Closes: https://bugs.gentoo.org/887375 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: remove unnecessary sed commandsYiyang Wu2023-01-311-8/+1
| | | | | | | | Note: this turns __HIP_ENABLE_PCH to ON (it's turned off originally due to build failure back in version 4.0.0, but now the issue disappears) Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: disable non-FHS installYiyang Wu2023-01-311-0/+1
| | | | | | Closes: https://bugs.gentoo.org/887379 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Avoid double prefix problemsYiyang Wu2023-01-312-10/+10
| | | | | | | | hprefixify on hip-config.cmake and hipcc.pl is not working well. Disable auto hprefixify and adjust manual modification instead. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: append -fno-stack-protector for hipccYiyang Wu2023-01-213-0/+18
| | | | | | | Closes: https://bugs.gentoo.org/890377 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29188 Signed-off-by: Sam James <sam@gentoo.org>
* */*: remove py3.8 from PYTHON_COMPATDavid Seifert2023-01-143-6/+6
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* dev-util/hip: add 5.3.3Patrick Lauer2022-12-202-0/+171
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: drop versions 3* and 4*Andreas Sturmlechner2022-12-1917-1094/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* dev-util/hip: Set LLVM version to 15Jack de Kleuver2022-11-192-1/+23
| | | | | | | | | backport fix for `__noinline__` keyword Bug: https://bugs.gentoo.org/857126 Signed-off-by: Jack de Kleuver <jackdekleuver@gmail.com> Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: use python_has_versionArthur Zamarin2022-10-081-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-util/hip: Use python_has_version recommended by QAYiyang Wu2022-09-121-1/+1
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/27066 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Use docs.eclass to control doc installYiyang Wu2022-09-122-1/+32
| | | | | | | | By default, hip build documentation using doxygen in packaging/CMakeLists. Patch it out and use docs.eclass instead. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Fix sample install dirYiyang Wu2022-09-122-0/+14
| | | | | | | | Using patch instead of sed command. In hip develop branch, the syntax has changed, so use patch can avoid silent failures in the future. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Fix cmake module and install locationYiyang Wu2022-09-122-3/+3
| | | | | | | | | | ${HIP_COMMON_DIR}/cmake, containing FindHIP.cmake, should be installed into /usr/share/cmake/Modules. ${S}/CMakeLists.txt (both 5.{0,1})and ${S}/packaging/CMakeLists.txt (only 5.1) is installing it into /usr/lib/cmake. Cancel installation in packaging/CMakeLists.txt, correct CMakeLists.txt. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: add 5.1.3Yiyang Wu2022-08-067-0/+286
| | | | | | | | | | | | | | Switch from llvm-roc to vanilla clang -- New variables about clang path in hipvars.pm hip-5.1.3-clang-include-path.patch to fix hipcc finding clang hip-5.1.3-rocm-path.patch: add compile flag to support unpatched clang Using sed cmd to fix clang header location in cmake Closes: https://bugs.gentoo.org/851702 Reference: https://github.com/ROCm-Developer-Tools/hipamd/issues/18 Reference: https://github.com/ROCm-Developer-Tools/hipamd/issues/27 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: add missing BDEPEND for USE=profileYiyang Wu2022-07-092-1/+34
| | | | | | | | | | Also fix ld warnings by patch out unecessary ldflag added by hipcc.pl Closes: https://github.com/gentoo/gentoo/pull/26090 Closes: https://bugs.gentoo.org/843263 Reference: https://github.com/justxi/rocm/issues/8#issuecomment-1166193820 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: fix build failure when git not installedYiyang Wu2022-06-222-0/+21
| | | | | | Closes: https://bugs.gentoo.org/853718 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Fix -isystem pollution after d5835abbYiyang Wu2022-06-221-0/+1
| | | | | | | | | | | | After d5835abbe66be09b9851fcc79a158d1a083ad8fc which corrects the HIP_PATH, HIP_INCLUDE_PATH now points to /usr/include and hipcc.pl added -isystem $HIP_INCLUDE_PATH which caused complilation failure. Fix it by removing lines in hipcc.pl Bug: https://bugs.gentoo.org/853184 Reference: https://github.com/justxi/rocm/issues/8#issuecomment-1159800433 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip-5.0.2: fix HIP_PATH in hipvars.pmYiyang Wu2022-06-132-1/+21
| | | | | | | | | Reference: https://github.com/gentoo/gentoo/pull/25536#issuecomment-1153136503 Reference: https://github.com/justxi/rocm/issues/8#issuecomment-1152988796 Closes: https://github.com/gentoo/gentoo/pull/25861 Suggested-by: Paul Preney <paul@preney.ca> Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: move opengl header dependence to DEPEND.Benda Xu2022-03-271-1/+1
| | | | | | | Bug: https://github.com/gentoo/gentoo/pull/24755 Credit: Sam James Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: add missing BDEPEND providing GL/glx.hYiyangWu2022-03-271-0/+1
| | | | | | | | | | | | Previously this is the (build-time) dependency of rocclr, which has DEPEND="virtual/opengl" to make sure GL/glx.h is present. Now hip-5 bundles rocclr and this BDEPEND shuold be added. Closes: https://github.com/gentoo/gentoo/pull/24755 Closes: https://bugs.gentoo.org/836136 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: fix missing rocm-comgr dependencyYiyangWu2022-03-251-0/+1
| | | | | | | Closes: https://github.com/gentoo/gentoo/pull/24746 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: bump version to 5.0.2YiyangWu2022-03-224-0/+168
| | | | | | | | | | | | | | | 1. According to INSTALL.md, bundle rocclr at build time (like rocm-opencl-runtime which drop rocclr dependency). 2. Bundle roctracer headers which resolve circular dep with roctracer 3. Upstream moves to hipamd.git, while the perl scripts is in original HIP.git, with .pl suffix. Future hipcc will be a binary. 4. Move prefix from /usr/lib/hip to /usr 5. Avoid build error when USE=profile (Not sure if it's the right way) 6. Delete unused /usr/lib/.hipInfo and /usr/bin/.hipVersion Closes: https://github.com/gentoo/gentoo/pull/24681 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: fix compile, add missing depAndrew Ammerlaan2022-03-051-0/+112
| | | | | | | | Co-authored-by: Dennis Schridde <devurandom@gmx.net> Co-authored-by: Paul Preney <paul@preney.ca> Closes: https://bugs.gentoo.org/790164 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* dev-util/hip: depend on dev-perl/URI-Encode.Benda Xu2022-01-241-0/+108
| | | | | | | It is used by hip utils such as roc-obj-ls. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* **/metadata.xml: Replace http by https in DOCTYPE elementUlrich Müller2021-09-111-1/+1
| | | | | Bug: https://bugs.gentoo.org/552720 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* dev-util/hip: bump to version 4.3.0YiyangWu2021-08-263-0/+120
| | | | | | | | | | | Add a missing header file amdocl/cl_vk_amd.hpp from rocm-opencl-runtime, to resolve compilation error. Reference: https://github.com/ROCm-Developer-Tools/HIP/issues/2317 Bug: https://github.com/gentoo/gentoo/pull/22035 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: bump version to 4.2.0YiyangWu2021-08-136-3/+148
| | | | | | | | | | | | | | | | Update hip-3.5.1-config-cmake-in.patch to 4.2.0 lpl_ca removed, so hip-3.9.0-lpl_ca-add-include.patch not used fill version into hipvars.pm at src_prepare fix sandbox violation issue remove linker flag -rpath in hipcc correct profiling api header location and profile use flag settings Closes: https://bugs.gentoo.org/799257 Closes: https://github.com/gentoo/gentoo/pull/21655 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: use SLOT in DEPEND and soname.Benda Xu2021-08-031-5/+5
| | | | | | | | | | | The ROCm ecosystem is made of tightly bundled packages with the same versions. Use sub-SLOT to express this requirement for better handling of rebuilds. Prefixify hipvars.pm. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: remove environment variable dependencies.Benda Xu2021-08-032-0/+122
| | | | | | | | | | | | | | | | | | | ROCm upstream allows for overriding HIP_PATH, ROCM_PATH, CUDA_PATH, HSA_PATH, HIP_CLANG_PATH, HIP_ROCCLR_HOME, HIP_PLATFORM, HIP_COMPILER, HIP_RUNTIME for flexibility, at the cost of having to set a handful environmental variables each time before invoking hipcc. If any of the environmental variables is not set correctly, hipvars.pm or hipcc may take wrong guesses and refuses to work. For Gentoo, all the of variables are predictable and determined at build time. It is more straightforward and transparent to hardcode them in the perl script. Bug: https://github.com/ROCm-Developer-Tools/HIP/issues/2224 Bug: https://github.com/ROCm-Developer-Tools/HIP/issues/2256 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: cleanup unnecessary patches and sed commands.YiyangWu2021-08-031-7/+2
| | | | | | | | | | | | | | hip uses HIP_PLATFORM=amd and HIP_RUNTIME=amd, therefore some sed commands are not necessary anymore. Every patch is checked. Removing hip-3.5.1-hip_vector_types.patch seems to have no impact on compile and running hipcc. Closes: https://github.com/gentoo/gentoo/pull/21863 Bug: https://github.com/justxi/rocm/issues/192 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Version bump to 4.1.0Wilfried Holzke2021-04-113-0/+152
| | | | | | | Signed-off-by: Wilfried Holzke <gentoo@holzke.net> Package-Manager: Portage-3.0.17, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/20228 Signed-off-by: Craig Andrews <candrews@gentoo.org>
* */*: Add proxied="yes" for non-@gentoo.org peopleMichał Górny2021-03-161-1/+1
| | | | | | | | | | | | Done via: find -name metadata.xml -exec xml ed -P -L \ -a '/pkgmetadata/maintainer[substring(email, string-length(email) - string-length("@gentoo.org") + 1) != "@gentoo.org"]' \ -t attr -n proxied -v yes {} + Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-util/hip: replace hcc with rocclr.Benda Xu2021-01-201-0/+116
| | | | | | | | | | | | | | | hcc is deprecated and rocclr is the mainstream. Replace remaining hcc in run_hipcc.cmake and hipcc. This also enables --genco support, which will be essential in building e.g. Tensile. Fix trailing - in HIP_LIB_VERSION_STRING by imposing Gentoo version. Let cmake use the correct HIP_CLANG_INCLUDE_PATH for llvm-roc. Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://bugs.gentoo.org/733794 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: C++ Heterogeneous-Compute Interface for Portability.Benda Xu2020-12-279-0/+296
This ebuild is adopted from that of https://github.com/justxi/rocm. 1. change hip location from /usr/lib/hip/<ver> to /usr/lib/hip. We do not have plans to support multiple hip versions at once. 2. turn the hipify function off as it does not work. We will re-enable it as a USE flag when possible. 3. properly prefixify the source code making use of hprefixify(). 4. migrate from cmake-utils to cmake eclass. Closes: https://github.com/gentoo/gentoo/pull/18787 Suggested-by: Wilfried Holzke <gentoo@holzke.net> Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org>