Skip to content

Commit

Permalink
OpenCL: Add headers and loader for drivers
Browse files Browse the repository at this point in the history
Minimum required to build and run OpenCL Apps
  • Loading branch information
thomas committed Aug 16, 2021
1 parent f8c6a09 commit 2362c95
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
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}"'
40 changes: 40 additions & 0 deletions ocl-icd.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env beesh

# BEE_VERSION ocl-icd-2.3.0-0

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

# PATCHURL+=()
PATCHURL[0]="https://beehive.molgen.mpg.de/a2de5a61942a5360560f415cfe0cbd61/0001-Updated-to-support-latest-Khronos-headers.patch.gz"

# 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}"'

0 comments on commit 2362c95

Please sign in to comment.