Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ROCM Packages
@ 2020-11-15 21:07 0x0f0f0f
  2020-11-16 21:24 ` [Package Request] " 0x0f0f0f
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: 0x0f0f0f @ 2020-11-15 21:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

New issue by 0x0f0f0f on void-packages repository

https://github.com/void-linux/void-packages/issues/26415

Description:
https://rocmdocs.amd.com/en/latest/Installation_Guide/List-of-ROCm-Packages-for-Ubuntu-Fedora.html
https://github.com/RadeonOpenCompute/ROCm

Trying to build julia support for AMD GPUs on ROCm :) 
 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
@ 2020-11-16 21:24 ` 0x0f0f0f
  2022-11-02 12:25 ` TeddyDD
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: 0x0f0f0f @ 2020-11-16 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by 0x0f0f0f on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-728337797

Comment:
It seems like building AMD's LLVM fork is necessary to build the ROCM Runtime.

https://github.com/JuliaGPU/AMDGPU.jl/issues/6


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
  2020-11-16 21:24 ` [Package Request] " 0x0f0f0f
@ 2022-11-02 12:25 ` TeddyDD
  2023-02-26 20:29 ` Nicop06
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: TeddyDD @ 2022-11-02 12:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 230 bytes --]

New comment by TeddyDD on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1300286621

Comment:
Related: #19507 #21153

I'd love to have this packaged, but it looks complex af 😢

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
  2020-11-16 21:24 ` [Package Request] " 0x0f0f0f
  2022-11-02 12:25 ` TeddyDD
@ 2023-02-26 20:29 ` Nicop06
  2023-02-27  9:24 ` TeddyDD
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Nicop06 @ 2023-02-26 20:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

New comment by Nicop06 on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1445459527

Comment:
I found this repository to build ROCm:  https://github.com/xuhuisheng/rocm-build. I forked it here and made some changes to make it work on Void: https://github.com/Nicop06/rocm-build. The only thing missing is figuring out the dependencies, which I manually installed.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (2 preceding siblings ...)
  2023-02-26 20:29 ` Nicop06
@ 2023-02-27  9:24 ` TeddyDD
  2023-02-27  9:24 ` TeddyDD
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: TeddyDD @ 2023-02-27  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

New comment by TeddyDD on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1445980395

Comment:
[here](https://github.com/TeddyDD/void-packages-1/tree/amd-rocm) is my failed attempt at packaging this AMD garbage. Just as an reference.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (3 preceding siblings ...)
  2023-02-27  9:24 ` TeddyDD
@ 2023-02-27  9:24 ` TeddyDD
  2023-06-02 12:15 ` rederick29
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: TeddyDD @ 2023-02-27  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

New comment by TeddyDD on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1445980395

