Skip to content

Add opencl support without the older mess #2180

Merged
merged 2 commits into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions OpenCL-Headers.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env beesh

# BEE_VERSION OpenCL-Headers-2021.06.30-0

# SRCURL[0]="https://github.com/KhronosGroup/OpenCL-Headers/archive/refs/tags/v${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/22007c68beb0b3c749df6e48e0498762/OpenCL-Headers-2021.06.30.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

## by default this may be 'make install DESTDIR="${D}"'
9 changes: 1 addition & 8 deletions nvidia-mxlinks.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env beesh

# BEE_VERSION nvidia-mxlinks-0.12-0
# BEE_VERSION nvidia-mxlinks-0.14-0

EXCLUDE=("^/usr/lib/(X11|xorg)(|/modules(|/drivers))$")

Expand All @@ -9,19 +9,13 @@ mee_install() {

NVLIBS=(
"libnvidia-ml.so.1"
"libnvidia-wfb.so.1"
"libnvidia-cfg.so.1"
"libnvidia-opencl.so.1"
"libnvidia-encode.so.1"
"libnvidia-ptxjitcompiler.so.1"
"libvdpau_nvidia.so.1"
"libvdpau_trace.so.1"
"libnvcuvid.so.1"
"libcuda.so.1"
"libOpenCL.so.1"
"libGLcore.1"
"libnvidia-tls.so.1"
"libXvMCNVIDIA_dynamic.so.1"
"libEGL_nvidia.so.0"
"libGLESv1_CM_nvidia.so.1"
"libGLESv2_nvidia.so.2"
Expand All @@ -31,7 +25,6 @@ mee_install() {
"libnvidia-ifr.so.1"
"libnvidia-opticalflow.so.1"
"libnvoptix.so.1"
"libnvidia-opencl.so.1"
)

for i in ${NVLIBS[@]} ; do
Expand Down
39 changes: 39 additions & 0 deletions ocl-icd.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env beesh

# BEE_VERSION ocl-icd-2.3.1-0

# SRCURL[0]="https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/4eafce4f0212691be5685597e8196564/ocl-icd-2.3.1.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_patch_post() { # do it here, making buildtype detectable
cd ${S}
./bootstrap
}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

## by default this may be 'make install DESTDIR="${D}"'