Skip to content

Update LLVM, clang and Mesa 3D #1147

Merged
merged 8 commits into from
Jun 27, 2019
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
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