Versions
v6.1.2 :: 0/6.1 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc hip opencl test
v6.1.1 :: 0/6.1 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc hip opencl test
v5.7.1-r2 :: 0/5.7 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc test
v5.5.1 :: 0/5.5 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc
v5.4.3 :: 0/5.4 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc
v5.3.3-r3 :: 0/5.3 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc
v5.1.3-r4 :: 0/5.1 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64
- USE flags
- debug doc profile
USE flags
General
- debug
- Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- hip
- Build HIP runtime
- opencl
- Build OpenCL runtime
- profile
- Add support for software performance analysis (will likely vary from ebuild to ebuild)
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
llvm_slot
- 18
- Use LLVM 18.
video_cards
- amdgpu
- Build for AMD platform
- nvidia
- Build for Nvidia platform
Dependencies
dev-libs / hipother : ROCclr runtime implementation for non-AMD HIP platforms, like NVIDIA
dev-libs / rocm-comgr : Radeon Open Compute Code Object Manager
dev-libs / rocr-runtime : Radeon Open Compute Runtime
dev-util / rocminfo : ROCm Application for Reporting System Info
sys-devel / clang : C language family frontend for LLVM
virtual / opengl : Virtual for OpenGL implementation
x11-base / xorg-proto : X.Org combined protocol headers
Runtime Dependencies
dev-libs / hipother : ROCclr runtime implementation for non-AMD HIP platforms, like NVIDIA
dev-libs / opencl-icd-loader : Official Khronos OpenCL ICD Loader
dev-libs / rocm-comgr : Radeon Open Compute Code Object Manager
dev-libs / rocm-device-libs : Radeon Open Compute Device Libraries
dev-libs / rocm-opencl-runtime : Radeon Open Compute OpenCL Compatible Runtime
dev-libs / rocr-runtime : Radeon Open Compute Runtime
dev-libs / roct-thunk-interface : Radeon Open Compute Thunk Interface
dev-perl / URI-Encode : Simple percent Encoding/Decoding
dev-util / clinfo : A tool to display info about the system's OpenCL capabilities
dev-util / hipcc : Radeon Open Compute hipcc
dev-util / opencl-headers : Unified C language headers for the OpenCL API
dev-util / rocminfo : ROCm Application for Reporting System Info
sys-devel / clang : C language family frontend for LLVM
sys-devel / clang-runtime : Meta-ebuild for clang runtime libraries
virtual / opengl : Virtual for OpenGL implementation
x11-base / xorg-proto : X.Org combined protocol headers
Depending packages
dev-cpp / eigen : C++ template library for linear algebra
dev-libs / rccl : ROCm Communication Collectives Library (RCCL)
dev-util / Tensile : Stretching GPU performance for GEMMs and tensor contractions
dev-util / roctracer : Callback/Activity Library for Performance tracing AMD GPU's
media-gfx / blender : 3D Creation/Animation/Publishing System
media-libs / oidn : Intel® Open Image Denoise library
sci-libs / caffe2 : A deep learning framework
sci-libs / composable-kernel : High Performance Composable Kernel for AMD GPUs
sci-libs / hipBLAS : ROCm BLAS marshalling library
sci-libs / hipBLASLt : General matrix-matrix operations library for AMD Instinct accelerators
sci-libs / hipCUB : Wrapper of rocPRIM or CUB for GPU parallel primitives
sci-libs / hipFFT : CU / ROCM agnostic hip FFT implementation
sci-libs / hipRAND : CU / ROCM agnostic hip RAND implementation
sci-libs / hipSOLVER : CU / ROCM agnostic marshalling library for LAPACK routines on the GPU
sci-libs / hipSPARSE : ROCm SPARSE marshalling library
sci-libs / miopen : AMD's Machine Intelligence Library
sci-libs / rocBLAS : AMD's library for BLAS on ROCm
sci-libs / rocFFT : Next generation FFT implementation for ROCm
sci-libs / rocPRIM : HIP parallel primitives for developing performant GPU-accelerated code on ROCm
sci-libs / rocRAND : Generate pseudo-random and quasi-random numbers
sci-libs / rocSOLVER : Implementation of a subset of LAPACK functionality on the ROCm platform
sci-libs / rocSPARSE : Basic Linear Algebra Subroutines for sparse computation
sci-libs / rocThrust : HIP back-end for the parallel algorithm library Thrust
sci-libs / rocWMMA : library for accelerating mixed precision matrix multiply-accumulate operations
sci-libs / rpp : AMD ROCm Performance Primitives (RPP) high-performance computer vision library
sci-physics / lammps : Large-scale Atomic/Molecular Massively Parallel Simulator
Bugs
- 836272
- dev-util/hip-5.5.1 installs files that contain writable and executable sections
- 897778
- dev-util/hip-5.1.3-r4 fails to compile (HARDENED-SYSTEM): comgrctx.hpp:26:10: fatal error: amd_comgr.h: No such file or directory
- 916065
- dev-libs/rocm-comgr fails to compile when dev-util/hip is installed and USE=test
- 920553
- dev-util/hip-5.7.1-r1: programs hang/zombify instead of exiting
- 928875
- dev-util/hip-5.7.1-r2 - /.../os.hpp: error: _cpu_mask was not declared in this scope
- 930683
- dev-util/hip-5.7.1-r2 - Unknown CMake command hip_add_exe_to_target.
- 932155
- dev-util/hip: FindHIP breaks rocFFT build on Prefix
- 934966
- dev-util/hip-6.1.2 does not respect CFLAGS
- 934967
- dev-util/hip-6.1.2 adds -Werror flag on its own
- 935562
- dev-util/hip-6.1.1 - [perl-5.40] [ncurses-6.5] [icu-75.1] -- Configuring incomplete, errors occurred!
- 936865
- dev-util/hip-6.1.2 fails to compile: clang: error: invalid target ID gfx000; format is a processor name followed by an optional colon-delimited list of features followed by an disable sign (e.g., gfx908:sramecc+:xnack-)
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Paul Zander · gentoo
dev-util/hip: 6.1.1, 6.1.2 fix collisions
add "dev-util/hip opencl" to package.use.mask to avoid "accidents" from users Closes: https://bugs.gentoo.org/934963 Closes: https://bugs.gentoo.org/936317 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38118 Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 6.1.2
Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Paul Zander · gentoo
dev-util/hip: 6.1.1 add cuda support
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> - Paul Zander · gentoo
dev-util/hip: 6.1.1 cleanup
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Paul Zander · gentoo
dev-util/hip: 6.1.1 reuse patch
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> - Paul Zander · gentoo
dev-util/hip: rename patches
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Sv. Lockal · gentoo
dev-util/hip: fix compilation with musl
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> - Sv. Lockal · gentoo
dev-util/hip: lock dev-util/hipcc to compatible versions
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> - Sv. Lockal · gentoo
dev-util/hip: fix manifest and add extend-isa-compatibility-check patch for 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> - Sv. Lockal · gentoo
dev-util/hip: use llvm-r1 and add rocm_version.h file
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: add 6.1.1
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> - Sv. Lockal · gentoo
dev-util/hip: drop 6.0.2
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Eli Schwartz · gentoo
dev-util/hip: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/858383 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sv. Lockal · gentoo
dev-util/hip: workaround for ld.lld hipExtModuleLaunchKernel symbol not defined error
Bug: https://bugs.gentoo.org/923986 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Sv. Lockal · gentoo
dev-util/hip: add backported fix for OOM check
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> - Sv. Lockal · gentoo
dev-util/hip: add rocm_version.h header (required by some caffe2/fbgemm/rocprofiler)
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Sv. Lockal · gentoo
dev-util/hip: install FindHIP.cmake: it contains hip_add_executable and other functions, required in rocTracer, pytorch, etc.
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-util/hip: apply undefined-version if linker supports it
Signed-off-by: Sam James <sam@gentoo.org> - Sv. Lockal · gentoo
dev-util/hip: fix linker error for ld.lld: error: version script assignment 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> - Yiyang Wu · gentoo
dev-util/hip: fix tests and dependency on hipcc, bump to 6.0.2
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> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 6.0.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: Fix compilation of hipMathFunctions
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> - Benda Xu · gentoo
dev-util/hip: get rid of FindHIP and keep hip-config.
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> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: Force rebuild through revbump
Changes in last few commits are otherwise invisible Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: include test suit.
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> - Benda Xu · gentoo
dev-util/hip: depend on rocr-runtime.
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> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: Fix dependencies
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> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: prefixify cmake variables
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> - Sv. Lockal · gentoo
dev-util/hip: add extend-isa-compatibility-check patch
Bug: https://github.com/gentoo/gentoo/pull/33400 Signed-off-by: Benda Xu <heroxbd@gentoo.org> Signed-off-by: Sv. Lockal <lockalsash@gmail.com> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 5.7.1, drop 5.7.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Sv. Lockal · gentoo
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> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 5.7.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 5.5.1
Closes: https://bugs.gentoo.org/908501 Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: fix HIP_CLANG_PATH detection in FindHIP.cmake
Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/29973 - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 5.4.3
Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: backport patch to fix gcc-13 compile issue
Closes: https://bugs.gentoo.org/895396 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: Fix rocclr hsa.h include bug for 5.1.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> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: fix rocclr compile issue
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> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: add back patch to strip -rpath in hipcc
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> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: ignore QA FLAG check for libhiprtc-builtins
Closes: https://bugs.gentoo.org/836271 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: remove -Werror added by src/CMakeLists.txt
Closes: https://bugs.gentoo.org/887383 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: remove profile USE
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> - Yiyang Wu · gentoo
dev-util/hip: bump patch "remove-cmake-doxygen-commands"
Closes: https://bugs.gentoo.org/887375 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: Backport fixes for clang directories search
Closes: https://bugs.gentoo.org/891013 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Andreas Sturmlechner · gentoo
dev-util/hip: drop 5.0.2-r3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: remove unnecessary sed commands
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> - Yiyang Wu · gentoo
dev-util/hip: disable non-FHS install
Closes: https://bugs.gentoo.org/887379 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: Avoid double prefix problems
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> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: append -fno-stack-protector for hipcc
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> - Repository mirror & CI · gentoo
Merge updates from master - David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Patrick Lauer · gentoo
dev-util/hip: add 5.3.3
Signed-off-by: Patrick Lauer <patrick@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andreas Sturmlechner · gentoo
dev-util/hip: drop versions 3* and 4*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jack de Kleuver · gentoo
dev-util/hip: Set LLVM version to 15
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> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-util/hip: use python_has_version
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: Use python_has_version recommended by QA
Closes: https://github.com/gentoo/gentoo/pull/27066 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: Use docs.eclass to control doc install
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> - Yiyang Wu · gentoo
dev-util/hip: Fix sample install dir
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> - Yiyang Wu · gentoo
dev-util/hip: Fix cmake module and install location
${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> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: add missing BDEPEND for USE=profile
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> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip: fix build failure when git not installed
Closes: https://bugs.gentoo.org/853718 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> - Yiyang Wu · gentoo
dev-util/hip: Fix -isystem pollution after d5835abb
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> - Yiyang Wu · gentoo
dev-util/hip: add 5.1.3
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> - Repository mirror & CI · gentoo
Merge updates from master - Yiyang Wu · gentoo
dev-util/hip-5.0.2: fix HIP_PATH in hipvars.pm
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> - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: move opengl header dependence to DEPEND.
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> - YiyangWu · gentoo
dev-util/hip: add missing BDEPEND providing GL/glx.h
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> - Repository mirror & CI · gentoo
Merge updates from master - YiyangWu · gentoo
dev-util/hip: fix missing rocm-comgr dependency
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> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-util/hip: fix compile, add missing dep
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> - YiyangWu · gentoo
dev-util/hip: bump version to 5.0.2
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> - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: depend on dev-perl/URI-Encode.
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> - Repository mirror & CI · gentoo
Merge updates from master - YiyangWu · gentoo
dev-util/hip: bump to version 4.3.0
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> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: use SLOT in DEPEND and soname.
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> - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: remove environment variable dependencies.
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> - Repository mirror & CI · gentoo
Merge updates from master - YiyangWu · gentoo
dev-util/hip: cleanup unnecessary patches and sed commands.
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> - YiyangWu · gentoo
dev-util/hip: bump version to 4.2.0
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> - Repository mirror & CI · gentoo
Merge updates from master - Wilfried Holzke · gentoo
dev-util/hip: Version bump to 4.1.0
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> - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: replace hcc with rocclr.
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> - Repository mirror & CI · gentoo
Merge updates from master - Benda Xu · gentoo
dev-util/hip: C++ Heterogeneous-Compute Interface for Portability.
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>