Skip to content

Commit

Permalink
Merge pull request #2173 from mariux64/update-mesa-to-21.1.6-and-enab…
Browse files Browse the repository at this point in the history
…le-opencl

Update Mesa to 21.1.6 and enable OpenCL
  • Loading branch information
pmenzel authored Aug 9, 2021
2 parents d680f20 + 8f5b450 commit af24e09
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
32 changes: 32 additions & 0 deletions libclc.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/env beesh

# BEE_VERSION libclc-12.0.1-0

SRCURL[0]="https://github.com/llvm/llvm-project/releases/download/llvmorg-${PKGVERSION}/libclc-${PKGVERSION}.src.tar.xz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

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

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

mee_configure() {
bee_configure \
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
}

#mee_build() {
# start_cmd ninja -v -C ${B} ${BEE_NINJAFLAGS} "${@}"
#}

#mee_install() {
# DESTDIR=${D} start_cmd ninja -C ${B} install "${@}"
#}
3 changes: 2 additions & 1 deletion mesalib.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION mesalib-21.1.5-0
# BEE_VERSION mesalib-21.1.6-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand Down Expand Up @@ -57,6 +57,7 @@ mee_configure() {
bee_configure \
-Dbuildtype=release \
-Dgallium-drivers="nouveau,r600,radeonsi,svga,swrast,swr" \
-Dgallium-opencl="icd" \
-Dvulkan-drivers="amd,intel" \
-Dosmesa=true \
-Dvalgrind=false \
Expand Down

0 comments on commit af24e09

Please sign in to comment.