summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-util/hip: remove unused patchesMichael Mair-Keimberger2024-06-303-294/+0
| | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* dev-util/hip: 6.1.1 add cuda supportPaul Zander2024-06-262-19/+73
| | | | | | | | | Add platform options via video_cards. Make HIP / OpenCL for CLR optional. Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35998 Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: 6.1.1 cleanupPaul Zander2024-06-261-20/+28
| | | | | Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: 6.1.1 reuse patchPaul Zander2024-06-262-1/+45
| | | | | | | | The extend-isa-compatibility-check patch already exists, so reuse it to safe some space in /files Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: rename patchesPaul Zander2024-06-269-13/+15
| | | | | Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: drop 6.0.2Sv. Lockal2024-06-262-186/+0
| | | | | Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: fix compilation with muslSv. Lockal2024-06-263-0/+185
| | | | | | | | | Upstream pull-requests: * https://github.com/ROCm/clr/pull/83 * https://github.com/ROCm/hip-tests/pull/463 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: lock dev-util/hipcc to compatible versionsSv. Lockal2024-06-263-6/+6
| | | | | | | | Attempt to use hip-6.1.1 with hipcc-5.7.1 results in clang-17-based hipcc linkage errors with LLVM 18 rocm-device-libs bytecode Also lock hip-5.7.1 to hipcc-5.7.1 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: use llvm-r1 and add rocm_version.h fileSv. Lockal2024-06-262-13/+36
| | | | | | Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: add 6.1.1Yiyang Wu2024-06-266-1/+432
| | | | | | | | Retains FindHIP.cmake since some package like roctracer and rocprofiler use it Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: Fix compilation of hipMathFunctionsYiyang Wu2024-06-263-4/+38
| | | | | | | | Clang-17 does not recognize -fallow-half-arguments-and-returns Upstream PR: https://github.com/ROCm/hip-tests/pull/443 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: fix manifest and add extend-isa-compatibility-check patch for ↵Sv. Lockal2024-06-263-12/+31
| | | | | | | | | | | | | 6.0.0 Other changes: * update patch for gfx1012, repeating https://salsa.debian.org/rocm-team/rocm-hipamd/-/commit/76b378eb687133267874c045396b8cb671bb50f1 * update llvm eclass to r1 * add myself as a maintainer Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: fix tests and dependency on hipcc, bump to 6.0.2Yiyang Wu2024-06-265-32/+102
| | | | | | | | | | | | | | | 1. Correct test SRC_URI 2. Update rocm_agent_enumerator-location.patch to hipcc-system-install.patch 3. dev-util/hipcc does not provide libraries to be linked in, so should not be in DEPEND, just RDEPEND; it is used as a compiler wrapper if building test binaries, thus should be in BDEPEND if test enabled. 4. Remove unused BUILD_HIPIFY_CLANG 5. Specify CMAKE_MODULE_PATH to prefer bundled catch (which includes commands designed for hip) Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: mark as LTO-unsafe, strict-aliasing unsafeEli Schwartz2024-03-122-0/+16
| | | | | | Closes: https://bugs.gentoo.org/858383 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: workaround for ld.lld hipExtModuleLaunchKernel symbol not ↵Sv. Lockal2024-03-081-1/+4
| | | | | | | | defined error Bug: https://bugs.gentoo.org/923986 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: add backported fix for OOM checkSv. Lockal2024-03-082-0/+42
| | | | | | | Fixes failure of oidnTest from media-libs/oidn with HIP from https://github.com/gentoo/gentoo/pull/34869 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: add rocm_version.h header (required by some ↵Sv. Lockal2024-03-081-0/+11
| | | | | | | caffe2/fbgemm/rocprofiler) Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: install FindHIP.cmake: it contains hip_add_executable and ↵Sv. Lockal2024-03-081-4/+5
| | | | | | | other functions, required in rocTracer, pytorch, etc. Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: apply undefined-version if linker supports itSam James2024-01-061-8/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: fix linker error for ld.lld: error: version script assignment ↵Sv. Lockal2024-01-061-1/+11
| | | | | | | | | | issue Closes: https://bugs.gentoo.org/921171 See also: https://github.com/gentoo/gentoo/pull/29097 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34595 Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: add 6.0.0Patrick Lauer2023-12-232-0/+154
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: add extend-isa-compatibility-check patchSv. Lockal2023-12-142-0/+237
| | | | | | Bug: https://github.com/gentoo/gentoo/pull/33400 Signed-off-by: Benda Xu <heroxbd@gentoo.org> Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
* dev-util/hip: get rid of FindHIP and keep hip-config.Benda Xu2023-12-141-0/+4
| | | | | | | | | | | | | According to the cmake documentation, do not write find modules for packages that themselves build with CMake. Instead provide a CMake package configuration file with the package itself. FindHIP is needed by HIP over CUDA, not what Gentoo is aiming for. Reference: https://github.com/ROCmSoftwarePlatform/hipFFT/pull/66 Reference: https://cmake.org/cmake/help/latest/command/find_package.html Bug: https://github.com/ROCm-Developer-Tools/hipamd/issues/39 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: include test suit.Benda Xu2023-12-143-9/+82
| | | | | | | | | | | | | | The dev-util/hip upstream has separated its test cases into a full git repository with an independent build system. To run the test cases, we have to call cmake twice in every src_* phase. I come up with a wrapper to hack CMAKE_USE_DIR and BUILD_DIR values. Ignore vulkan tests before someone could figure out how to properly run them. Reference: https://github.com/ROCm-Developer-Tools/HIP/issues/3292 Closes: https://github.com/gentoo/gentoo/pull/33906 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: depend on rocr-runtime.Benda Xu2023-12-141-0/+1
| | | | | | | | HIP uses hsa_amd_memory_copy_engine_status() function, only available in rocr-runtime newer than 5.6.0. Closes: https://bugs.gentoo.org/913208 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* dev-util/hip: Force rebuild through revbumpPatrick Lauer2023-11-191-0/+0
| | | | | | Changes in last few commits are otherwise invisible Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: fix crashes and QA issues.Sv. Lockal2023-11-195-3/+134
| | | | | | | | | | | | | | | | - 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>
* dev-util/hip: Fix dependenciesPatrick Lauer2023-10-301-0/+1
| | | | | | | | xorg-proto is usually installed as a transitive dependency. This fails when binpkgs are involved. Make the implicit dependency explicit. Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: prefixify cmake variablesYiyang Wu2023-10-271-1/+1
| | | | | | | Closes: https://bugs.gentoo.org/916062 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33437 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* dev-util/hip: add 5.7.1, drop 5.7.0Patrick Lauer2023-10-192-2/+2
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: add 5.7.0Patrick Lauer2023-10-093-0/+100
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: add 5.5.1Patrick Lauer2023-09-033-0/+174
| | | | | Closes: https://bugs.gentoo.org/908501 Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: fix HIP_CLANG_PATH detection in FindHIP.cmakeYiyang Wu2023-04-063-0/+28
| | | | | | | Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29973
* dev-util/hip: add 5.4.3Patrick Lauer2023-03-025-0/+275
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* dev-util/hip: Fix rocclr hsa.h include bug for 5.1.3Yiyang Wu2023-02-221-0/+3
| | | | | | | | | | Same as f98177a3fe2ea8cf1818daec64268f9377176902, apply the patch to fix for rocclr include bug Closes: https://bugs.gentoo.org/894040 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29657 Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip & dev-libs/rocr-runtime: add desc in gcc-13 patchesYiyang Wu2023-02-201-0/+2
| | | | | | | | Add the references to related bugs to backported patches that fix gcc-13 compile issues. Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/hip: backport patch to fix gcc-13 compile issueYiyang Wu2023-02-202-0/+26
| | | | | | Closes: https://bugs.gentoo.org/895396 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* 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>