Comment:
[here](https://github.com/TeddyDD/void-packages-1/tree/amd-rocm) is my failed attempt at packaging this AMD garbage. Just as an reference. Based on Arch work.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (4 preceding siblings ...)
  2023-02-27  9:24 ` TeddyDD
@ 2023-06-02 12:15 ` rederick29
  2023-06-02 12:37 ` rederick29
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rederick29 @ 2023-06-02 12:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

New comment by rederick29 on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1573641513

Comment:
If anyone is still interested in this, I also tried to package ROCm/HIP for void [here](https://github.com/rederick29/void-packages/tree/rocm). I only tested/built it for x86_64 gnu libc. I've also included package options for each GPU architecture which you should set using XBPS_PKG_OPTIONS in the etc/conf file if you don't want to build for all of them.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (5 preceding siblings ...)
  2023-06-02 12:15 ` rederick29
@ 2023-06-02 12:37 ` rederick29
  2023-08-27 19:53 ` Jipok
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rederick29 @ 2023-06-02 12:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

New comment by rederick29 on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1573641513

Comment:
If anyone is still interested in this, I also tried to package ROCm/HIP for void [here](https://github.com/rederick29/void-packages/tree/rocm). I only tested/built it for x86_64 gnu libc. I've also included package options for each GPU architecture which you should set using XBPS_PKG_OPTIONS in the etc/conf file if you don't want to build for all of them. There is also a `HIP-sdk` meta package which installs everything.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (6 preceding siblings ...)
  2023-06-02 12:37 ` rederick29
@ 2023-08-27 19:53 ` Jipok
  2023-08-31 14:12 ` Jipok
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-08-27 19:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1694747409

Comment:
bump

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (7 preceding siblings ...)
  2023-08-27 19:53 ` Jipok
@ 2023-08-31 14:12 ` Jipok
  2023-08-31 14:21 ` rederick29
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-08-31 14:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1701132097

Comment:
@rederick29 any plans to support rocblas?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (8 preceding siblings ...)
  2023-08-31 14:12 ` Jipok
@ 2023-08-31 14:21 ` rederick29
  2023-08-31 14:24 ` rederick29
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rederick29 @ 2023-08-31 14:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

New comment by rederick29 on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1701149127

Comment:
> @rederick29 any plans to support rocblas?

I already have a rocBLAS package in my repo. I've tested it and it works just fine for me. If you have any issues with it please open an issue on my fork.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (9 preceding siblings ...)
  2023-08-31 14:21 ` rederick29
@ 2023-08-31 14:24 ` rederick29
  2023-08-31 15:19 ` Jipok
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rederick29 @ 2023-08-31 14:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

New comment by rederick29 on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1701149127

Comment:
> @rederick29 any plans to support rocblas?

I already have a rocBLAS package in my repo. I've tested it and it works just fine for me. If you have any issues with it or have any questions please open an issue on my fork.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (10 preceding siblings ...)
  2023-08-31 14:24 ` rederick29
@ 2023-08-31 15:19 ` Jipok
  2023-09-01 16:09 ` Jipok
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-08-31 15:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1694747409

Comment:
bump

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (11 preceding siblings ...)
  2023-08-31 15:19 ` Jipok
@ 2023-09-01 16:09 ` Jipok
  2023-09-01 18:06 ` Jipok
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-09-01 16:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git rebase upstream/master
git fetch upstream/master
./xbps-src binary-bootstrap
./xbps-src pkg HIP-sdk
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (12 preceding siblings ...)
  2023-09-01 16:09 ` Jipok
@ 2023-09-01 18:06 ` Jipok
  2023-09-10 22:20 ` Jipok
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-09-01 18:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```
sudo xbps-install -Su
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git rebase upstream/master
git fetch upstream/master
./xbps-src binary-bootstrap

# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

./xbps-src pkg HIP-sdk
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (13 preceding siblings ...)
  2023-09-01 18:06 ` Jipok
@ 2023-09-10 22:20 ` Jipok
  2023-09-10 22:25 ` Jipok
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-09-10 22:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```
sudo xbps-install -Su
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git fetch --depth 1 upstream master
git rebase upstream/master
./xbps-src binary-bootstrap

# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

./xbps-src pkg HIP-sdk
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (14 preceding siblings ...)
  2023-09-10 22:20 ` Jipok
@ 2023-09-10 22:25 ` Jipok
  2023-09-12 17:00 ` Jipok
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-09-10 22:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```
sudo xbps-install -Su
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git fetch upstream master
git rebase upstream/master
./xbps-src binary-bootstrap

# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

./xbps-src pkg HIP-sdk
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (15 preceding siblings ...)
  2023-09-10 22:25 ` Jipok
@ 2023-09-12 17:00 ` Jipok
  2023-09-15  3:54 ` itsdeadguy
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-09-12 17:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```bash
sudo xbps-install -Su
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git fetch upstream master
git rebase upstream/master
./xbps-src binary-bootstrap

# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

./xbps-src pkg HIP-sdk
```

**UPD:** Faster way:

```bash
git clone https://github.com/rederick29/void-packages rocm --depth 1 -b rocm
git clone --depth 1 https://github.com/void-linux/void-packages
cp -r rocm/srcpkgs/{FunctionalPlus,HIP-sdk,HIPIFY,MIOpen,MIOpenGEMM,ROCR-Runtime,ROCT-Thunk-Interface,ROCclr,ROCdbgapi,ROCgdb,ROCm-CompilerSupport,ROCm-Device-Libs,ROCm-OpenCL-Runtime,ROCm-composable_kernel,ROCm-core,frugally-deep,half,hipBLAS,hipCUB,hipFFT,hipSOLVER,hipSPARSE,hipamd,hsa-amd-aqlprofile-bin,magma,python3-CppHeaderParser,python3-barectf,rccl,rocALUTION,rocBLAS,rocFFT,rocMLIR,rocPRIM,rocRAND,rocSOLVER,rocSPARSE,rocThrust,rocm-cmake,rocm-flang-pgmath,rocm-flang,rocm-llvm-openmp,rocm-llvm,rocm_smi_lib,rocminfo/,rocprofiler,rocprofiler-v2,roctracer} ./void-packages/srcpkgs/

# Go to https://github.com/void-linux/void-packages/compare/master...rederick29:void-packages:rocm
# Copy additions from common/shlibs and paste at end of ./void-packages/common/shlibs

cd void-packages
./xbps-src binary-bootstrap
./xbps-src pkg rocminfo
sudo xi rocminfo
# Get GPU architecture name:
/opt/rocm/bin/rocminfo
# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for:
"XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

# Build what you want. For all packages:
./xbps-src pkg HIP-sdk
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (16 preceding siblings ...)
  2023-09-12 17:00 ` Jipok
@ 2023-09-15  3:54 ` itsdeadguy
  2023-09-15  3:57 ` classabbyamp
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: itsdeadguy @ 2023-09-15  3:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by itsdeadguy on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1720467085

Comment:
I tried building this and it was going great until my cpu died... guess it was too much. I really hope we can get this, I really don't want to dual boot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (17 preceding siblings ...)
  2023-09-15  3:54 ` itsdeadguy
@ 2023-09-15  3:57 ` classabbyamp
  2023-09-16 15:32 ` Jipok
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2023-09-15  3:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1720474525

Comment:
depending on what you're doing you could use [docker](https://docs.amd.com/en/latest/deploy/docker.html)

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (18 preceding siblings ...)
  2023-09-15  3:57 ` classabbyamp
@ 2023-09-16 15:32 ` Jipok
  2024-04-03 10:59 ` Jipok
  2024-04-03 11:03 ` Jipok
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2023-09-16 15:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1722254434

Comment:
@itsdeadguy I think I can provide you with binary packages for gfx906

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (19 preceding siblings ...)
  2023-09-16 15:32 ` Jipok
@ 2024-04-03 10:59 ` Jipok
  2024-04-03 11:03 ` Jipok
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2024-04-03 10:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3860 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```bash
sudo xbps-install -Su
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git fetch upstream master
git rebase upstream/master
./xbps-src binary-bootstrap

# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

./xbps-src pkg HIP-sdk
```

**UPD:** Faster way:

```bash
git clone https://github.com/rederick29/void-packages rocm --depth 1 -b rocm
git clone --depth 1 https://github.com/void-linux/void-packages
cp -r rocm/srcpkgs/{FunctionalPlus,HIP-sdk,HIPIFY,MIOpen,MIOpenGEMM,ROCR-Runtime,ROCT-Thunk-Interface,ROCclr,ROCdbgapi,ROCgdb,ROCm-CompilerSupport,ROCm-Device-Libs,ROCm-OpenCL-Runtime,ROCm-composable_kernel,ROCm-core,frugally-deep,half,hipBLAS,hipCUB,hipFFT,hipSOLVER,hipSPARSE,hipamd,hsa-amd-aqlprofile-bin,magma,python3-CppHeaderParser,python3-barectf,rccl,rocALUTION,rocBLAS,rocFFT,rocMLIR,rocPRIM,rocRAND,rocSOLVER,rocSPARSE,rocThrust,rocm-cmake,rocm-flang-pgmath,rocm-flang,rocm-llvm-openmp,rocm-llvm,rocm_smi_lib,rocminfo/,rocprofiler,rocprofiler-v2,roctracer} ./void-packages/srcpkgs/

# Go to https://github.com/void-linux/void-packages/compare/master...rederick29:void-packages:rocm
# Copy additions from common/shlibs and paste at end of ./void-packages/common/shlibs

cd void-packages
./xbps-src binary-bootstrap
./xbps-src pkg rocminfo
sudo xi rocminfo
# Get GPU architecture name:
/opt/rocm/bin/rocminfo
# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for:
"XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

# Build what you want. For all packages:
./xbps-src pkg HIP-sdk
```

**UPD:** ROCm 6.0:

```bash
git clone https://github.com/rederick29/void-packages rocm --depth 1 -b rocm6
git clone --depth 1 https://github.com/void-linux/void-packages
cp -r rocm/srcpkgs/{FunctionalPlus,HIP-sdk,HIPIFY,hipRAND,MIOpen,MIOpenGEMM,ROCR-Runtime,ROCT-Thunk-Interface,ROCclr,ROCdbgapi,ROCgdb,ROCm-CompilerSupport,ROCm-Device-Libs,ROCm-OpenCL-Runtime,ROCm-composable_kernel,ROCm-core,frugally-deep,rocm-half,hipBLAS,hipCUB,hipFFT,hipSOLVER,hipSPARSE,hipamd,hsa-amd-aqlprofile-bin,magma,python3-CppHeaderParser,python3-barectf,rccl,rocALUTION,rocBLAS,rocFFT,rocMLIR,rocPRIM,rocRAND,rocSOLVER,rocSPARSE,rocThrust,rocm-cmake,rocm-flang-pgmath,rocm-flang,rocm-llvm-openmp,rocm-llvm,rocm_smi_lib,rocminfo/,rocprofiler,roctracer} ./void-packages/srcpkgs/

# Go to https://github.com/void-linux/void-packages/compare/master...rederick29:void-packages:rocm
# Copy additions from common/shlibs and paste at end of ./void-packages/common/shlibs

cd void-packages
./xbps-src binary-bootstrap
./xbps-src pkg rocminfo
sudo xi rocminfo
# Get GPU architecture name:
/opt/rocm/bin/rocminfo
# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for:
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx940,~gfx941,~gfx942,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

# Build what you want. For most packages:
./xbps-src pkg HIP-sdk
sudo xi HIP-sdk
# The packages "hipBLASLt" and "rccl" are not built and installed by this package. They are not commonly used as part of HIP, so if you need them install separately
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Package Request] ROCM Packages
  2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
                   ` (20 preceding siblings ...)
  2024-04-03 10:59 ` Jipok
@ 2024-04-03 11:03 ` Jipok
  21 siblings, 0 replies; 23+ messages in thread
From: Jipok @ 2024-04-03 11:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3861 bytes --]

New comment by Jipok on void-packages repository

https://github.com/void-linux/void-packages/issues/26415#issuecomment-1702991439

Comment:
Well, for those who, like me, want to build, I will leave a hint just in case. I warn you that this will take a lot of time (a day) and require a lot of vram+swap(up to 60GB)
```bash
sudo xbps-install -Su
git clone https://github.com/rederick29/void-packages rocm
cd rocm
git checkout rocm
git remote add upstream https://github.com/void-linux/void-packages
git fetch upstream master
git rebase upstream/master
./xbps-src binary-bootstrap

# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

./xbps-src pkg HIP-sdk
```

**UPD:** Faster way:

```bash
git clone https://github.com/rederick29/void-packages rocm --depth 1 -b rocm
git clone --depth 1 https://github.com/void-linux/void-packages
cp -r rocm/srcpkgs/{FunctionalPlus,HIP-sdk,HIPIFY,MIOpen,MIOpenGEMM,ROCR-Runtime,ROCT-Thunk-Interface,ROCclr,ROCdbgapi,ROCgdb,ROCm-CompilerSupport,ROCm-Device-Libs,ROCm-OpenCL-Runtime,ROCm-composable_kernel,ROCm-core,frugally-deep,half,hipBLAS,hipCUB,hipFFT,hipSOLVER,hipSPARSE,hipamd,hsa-amd-aqlprofile-bin,magma,python3-CppHeaderParser,python3-barectf,rccl,rocALUTION,rocBLAS,rocFFT,rocMLIR,rocPRIM,rocRAND,rocSOLVER,rocSPARSE,rocThrust,rocm-cmake,rocm-flang-pgmath,rocm-flang,rocm-llvm-openmp,rocm-llvm,rocm_smi_lib,rocminfo/,rocprofiler,rocprofiler-v2,roctracer} ./void-packages/srcpkgs/

# Go to https://github.com/void-linux/void-packages/compare/master...rederick29:void-packages:rocm
# Copy additions from common/shlibs and paste at end of ./void-packages/common/shlibs

cd void-packages
./xbps-src binary-bootstrap
./xbps-src pkg rocminfo
sudo xi rocminfo
# Get GPU architecture name:
/opt/rocm/bin/rocminfo
# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for:
"XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

# Build what you want. For all packages:
./xbps-src pkg HIP-sdk
```

**UPD2:** ROCm 6.0:

```bash
git clone https://github.com/rederick29/void-packages rocm --depth 1 -b rocm6
git clone --depth 1 https://github.com/void-linux/void-packages
cp -r rocm/srcpkgs/{FunctionalPlus,HIP-sdk,HIPIFY,hipRAND,MIOpen,MIOpenGEMM,ROCR-Runtime,ROCT-Thunk-Interface,ROCclr,ROCdbgapi,ROCgdb,ROCm-CompilerSupport,ROCm-Device-Libs,ROCm-OpenCL-Runtime,ROCm-composable_kernel,ROCm-core,frugally-deep,rocm-half,hipBLAS,hipCUB,hipFFT,hipSOLVER,hipSPARSE,hipamd,hsa-amd-aqlprofile-bin,magma,python3-CppHeaderParser,python3-barectf,rccl,rocALUTION,rocBLAS,rocFFT,rocMLIR,rocPRIM,rocRAND,rocSOLVER,rocSPARSE,rocThrust,rocm-cmake,rocm-flang-pgmath,rocm-flang,rocm-llvm-openmp,rocm-llvm,rocm_smi_lib,rocminfo/,rocprofiler,roctracer} ./void-packages/srcpkgs/

# Go to https://github.com/void-linux/void-packages/compare/master...rederick29:void-packages:rocm
# Copy additions from common/shlibs and paste at end of ./void-packages/common/shlibs

cd void-packages
./xbps-src binary-bootstrap
./xbps-src pkg rocminfo
sudo xi rocminfo
# Get GPU architecture name:
/opt/rocm/bin/rocminfo
# REMOVE the '~' (tilde) from the GPU architecture(s) you wish to build for:
echo "XBPS_PKG_OPTIONS=~gfx803,~gfx900,~gfx906,~gfx908,~gfx90a,~gfx940,~gfx941,~gfx942,~gfx1010,~gfx1011,~gfx1012,~gfx1030,~gfx1031,~gfx1100,~gfx1101,~gfx1102" >> etc/conf

# Build what you want. For most packages:
./xbps-src pkg HIP-sdk
sudo xi HIP-sdk
# The packages "hipBLASLt" and "rccl" are not built and installed by this package. They are not commonly used as part of HIP, so if you need them install separately
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-04-03 11:03 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15 21:07 [ISSUE] ROCM Packages 0x0f0f0f
2020-11-16 21:24 ` [Package Request] " 0x0f0f0f
2022-11-02 12:25 ` TeddyDD
2023-02-26 20:29 ` Nicop06
2023-02-27  9:24 ` TeddyDD
2023-02-27  9:24 ` TeddyDD
2023-06-02 12:15 ` rederick29
2023-06-02 12:37 ` rederick29
2023-08-27 19:53 ` Jipok
2023-08-31 14:12 ` Jipok
2023-08-31 14:21 ` rederick29
2023-08-31 14:24 ` rederick29
2023-08-31 15:19 ` Jipok
2023-09-01 16:09 ` Jipok
2023-09-01 18:06 ` Jipok
2023-09-10 22:20 ` Jipok
2023-09-10 22:25 ` Jipok
2023-09-12 17:00 ` Jipok
2023-09-15  3:54 ` itsdeadguy
2023-09-15  3:57 ` classabbyamp
2023-09-16 15:32 ` Jipok
2024-04-03 10:59 ` Jipok
2024-04-03 11:03 ` Jipok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).