pkg download command and patches

This commit is contained in:
2026-09-10 16:59:11 +03:00
parent c6dcbc1ca5
commit b099c3d88b
110 changed files with 1582 additions and 332 deletions

View File

@ -2,6 +2,10 @@ rocm/systems/clr 7.2.4
=
https://github.com/ROCm/rocm-systems/archive/refs/tags/rocm-7.2.4.tar.gz
``` env *** env ***
disable=true
```
``` sh *** build ***
pip3 install CppHeaderParser
mkdir -p build; cd build
@ -22,9 +26,8 @@ cmake --install .
``` sh *** config ***
mkdir -p /pkg/gnu/rocm/systems/clr/lib/llvm/bin
ln -sf /pkg/gnu/rocm/llvm/amd/hipcc/lib/llvm/bin/clang++ lib/llvm/bin/clang++
ln -sf /pkg/gnu/rocm/llvm/amd/hipcc/lib/llvm/bin/clang lib/llvm/bin/clang
ln -sf /pkg/gnu/rocm/systems/rocminfo/bin/rocm_agent_enumerator bin/rocm_agent_enumerator
ln -sf /pkg/gnu/rocm/llvm/amd/hipcc/lib/llvm/bin/clang++ /pkg/gnu/rocm/systems/clr/lib/llvm/bin/clang++
ln -sf /pkg/gnu/rocm/llvm/amd/hipcc/lib/llvm/bin/clang /pkg/gnu/rocm/systems/clr/lib/llvm/bin/clang
```
``` cfg *** build deps ***

View File

@ -13,7 +13,7 @@ cmake ../projects/rocr-runtime \
-DCMAKE_INSTALL_PREFIX="$pkgpath" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DTARGET_DEVICES=gfx1150 \
-DTARGET_DEVICES="gfx90a;gfx90c;gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx942;gfx950;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201" \
-DCMAKE_C_COMPILER=/pkg/gnu/rocm/llvm/bin/clang \
-DCMAKE_CXX_COMPILER=/pkg/gnu/rocm/llvm/bin/clang++ \
-DLLVM_TOOLS_BINARY_DIR=/pkg/gnu/rocm/llvm/bin \
@ -22,7 +22,3 @@ cmake ../projects/rocr-runtime \
cmake --build . -j$(nproc)
cmake --install .
```
-DTARGET_DEVICES=gfx1150 \
-DTARGET_DEVICES="gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx942;gfx950;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201" \