sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master z-rejected grimoire by Conner Clere (baa6e5e44102d9b5bf49122f02f16581fe70563b)
- From: Conner Clere <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [[SM-Commit] ] GIT changes to master z-rejected grimoire by Conner Clere (baa6e5e44102d9b5bf49122f02f16581fe70563b)
- Date: Wed, 6 Mar 2024 05:47:31 +0000
GIT changes to master z-rejected grimoire by Conner Clere
<xenanthropy AT sourcemage.org>:
ChangeLog | 3
z-graphics/opencl-amd/BUILD | 1
z-graphics/opencl-amd/DEPENDS | 7 ++
z-graphics/opencl-amd/DETAILS | 121
++++++++++++++++++++++++++++++++++++++++
z-graphics/opencl-amd/HISTORY | 3
z-graphics/opencl-amd/INSTALL | 3
z-graphics/opencl-amd/PRE_BUILD | 97 ++++++++++++++++++++++++++++++++
7 files changed, 235 insertions(+)
New commits:
commit baa6e5e44102d9b5bf49122f02f16581fe70563b
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>
z-graphics/opencl-amd: new spell
openCL AMD bundle
diff --git a/ChangeLog b/ChangeLog
index 30b2d0b..53ce951 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2024-03-05 Conner Clere <xenanthropy AT sourcemage.org>
+ * z-graphics/opencl-amd: new spell, openCL AMD bundle
+
2023-11-16 Conner Clere <xenanthropy AT sourcemage.org>
* z-games/vinegar: transfered from games grimoire
diff --git a/z-graphics/opencl-amd/BUILD b/z-graphics/opencl-amd/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/z-graphics/opencl-amd/BUILD
@@ -0,0 +1 @@
+true
diff --git a/z-graphics/opencl-amd/DEPENDS b/z-graphics/opencl-amd/DEPENDS
new file mode 100755
index 0000000..4074b0a
--- /dev/null
+++ b/z-graphics/opencl-amd/DEPENDS
@@ -0,0 +1,7 @@
+depends PKG-CONFIG &&
+depends libdrm &&
+depends numactl &&
+depends OPENCL-ICD &&
+
+suggest_depends clinfo '' '' 'Gives info on opencl devices' &&
+suggest_depends opencl-amd-dev '' '' 'OpenCL llvm ROCm compiler and more
(You probably want this)'
diff --git a/z-graphics/opencl-amd/DETAILS b/z-graphics/opencl-amd/DETAILS
new file mode 100755
index 0000000..58f4ce7
--- /dev/null
+++ b/z-graphics/opencl-amd/DETAILS
@@ -0,0 +1,121 @@
+ SPELL=opencl-amd
+ VERSION=6.0.2
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ SOURCE=libdrm-amdgpu-amdgpu1_2.4.116.60002-1718217.22.04_amd64.deb
+
SOURCE_URL[0]="https://repo.radeon.com/amdgpu/6.0.2/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.116.60002-1718217.22.04_amd64.deb"
+
SOURCE_HASH=sha256:3bda8ecb552e14ac35479335431da5674ed09e20988b0b5464d887fe7d020633
+ SOURCE2=rocm-core_6.0.2.60002-115~22.04_amd64.deb
+
SOURCE2_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-core/rocm-core_6.0.2.60002-115~22.04_amd64.deb"
+
SOURCE2_HASH=sha256:07b3554f96663b4a8895340706f62f67dfd4821b7f362096ad7531aad6b7fa2a
+ SOURCE3=comgr_2.6.0.60002-115~22.04_amd64.deb
+
SOURCE3_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/c/comgr/comgr_2.6.0.60002-115~22.04_amd64.deb"
+
SOURCE3_HASH=sha256:f721da9f619cb4d424918b4a1614f26fee523d0368ecf4083295135c3c81e6e0
+ SOURCE4=hipcc_1.0.0.60002-115~22.04_amd64.deb
+
SOURCE4_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hipcc/hipcc_1.0.0.60002-115~22.04_amd64.deb"
+
SOURCE4_HASH=sha256:3c764a8dcf43c5c4cbdf99b3aae8d9ea0a178aa1a71348355ddba92a1d6cb72d
+ SOURCE5=hip-dev_6.0.32831.60002-115~22.04_amd64.deb
+
SOURCE5_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hip-dev/hip-dev_6.0.32831.60002-115~22.04_amd64.deb"
+
SOURCE5_HASH=sha256:b4a27482b986d2d08cac4d61f4f920584f17a72578d576262c39cbc545040ee6
+ SOURCE6=hip-doc_6.0.32831.60002-115~22.04_amd64.deb
+
SOURCE6_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hip-doc/hip-doc_6.0.32831.60002-115~22.04_amd64.deb"
+
SOURCE6_HASH=sha256:b6721341b523085cc2015e1450bbc62962a81ba00723cf142860627a99542560
+ SOURCE7=hip-samples_6.0.32831.60002-115~22.04_amd64.deb
+
SOURCE7_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hip-samples/hip-samples_6.0.32831.60002-115~22.04_amd64.deb"
+
SOURCE7_HASH=sha256:d6f152593bf27e69d5022497c5a978af5e525caf6a99fc39547cad42c4166e32
+ SOURCE8=hsakmt-roct-dev_20231016.2.245.60002-115~22.04_amd64.deb
+
SOURCE8_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20231016.2.245.60002-115~22.04_amd64.deb"
+
SOURCE8_HASH=sha256:97837eeceb36d2562bc3b6e54c2baf0d2c2d6ce9538fe77ecea19ba3fa2417c9
+ SOURCE9=hsa-rocr_1.12.0.60002-115~22.04_amd64.deb
+
SOURCE9_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hsa-rocr/hsa-rocr_1.12.0.60002-115~22.04_amd64.deb"
+
SOURCE9_HASH=sha256:2ee9ded0145177ca2a6ad627a4782e9d7ce357d0f1106d0a0250cfd48ec8144a
+ SOURCE10=hsa-rocr-dev_1.12.0.60002-115~22.04_amd64.deb
+
SOURCE10_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.12.0.60002-115~22.04_amd64.deb"
+
SOURCE10_HASH=sha256:d83dfe2a5ba3b021f5a85604d204b7370d8e4229401e40c2ccc9f4124d38a8ba
+ SOURCE11=rocminfo_1.0.0.60002-115~22.04_amd64.deb
+
SOURCE11_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocminfo/rocminfo_1.0.0.60002-115~22.04_amd64.deb"
+
SOURCE11_HASH=sha256:243f69316827ab1a754e4aeae0e195212cb2780eb195dfddd01384223ea8245e
+ SOURCE12=hip-runtime-amd_6.0.32831.60002-115~22.04_amd64.deb
+
SOURCE12_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.0.32831.60002-115~22.04_amd64.deb"
+
SOURCE12_HASH=sha256:df70624a36774764fa28af670787ffb013dd1f2dbd19ef193aaccde645a475dc
+ SOURCE13=rocm-device-libs_1.0.0.60002-115~22.04_amd64.deb
+
SOURCE13_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60002-115~22.04_amd64.deb"
+
SOURCE13_HASH=sha256:02feb9e107c7b3c567e73bab6671c3c67c94376cb1e93dd598f069e961f6ea81
+ SOURCE14=rocm-language-runtime_6.0.2.60002-115~22.04_amd64.deb
+
SOURCE14_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.0.2.60002-115~22.04_amd64.deb"
+
SOURCE14_HASH=sha256:0b711435b3880b24e6963270be344a6367619bcd7f087f5fc119b9f8bc00cab6
+ SOURCE15=rocm-hip-runtime_6.0.2.60002-115~22.04_amd64.deb
+
SOURCE15_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.0.2.60002-115~22.04_amd64.deb"
+
SOURCE15_HASH=sha256:fe6fb876feb76b328d60c3aca240312257d0fb31add27a915f3927b569f89eed
+ SOURCE16=rocm-ocl-icd_2.0.0.60002-115~22.04_amd64.deb
+
SOURCE16_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-ocl-icd/rocm-ocl-icd_2.0.0.60002-115~22.04_amd64.deb"
+
SOURCE16_HASH=sha256:560682529dc7ae5de250ba9544455ec925ad4177052d0bbaa04901916edc83d0
+ SOURCE17=rocm-opencl_2.0.0.60002-115~22.04_amd64.deb
+
SOURCE17_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60002-115~22.04_amd64.deb"
+
SOURCE17_HASH=sha256:9d6db26045967134a4ff78b4f21b12fbc220108dfe3b5ceac9727e716cdda01a
+ SOURCE18=rocm-opencl-dev_2.0.0.60002-115~22.04_amd64.deb
+
SOURCE18_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60002-115~22.04_amd64.deb"
+
SOURCE18_HASH=sha256:e0516b2a0fa53e19a2bc0003b122b29b87419a860aab6485de702bbd5153d717
+ SOURCE19=rocm-opencl-runtime_6.0.2.60002-115~22.04_amd64.deb
+
SOURCE19_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.0.2.60002-115~22.04_amd64.deb"
+
SOURCE19_HASH=sha256:3e7ca7e7e6b2000e6d3a3389a2d823f2a2e5c005a989d75c16939ca9a5b481dd
+ SOURCE20=rocm-clang-ocl_0.5.0.60002-115~22.04_amd64.deb
+
SOURCE20_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.5.0.60002-115~22.04_amd64.deb"
+
SOURCE20_HASH=sha256:02eeba4b20ebf0465ae0b69d0cc57d46ad6b4141e6449abbf3748a82535ee73a
+ SOURCE21=openmp-extras-runtime_17.60.0.60002-115~22.04_amd64.deb
+
SOURCE21_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_17.60.0.60002-115~22.04_amd64.deb"
+
SOURCE21_HASH=sha256:ec27bafe4f013fb7b5fa0de2598b2eba2904622738b269ca2aaf944413f81c3d
+ SOURCE22=rocm-smi-lib_6.0.0.60002-115~22.04_amd64.deb
+
SOURCE22_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-smi-lib/rocm-smi-lib_6.0.0.60002-115~22.04_amd64.deb"
+
SOURCE22_HASH=sha256:3fbfab7db3d2031b069695b06886d288067cdf6fbdf03e9e335d4f562ca0610c
+ SOURCE23=rocm-cmake_0.11.0.60002-115~22.04_amd64.deb
+
SOURCE23_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-cmake/rocm-cmake_0.11.0.60002-115~22.04_amd64.deb"
+
SOURCE23_HASH=sha256:fb6d5323283488edd582a745ac09570d5063c972b186bf3f55f4f783bd82babd
+ SOURCE24=rocm-dbgapi_0.71.0.60002-115~22.04_amd64.deb
+
SOURCE24_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.71.0.60002-115~22.04_amd64.deb"
+
SOURCE24_HASH=sha256:8b0849bc504332d7ae7229a850fa5bcc894051b49037606c460e7a584e931909
+ SOURCE25=rocm-debug-agent_2.0.3.60002-115~22.04_amd64.deb
+
SOURCE25_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60002-115~22.04_amd64.deb"
+
SOURCE25_HASH=sha256:d4cacbfd2107b3f266f7620d98ab5672e752f13c8f4ae3f86fc27f564baf44b3
+ SOURCE26=rocm-gdb_13.2.60002-115~22.04_amd64.deb
+
SOURCE26_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-gdb/rocm-gdb_13.2.60002-115~22.04_amd64.deb"
+
SOURCE26_HASH=sha256:5cbf625ab7e6439161808206055652c244ebc98a18d914aba400d6b5f4d56fac
+ SOURCE27=rocm-utils_6.0.2.60002-115~22.04_amd64.deb
+
SOURCE27_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-utils/rocm-utils_6.0.2.60002-115~22.04_amd64.deb"
+
SOURCE27_HASH=sha256:67d429714fa77f8171fc42a6b4e774e5315c245c9ebba4658cd9104b5f31477a
+ SOURCE28=rocprofiler_2.0.60002.60002-115~22.04_amd64.deb
+
SOURCE28_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocprofiler/rocprofiler_2.0.60002.60002-115~22.04_amd64.deb"
+
SOURCE28_HASH=sha256:7490bd12bf0ff7b89c58bb43124c15f383462f62597f63458388ffaffbded06b
+ SOURCE29=rocprofiler-dev_2.0.60002.60002-115~22.04_amd64.deb
+
SOURCE29_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60002.60002-115~22.04_amd64.deb"
+
SOURCE29_HASH=sha256:86cfb7aa69e999f872925bda388597f8ce91e43231fdc3ad66944647dcb5501b
+ SOURCE30=rocprofiler-plugins_2.0.60002.60002-115~22.04_amd64.deb
+
SOURCE30_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60002.60002-115~22.04_amd64.deb"
+
SOURCE30_HASH=sha256:adf67157fca383a2326ce8b2c150bf544daf78490610c0a61b48305bf1264477
+ SOURCE31=roctracer_4.1.60002.60002-115~22.04_amd64.deb
+
SOURCE31_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/roctracer/roctracer_4.1.60002.60002-115~22.04_amd64.deb"
+
SOURCE31_HASH=sha256:69e1453cee6911edf95a7d6bf04df796b32cf1e10e722370889c0adce8883881
+ SOURCE32=roctracer-dev_4.1.60002.60002-115~22.04_amd64.deb
+
SOURCE32_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/roctracer-dev/roctracer-dev_4.1.60002.60002-115~22.04_amd64.deb"
+
SOURCE32_HASH=sha256:a247f5bef6c494efdfae9da67e9883fb1f28ad3449f313c757f8752529cdca10
+ SOURCE33=rocm-dev_6.0.2.60002-115~22.04_amd64.deb
+
SOURCE33_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/r/rocm-dev/rocm-dev_6.0.2.60002-115~22.04_amd64.deb"
+
SOURCE33_HASH=sha256:5c4dc6dbcbfaeb5c867a5489a754c5d48c215eead319d482001bd307d7eacfdb
+ SOURCE34=hsa-amd-aqlprofile_1.0.0.60002.60002-115~22.04_amd64.deb
+
SOURCE34_URL[0]="https://repo.radeon.com/rocm/apt/6.0.2/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60002.60002-115~22.04_amd64.deb"
+
SOURCE34_HASH=sha256:d1778a50a6a87f9a52312fd480bc2e9810c1620c87fe909ec7d8d58942843576
+ SOURCE35=opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb
+
SOURCE35_URL[0]="https://repo.radeon.com/amdgpu/5.7.1/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb"
+
SOURCE35_HASH=sha256:194bf41a21b40f8305f532818a5d2491dca0f6f0750b3d2b538c54f57dbb2dfd
+ LICENSE[0]=CUSTOM
+ WEB_SITE=https://www.amd.com
+ ENTERED=20240305
+ ARCHIVE=off
+ REJECT="collection of binaries, also not 100% open-source"
+ KEYWORDS="utils graphics rocm amd ai"
+ SHORT="ROCr OpenCL stack"
+cat << EOF
+ROCr OpenCL stack, supports Vega 10 and later
+products - Legacy OpenCL stack (Proprietary), supports legacy
+products older than Vega 10 - This package is intended to work
+along with the free amdgpu stack.
+EOF
diff --git a/z-graphics/opencl-amd/HISTORY b/z-graphics/opencl-amd/HISTORY
new file mode 100644
index 0000000..cd05628
--- /dev/null
+++ b/z-graphics/opencl-amd/HISTORY
@@ -0,0 +1,3 @@
+2024-03-05 Conner Clere <xenanthropy AT sourcemage.org>
+ * BUILD, INSTALL, PRE_BUILD, DEPENDS, DETAILS: version 6.0.2, new
spell
+
diff --git a/z-graphics/opencl-amd/INSTALL b/z-graphics/opencl-amd/INSTALL
new file mode 100755
index 0000000..6992ac7
--- /dev/null
+++ b/z-graphics/opencl-amd/INSTALL
@@ -0,0 +1,3 @@
+cd "${SOURCE_DIRECTORY}/installdir" &&
+find . | cpio --pass-through --make-directories --unconditional --verbose \
+ "${INSTALL_ROOT}/"
diff --git a/z-graphics/opencl-amd/PRE_BUILD b/z-graphics/opencl-amd/PRE_BUILD
new file mode 100755
index 0000000..2ae7052
--- /dev/null
+++ b/z-graphics/opencl-amd/PRE_BUILD
@@ -0,0 +1,97 @@
+amdgpu_repo='https://repo.radeon.com/amdgpu/6.0.2/ubuntu'
+rocm_repo='https://repo.radeon.com/rocm/apt/6.0.2'
+opencl_lib='opt/rocm-6.0.2/opencl/lib'
+rocm_lib='opt/rocm-6.0.2/lib'
+hip_lib='opt/rocm-6.0.2/hip/lib/'
+amdgpu="opt/amdgpu/lib/x86_64-linux-gnu"
+amdgpu_pro="opt/amdgpu-pro/lib/x86_64-linux-gnu/"
+
+mk_source_dir "${SOURCE_DIRECTORY}" &&
+cd "${SOURCE_DIRECTORY}" &&
+verify_file '' &&
+
+exz() {
+ ar x $1 data.tar.xz &&
+ tar xJf data.tar.xz &&
+ rm data.tar.xz
+}
+
+egz() {
+ ar x $1 data.tar.gz &&
+ tar xfx data.tar.gz &&
+ rm data.tar.gz
+}
+
+srcdir="${INSTALL_ROOT}/var/spool/sorcery" &&
+pkgdir="${SOURCE_DIRECTORY}/installdir" &&
+
+egz "${srcdir}/rocm-core_6.0.2.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/comgr_2.6.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hipcc_1.0.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hip-dev_6.0.32831.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hip-doc_6.0.32831.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hip-samples_6.0.32831.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hsakmt-roct-dev_20231016.2.245.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hsa-rocr_1.12.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hsa-rocr-dev_1.12.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocminfo_1.0.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hip-runtime-amd_6.0.32831.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-device-libs_1.0.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-language-runtime_6.0.2.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-hip-runtime_6.0.2.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-ocl-icd_2.0.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-opencl_2.0.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-opencl-dev_2.0.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-opencl-runtime_6.0.2.60002-115~22.04_amd64.deb" &&
+exz "${srcdir}/rocm-clang-ocl_0.5.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-smi-lib_6.0.0.60002-115~22.04_amd64.deb" &&
+exz "${srcdir}/rocm-cmake_0.11.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-dbgapi_0.71.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-debug-agent_2.0.3.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-utils_6.0.2.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocprofiler_2.0.60002.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocprofiler-dev_2.0.60002.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocprofiler-plugins_2.0.60002.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/roctracer_4.1.60002.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/roctracer-dev_4.1.60002.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-dev_6.0.2.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/hsa-amd-aqlprofile_1.0.0.60002.60002-115~22.04_amd64.deb" &&
+exz "${srcdir}/libdrm-amdgpu-amdgpu1_2.4.116.60002-1718217.22.04_amd64.deb"
&&
+egz "${srcdir}/openmp-extras-runtime_17.60.0.60002-115~22.04_amd64.deb" &&
+egz "${srcdir}/rocm-gdb_13.2.60002-115~22.04_amd64.deb" &&
+exz "${srcdir}/opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb" &&
+
+mkdir "${SOURCE_DIRECTORY}/installdir" &&
+
+cd "${SOURCE_DIRECTORY}/${amdgpu_pro}" &&
+sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so &&
+
+cd "${SOURCE_DIRECTORY}/${amdgpu}" &&
+rm "libdrm_amdgpu.so.1" &&
+mv "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpo.so.1.0.0" &&
+ln -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1" &&
+
+# legacy
+mkdir -p "${pkgdir}/usr/lib" &&
+mv "${SOURCE_DIRECTORY}/${amdgpu_pro}/libamdocl-orca64.so"
"${pkgdir}/usr/lib/" &&
+mv "${SOURCE_DIRECTORY}/${amdgpu}/libdrm_amdgpo.so.1.0.0"
"${pkgdir}/usr/lib/" &&
+mv "${SOURCE_DIRECTORY}/${amdgpu}/libdrm_amdgpo.so.1" "${pkgdir}/usr/lib/" &&
+
+mv "${SOURCE_DIRECTORY}/opt/" "${pkgdir}/" &&
+ln -s "${INSTALL_ROOT}/opt/rocm-6.0.2" "${pkgdir}/opt/rocm" &&
+
+mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm" &&
+cd "${pkgdir}/opt/amdgpu/share/libdrm" &&
+ln -s "${INSTALL_ROOT}/usr/share/libdrm/amdgpu.ids" amdgpu.ids &&
+
+mkdir -p "${pkgdir}/etc/OpenCL/vendors" &&
+echo libamdocl64.so > "${pkgdir}/etc/OpenCL/vendors/amdocl64.icd" &&
+echo libamdocl-orca64.so > "${pkgdir}/etc/OpenCL/vendors/amdocl-orca64.icd"
&&
+
+mkdir -p "${pkgdir}/etc/ld.so.conf.d" &&
+echo "${INSTALL_ROOT}/opt/rocm-6.0.2/opencl/lib" >
"${pkgdir}/etc/ld.so.conf.d/opencl-amd.conf" &&
+echo "${INSTALL_ROOT}/opt/rocm-6.0.2/lib" >>
"$pkgdir/etc/ld.so.conf.d/opencl-amd.conf" &&
+echo "${INSTALL_ROOT}/opt/rocm-6.0.2/hip/lib" >>
"$pkgdir/etc/ld.so.conf.d/opencl-amd.conf" &&
+
+mkdir -p "${pkgdir}/etc/profile.d" &&
+echo export
PATH="\${PATH}:${INSTALL_ROOT}/opt/rocm-6.0.2/bin:${INSTALL_ROOT}/opt/rocm-6.0.2/hip/bin"
> "$pkgdir/etc/profile.d/opencl-amd.sh"
- [[SM-Commit] ] GIT changes to master z-rejected grimoire by Conner Clere (baa6e5e44102d9b5bf49122f02f16581fe70563b), Conner Clere, 03/06/2024
Archive powered by MHonArc 2.6.24.