Skip to content

Commit

Permalink
Merge pull request #1147 from mariux64/update-llvm-clang-and-mesa
Browse files Browse the repository at this point in the history
Update LLVM, clang and Mesa 3D
  • Loading branch information
pmenzel authored Jun 27, 2019
2 parents 4ff2878 + 9c51a48 commit 8fa7c6e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
2 changes: 1 addition & 1 deletion clang.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION clang-7.0.1-0
# BEE_VERSION clang-8.0.0-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
20 changes: 12 additions & 8 deletions llvm.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION llvm-7.0.1-0
# BEE_VERSION llvm-8.0.0-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 @@ -58,17 +58,21 @@ mee_configure() {
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU;BPF" \
-DLLVM_INSTALL_UTILS=ON
-DLLVM_BUILD_TESTS=ON \
-DLLVM_INSTALL_UTILS=ON \
-Wno-dev \
-G Ninja
}

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

#mee_install() {
# bee_install
#}
mee_install() {
DESTDIR=${D} start_cmd ninja -C ${B} install "${@}"
}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
Expand Down
20 changes: 7 additions & 13 deletions mesalib.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION mesalib-19.0.4-0
# BEE_VERSION mesalib-19.1.1-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 @@ -54,18 +54,12 @@ SRCURL[0]="https://mesa.freedesktop.org/archive/mesa-${PKGVERSION}.tar.xz"
#}

mee_configure() {
start_cmd ${S}/autogen.sh ${DEFCONFIG} \
--enable-autotools \
--enable-gles1 \
--enable-gles2 \
--enable-osmesa \
--enable-va \
--enable-vdpau \
--enable-xa \
--enable-glx-tls \
--with-platforms="drm,x11,wayland" \
--with-gallium-drivers="nouveau,r600,radeonsi,svga,swrast" \
--with-vulkan-drivers="radeon"
bee_configure \
-Dbuildtype=release \
-Dgallium-drivers="nouveau,r600,radeonsi,svga,swrast" \
-Dvulkan-drivers="amd,intel" \
-Dosmesa=gallium \
-Dvalgrind=false
}

#mee_build() {
Expand Down

0 comments on commit 8fa7c6e

Please sign in to comment.