Skip to content

Update Mesa to 21.1.6 and enable OpenCL #2173

Merged
merged 4 commits into from
Aug 9, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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